/**
 * Auth (login / register) – Buz cam: buz mavisi → beyaz → siyahımsı gradient,
 * form/görsel bağımsız çerçeve, cam input/buton/checkbox, görsel üzeri kutucuklar
 */

.auth-wrap {
    --auth-text: #222;
    --auth-primary: #3971CB;
    --auth-primary-light: #2EABF3;
    --auth-glass-bg: rgba(255, 255, 255, 0.25);
    --auth-glass-border: rgba(255, 255, 255, 0.4);
    --auth-input-border: rgba(34, 34, 34, 0.12);
}

.auth-wrap {
    font-family: var(--font_family2);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #a8d4ec 0%, #d8ecf5 25%, #f0f8fc 45%, #fff 60%, #e8ecf0 80%, #2a2d35 100%);
}

.auth-main {
    flex: 1;
    padding: 24px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 100vh;
}

.auth-box {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 1140px;
    min-height: calc(100vh - 48px);
    overflow: visible;
}

/* Sol: Görsel – formdan bağımsız kendi çerçevesi, buz cam */
.auth-visual-frame {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--auth-glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.auth-visual {
    width: 100%;
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    background: #b8d4e8;
    position: relative;
}

.auth-visual img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.auth-visual-brand {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
}

.auth-visual-brand a {
    display: block;
}

.auth-visual-brand img {
    max-width: 100px;
    height: auto;
    min-height: 0;
}

/* Görsel üzeri cam kutucuklar – Eğitim / Kayıt mesajları */
.auth-visual-cards {
    position: absolute;
    z-index: 2;
    display: flex;
    gap: 12px;
}

.auth-visual-cards:not(.auth-visual-cards--register) {
    top: 32%;
    left: 16px;
    right: 16px;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
}

.auth-visual-cards:not(.auth-visual-cards--register) .auth-visual-card--1 {
    margin-right: auto;
}

.auth-visual-cards:not(.auth-visual-cards--register) .auth-visual-card--2 {
    margin-left: auto;
}

.auth-visual-cards--register {
    top: 32%;
    left: 16px;
    right: 16px;
    flex-direction: row;
    justify-content: flex-end;
    align-items: flex-start;
}

.auth-visual-card {
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 200px;
}


.auth-visual-card-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--auth-primary-light);
    flex-shrink: 0;
}

.auth-visual-card-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    color: var(--auth-primary);
}

.auth-visual-card-icon--cap {
    width: 28px;
    height: 28px;
}

.auth-visual-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.auth-visual-card-sub {
    font-size: 0.8125rem;
    color: #444;
    line-height: 1.35;
}

.auth-visual-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    background: linear-gradient(to top, rgba(34, 34, 34, 0.85), transparent);
    color: #fff;
}

.auth-visual-caption-title {
    margin: 0 0 8px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.auth-visual-caption-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.95);
}

/* Sağ: Form – buz cam panel, formla görsel bağlantısız */
.auth-form-frame {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    border-radius: 24px;
    overflow: auto;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--auth-glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.auth-form-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 28px 36px 32px;
}

.auth-page--login .auth-form-panel {
    justify-content: center;
}

.auth-mobile-logo {
    display: none !important;
    flex-shrink: 0;
    text-align: center;
    margin-bottom: 20px;
}

.auth-mobile-logo a {
    display: inline-block;
}

.auth-mobile-logo img {
    max-width: 140px;
    max-height: 48px;
    height: auto;
    object-fit: contain;
}

.auth-form-inner {
    flex: 1;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.auth-form-inner--scroll {
    max-height: none;
    overflow: visible;
}

.auth-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--auth-text);
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.auth-form-title--register {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--auth-primary);
    background: linear-gradient(135deg, var(--auth-primary) 0%, var(--auth-primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.auth-form-subtitle {
    font-size: 0.875rem;
    color: #666;
    margin: 0 0 20px 0;
}

.auth-form {
    margin: 0;
}

.auth-field {
    margin-bottom: 10px;
}

.auth-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--auth-text);
    margin-bottom: 4px;
}

.auth-input {
    width: 100%;
    padding: 12px 18px;
    border: 1px solid rgba(46, 171, 243, 0.45);
    border-radius: 999px;
    font-size: 0.9375rem;
    color: var(--auth-text);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: var(--font_family2);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    box-sizing: border-box;
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-input:focus {
    border-color: var(--auth-primary-light);
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 0 2px rgba(46, 171, 243, 0.25);
    outline: none;
}

.auth-input.is-invalid {
    border: 1px solid rgba(220, 53, 69, 0.7);
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.15);
}

.auth-input-wrap {
    position: relative;
}

.auth-input-wrap .auth-input {
    padding-right: 48px;
    position: relative;
    z-index: 1;
}

.auth-input-wrap--icon .auth-input {
    padding-left: 46px;
}

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #64748b;
    pointer-events: none;
    z-index: 3;
    opacity: 1;
}

.auth-input-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.8;
}

.auth-input-wrap--password .auth-input-icon {
    color: var(--auth-primary);
}

.auth-toggle-pw {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-toggle-pw:hover {
    color: var(--auth-primary);
}

.auth-pw-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
}

.auth-pw-icon svg {
    width: 100%;
    height: 100%;
}

.auth-error {
    display: block;
    margin-top: 6px;
    font-size: 0.8125rem;
    color: #dc3545;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 16px 0;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--auth-text);
}

.auth-check input {
    position: absolute;
    opacity: 0;
    width: 22px;
    height: 22px;
    margin: 0;
    cursor: pointer;
}

.auth-checkbox {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 8px;
    border: 2px solid rgba(46, 171, 243, 0.5);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.auth-check:hover .auth-checkbox {
    border-color: rgba(46, 171, 243, 0.75);
}

.auth-check input:checked + .auth-checkbox {
    background: linear-gradient(135deg, var(--auth-primary-light), var(--auth-primary));
    border-color: var(--auth-primary);
    border-width: 2px;
    box-shadow: 0 2px 8px rgba(57, 113, 203, 0.4);
}

.auth-check input:checked + .auth-checkbox::after {
    content: "";
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 3px;
}

.auth-link {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 500;
}

.auth-link:hover {
    color: var(--auth-primary-light);
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--auth-primary-light) 0%, var(--auth-primary) 100%);
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font_family2);
    transition: box-shadow 0.2s, filter 0.2s;
    box-shadow: 0 4px 16px rgba(57, 113, 203, 0.35);
}

.auth-btn:hover:not(:disabled) {
    filter: brightness(1.08);
    box-shadow: 0 6px 20px rgba(57, 113, 203, 0.45);
}

.auth-btn.disable_btn {
    opacity: 0.6;
    cursor: not-allowed;
}

.auth-divider {
    text-align: center;
    margin: 16px 0 12px 0;
    position: relative;
    font-size: 0.8125rem;
    color: #666;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: var(--auth-input-border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
    color: var(--auth-text);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    font-family: var(--font_family2);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.auth-social-btn:hover {
    border-color: rgba(46, 171, 243, 0.5);
    background: rgba(255, 255, 255, 0.75);
}

.auth-social-google {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    color: #333;
}

.auth-social-google:hover {
    background: #f8f9fa;
    border-color: rgba(46, 171, 243, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.auth-social-fb {
    background: #3b5998;
    border-color: #3b5998;
    color: #fff;
}

.auth-social-fb:hover {
    background: #334d82;
    color: #fff;
}

.auth-footer-text {
    margin: 22px 0 0 0;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--auth-text);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(46, 171, 243, 0.35);
    border-radius: 14px;
    text-align: center;
}

.auth-footer-text a {
    color: var(--auth-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
}

.auth-footer-text a:hover {
    color: var(--auth-primary-light);
    text-decoration: underline;
}

.auth-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px 14px;
}

@media (min-width: 640px) {
    .auth-fields {
        grid-template-columns: repeat(2, 1fr);
    }
}

.auth-field.auth-field--full,
.auth-col-full {
    grid-column: 1 / -1;
}

.auth-col-half {
    grid-column: span 1;
}

#formData {
    display: none;
}

.auth-radio-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.auth-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--auth-text);
}

.auth-radio input {
    width: 18px;
    height: 18px;
    accent-color: var(--auth-primary);
}

.auth-terms .auth-check span:last-child {
    font-size: 0.875rem;
    line-height: 1.5;
}

.auth-terms .auth-check a {
    color: var(--auth-primary);
    text-decoration: none;
}

.auth-terms .auth-check a:hover {
    text-decoration: underline;
}

.auth-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

@media (max-width: 768px) {
    .auth-main {
        padding: 16px 12px;
        align-items: flex-start;
    }

    .auth-box {
        flex-direction: column;
        min-height: auto;
    }

    .auth-visual-frame {
        display: none;
    }

    .auth-mobile-logo {
        display: block !important;
    }

    .auth-form-frame {
        width: 100%;
    }

    .auth-form-panel {
        padding: 24px 24px 28px;
    }

    .auth-page--login .auth-form-panel {
        justify-content: center;
        align-items: center;
    }

    .auth-page--login .auth-form-panel > * {
        width: 100%;
        max-width: 100%;
    }

    .auth-form-inner {
        padding: 0;
    }

    .auth-form-inner--scroll {
        max-height: none;
        overflow-y: visible;
    }

    .auth-form-title {
        font-size: 1.35rem;
    }

    .auth-form-title--register {
        font-size: 1.5rem;
    }

    .auth-fields {
        grid-template-columns: 1fr;
        gap: 10px 0;
    }

    .auth-field.auth-field--full,
    .auth-col-half,
    .auth-col-full {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .auth-form-inner {
        padding: 16px 20px 28px 20px;
    }

    .auth-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =======================================
   Auth palette sync with global dark UI
   ======================================= */
.auth-theme-shell .auth-wrap {
    --auth-text: #e7efff;
    --auth-primary: #7b5cff;
    --auth-primary-light: #3a8bff;
    --auth-glass-bg: rgba(11, 18, 40, 0.74);
    --auth-glass-border: rgba(139, 158, 255, 0.28);
    --auth-input-border: rgba(139, 158, 255, 0.24);
    background: transparent;
}

.auth-theme-shell .auth-visual-frame,
.auth-theme-shell .auth-form-frame {
    border: 1px solid var(--auth-glass-border);
    background: var(--auth-glass-bg);
    box-shadow: 0 18px 46px rgba(4, 8, 20, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-theme-shell .auth-visual-brand {
    background: rgba(10, 16, 36, 0.76);
    border-color: var(--auth-glass-border);
}

.auth-theme-shell .auth-visual-card {
    background: rgba(10, 16, 36, 0.72);
    border-color: var(--auth-glass-border);
}

.auth-theme-shell .auth-visual-card-title {
    color: #edf2ff;
}

.auth-theme-shell .auth-visual-card-sub {
    color: #c5d2f6;
}

.auth-theme-shell .auth-heading,
.auth-theme-shell .auth-title,
.auth-theme-shell .auth-form-title,
.auth-theme-shell h1,
.auth-theme-shell h2,
.auth-theme-shell h3,
.auth-theme-shell h4 {
    color: #f4f7ff !important;
}

.auth-theme-shell p,
.auth-theme-shell .auth-subtitle,
.auth-theme-shell .auth-note,
.auth-theme-shell .auth-links,
.auth-theme-shell .auth-links a,
.auth-theme-shell label {
    color: #bcc7ea !important;
}

.auth-theme-shell input,
.auth-theme-shell textarea,
.auth-theme-shell select,
.auth-theme-shell .form-control {
    background: rgba(11, 18, 40, 0.9) !important;
    border: 1px solid rgba(139, 158, 255, 0.24) !important;
    color: #e9f0ff !important;
}

.auth-theme-shell input::placeholder,
.auth-theme-shell textarea::placeholder {
    color: #98a7d8 !important;
}

.auth-theme-shell .theme_btn,
.auth-theme-shell .btn,
.auth-theme-shell button[type="submit"] {
    border: 1px solid rgba(154, 173, 255, 0.24);
    background: linear-gradient(135deg, #7b5cff 0%, #3a8bff 100%);
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(10, 18, 42, 0.36);
}

/* Auth redesign v2 */
.auth-theme-shell .auth-wrap {
    --auth-primary: #8a5dff;
    --auth-primary-light: #6f48ea;
}

.auth-theme-shell .auth-main {
    padding: 28px 20px;
}

.auth-theme-shell .auth-box {
    max-width: 1240px;
    gap: 24px;
}

.auth-theme-shell .auth-visual-frame,
.auth-theme-shell .auth-form-frame {
    border-radius: 28px;
    border-color: rgba(159, 137, 246, 0.34);
    box-shadow: 0 24px 54px rgba(4, 8, 24, 0.58), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.auth-theme-shell .auth-visual-card {
    border-radius: 18px;
    background: rgba(13, 18, 40, 0.74);
}

.auth-theme-shell .auth-form-title {
    font-size: clamp(26px, 2.6vw, 34px);
    line-height: 1.18;
    font-weight: 800;
}

.auth-theme-shell .auth-label {
    color: #d8e3ff;
    font-weight: 600;
}

.auth-theme-shell .auth-input,
.auth-theme-shell .form-control {
    border-radius: 14px;
    border-color: rgba(165, 140, 250, 0.42) !important;
}

.auth-theme-shell .auth-input:focus {
    border-color: rgba(182, 160, 255, 0.86) !important;
    box-shadow: 0 0 0 3px rgba(129, 92, 248, 0.2);
}

.auth-theme-shell .auth-btn {
    border-radius: 14px;
    background: linear-gradient(135deg, #946cff 0%, #744bec 100%);
    border-color: rgba(178, 152, 255, 0.76);
    box-shadow: 0 12px 24px rgba(57, 33, 136, 0.42);
}

.auth-theme-shell .auth-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #9d77ff 0%, #7f56f2 100%);
}

.auth-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(161, 137, 248, 0.3);
    background: rgba(18, 24, 53, 0.62);
    color: #c8d6f7;
    font-size: 13px;
    line-height: 1.6;
}

.auth-status {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.auth-status--success {
    border: 1px solid rgba(69, 195, 127, 0.45);
    background: rgba(41, 123, 86, 0.18);
    color: #bbffd6;
}

.auth-status--error {
    border: 1px solid rgba(255, 128, 128, 0.46);
    background: rgba(151, 50, 50, 0.2);
    color: #ffd4d4;
}

@media (max-width: 768px) {
    .auth-theme-shell .auth-main {
        padding: 14px 10px;
    }

    .auth-theme-shell .auth-form-frame {
        border-radius: 20px;
    }

    .auth-theme-shell .auth-form-panel {
        padding: 22px 16px 24px;
    }
}

/* ==========================
   Auth v3 - clean redesign
   ========================== */
.auth-theme-shell .auth-wrap.auth-v3 {
    --auth-v3-bg: #0b122b;
    --auth-v3-panel: #0f1633;
    --auth-v3-panel-soft: #121c40;
    --auth-v3-border: rgba(161, 140, 247, 0.34);
    --auth-v3-text: #eef3ff;
    --auth-v3-muted: #aebde1;
    --auth-v3-accent: var(--system_primery_color, #8a5dff);
    --auth-v3-accent-dark: #6f48ea;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-main {
    min-height: 100vh;
    padding: 0;
    align-items: stretch;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-box {
    max-width: none;
    min-height: 100vh;
    gap: 0;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-visual-frame,
.auth-theme-shell .auth-wrap.auth-v3 .auth-form-frame {
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-visual-frame {
    flex: 0 0 50%;
    display: flex;
    min-height: 100vh;
    background: linear-gradient(165deg, #3f2f9d 0%, #2f247f 100%);
}

.auth-v3-visual {
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    padding: 28px 24px 20px;
}

.auth-v3-logo img {
    max-width: 110px;
    height: auto;
}

.auth-v3-illustration {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 0;
}

.auth-v3-illustration svg {
    width: min(88%, 520px);
    height: auto;
    border-radius: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.auth-v3-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.auth-v3-links a {
    color: rgba(243, 247, 255, 0.78);
    font-size: 12px;
    text-decoration: none;
}

.auth-v3-links a:hover {
    color: #ffffff;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-form-frame {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--auth-v3-bg);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-form-panel {
    width: 100%;
    max-width: 540px;
    padding: 46px 40px;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-mobile-logo {
    display: none !important;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-form-title {
    color: var(--auth-v3-text) !important;
    font-size: clamp(28px, 2.1vw, 34px);
    margin-bottom: 8px;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-label {
    color: #d8e3ff !important;
    font-size: 13px;
    margin-bottom: 6px;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-input,
.auth-theme-shell .auth-wrap.auth-v3 .form-control {
    height: 46px;
    border-radius: 8px;
    border: 1px solid rgba(146, 166, 228, 0.2) !important;
    background: var(--auth-v3-panel) !important;
    color: var(--auth-v3-text) !important;
    box-shadow: none;
}

.auth-theme-shell .auth-wrap.auth-v3 textarea.auth-input {
    height: auto;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-input::placeholder {
    color: #7f91bf !important;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-input:focus,
.auth-theme-shell .auth-wrap.auth-v3 .form-control:focus {
    border-color: rgba(169, 146, 255, 0.62) !important;
    background: var(--auth-v3-panel-soft) !important;
    box-shadow: 0 0 0 3px rgba(129, 92, 248, 0.16);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-input-icon,
.auth-theme-shell .auth-wrap.auth-v3 .auth-toggle-pw {
    color: #b8c7ee;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-input-icon svg,
.auth-theme-shell .auth-wrap.auth-v3 .auth-toggle-pw svg {
    stroke: currentColor !important;
    fill: none !important;
    opacity: 1;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-btn {
    border-radius: 8px;
    height: 46px;
    font-weight: 700;
    border: 1px solid rgba(186, 162, 255, 0.78);
    background: linear-gradient(135deg, #9a72ff 0%, #6f48ea 55%, #5f8dff 100%);
    box-shadow: 0 12px 24px rgba(54, 33, 136, 0.55);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-btn:hover:not(:disabled) {
    filter: brightness(1.1);
    box-shadow: 0 14px 28px rgba(59, 36, 147, 0.62);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-divider,
.auth-theme-shell .auth-wrap.auth-v3 .auth-footer-text,
.auth-theme-shell .auth-wrap.auth-v3 .auth-note {
    color: var(--auth-v3-muted) !important;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-footer-text {
    background: transparent;
    border: 0;
    padding: 12px 0 0;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-link,
.auth-theme-shell .auth-wrap.auth-v3 .auth-footer-text a {
    color: #c3b0ff !important;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-social-btn {
    border-radius: 999px;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-social-icon--facebook {
    font-family: Arial, sans-serif;
    transform: translateY(-0.5px);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-social-icon--google {
    font-family: Arial, sans-serif;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-social-google {
    background: rgba(16, 24, 54, 0.95) !important;
    border-color: rgba(169, 146, 255, 0.46) !important;
    color: #ffffff !important;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-social-google:hover {
    background: rgba(24, 34, 70, 0.96) !important;
    border-color: rgba(188, 166, 255, 0.72) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 20px rgba(33, 22, 86, 0.38);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-checkbox {
    border-radius: 5px;
    border-color: rgba(146, 166, 228, 0.46);
    background: var(--auth-v3-panel);
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-check span:last-child {
    color: #c6d3f3;
}

.auth-theme-shell .auth-wrap.auth-v3 .auth-status {
    border-radius: 8px;
}

@media (max-width: 991px) {
    .auth-theme-shell .auth-wrap.auth-v3 .auth-visual-frame {
        display: none !important;
    }

    .auth-theme-shell .auth-wrap.auth-v3 .auth-form-frame {
        width: 100%;
    }

    .auth-theme-shell .auth-wrap.auth-v3 .auth-form-panel {
        max-width: 100%;
        padding: 26px 16px 24px;
    }

    .auth-theme-shell .auth-wrap.auth-v3 .auth-mobile-logo {
        display: block !important;
        text-align: left;
    }
}
