﻿/* =========================================================
   LOGIN / REGISTER PAGE
   ========================================================= */

.site-auth-page {
    position: relative;
    min-height: calc(100vh - 140px);
    padding: 3rem 0;
    overflow: hidden;
    background: radial-gradient( circle at top left, rgba(37, 99, 235, .10), transparent 32% ), radial-gradient( circle at bottom right, rgba(14, 165, 233, .08), transparent 34% ), #f8fafc;
}

    .site-auth-page::before {
        content: "";
        position: absolute;
        top: -170px;
        left: -170px;
        width: 360px;
        height: 360px;
        border-radius: 50%;
        background: rgba(37, 99, 235, .05);
        pointer-events: none;
    }

    .site-auth-page::after {
        content: "";
        position: absolute;
        right: -120px;
        bottom: -150px;
        width: 320px;
        height: 320px;
        border-radius: 50%;
        background: rgba(14, 165, 233, .05);
        pointer-events: none;
    }

.site-auth-container {
    position: relative;
    z-index: 1;
}

.site-auth-shell {
    display: grid;
    grid-template-columns: minmax(320px, .9fr) minmax(500px, 1.1fr);
    width: 100%;
    max-width: 1180px;
    min-height: 680px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(15, 23, 42, .12), 0 8px 24px rgba(15, 23, 42, .06);
}


/* =========================================================
   LEFT INTRO PANEL
   ========================================================= */

.site-auth-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 2.5rem;
    overflow: hidden;
    color: #fff;
    background: linear-gradient( 145deg, #0f172a 0%, #1e3a8a 52%, #2563eb 100% );
}

    .site-auth-intro::before {
        content: "";
        position: absolute;
        top: -120px;
        right: -120px;
        width: 300px;
        height: 300px;
        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 50%;
    }

    .site-auth-intro::after {
        content: "";
        position: absolute;
        right: -70px;
        bottom: -70px;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .06);
    }

.site-auth-brand,
.site-auth-intro-content,
.site-auth-security {
    position: relative;
    z-index: 1;
}

.site-auth-brand {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    width: fit-content;
    color: #fff;
    text-decoration: none;
}

    .site-auth-brand:hover {
        color: #fff;
    }

.site-auth-brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 13px;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
}

    .site-auth-brand-icon i {
        font-size: 1.05rem;
    }

.site-auth-brand-text {
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.site-auth-intro-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 0;
}

.site-auth-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 1.1rem;
    padding: .48rem .78rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
    color: #bfdbfe;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.site-auth-intro-title {
    max-width: 520px;
    margin: 0;
    font-size: clamp(2rem, 3vw, 3.15rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.site-auth-intro-description {
    max-width: 520px;
    margin: 1.35rem 0 0;
    color: rgba(255, 255, 255, .76);
    font-size: .98rem;
    line-height: 1.75;
}

.site-auth-benefits {
    display: grid;
    gap: .9rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

    .site-auth-benefits li {
        display: flex;
        align-items: center;
        gap: .75rem;
        color: rgba(255, 255, 255, .92);
        font-size: .93rem;
    }

    .site-auth-benefits i {
        color: #93c5fd;
        font-size: 1rem;
    }

.site-auth-security {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .72);
    font-size: .82rem;
    line-height: 1.55;
}

    .site-auth-security i {
        margin-top: .15rem;
        color: #bfdbfe;
    }


/* =========================================================
   RIGHT FORM PANEL
   ========================================================= */

.site-auth-panel {
    min-width: 0;
    background: #fff;
}

.site-auth-panel-inner {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 2.75rem 3rem 3rem;
}

.site-auth-header {
    margin-bottom: 1.6rem;
}

.site-auth-mobile-brand {
    display: none;
    margin-bottom: .55rem;
    color: #2563eb;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.site-auth-title {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.75rem, 2.2vw, 2.35rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -.035em;
}

.site-auth-subtitle {
    margin: .65rem 0 0;
    color: #64748b;
    font-size: .94rem;
    line-height: 1.65;
}


/* =========================================================
   LOGIN / REGISTER SWITCH
   ========================================================= */

.site-auth-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .4rem;
    margin-bottom: 1.5rem;
    padding: .35rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.site-auth-switch-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    min-height: 44px;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #64748b;
    font-size: .9rem;
    font-weight: 700;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .18s ease;
}

    .site-auth-switch-button:hover {
        color: #1d4ed8;
    }

    .site-auth-switch-button:focus-visible {
        outline: 3px solid rgba(37, 99, 235, .18);
        outline-offset: 2px;
    }

    .site-auth-switch-button.is-active {
        background: #fff;
        color: #1d4ed8;
        box-shadow: 0 4px 14px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .05);
    }


/* =========================================================
   PAGE MESSAGE
   ========================================================= */

.site-auth-message {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin-bottom: 1.4rem;
    padding: .95rem 1rem;
    border: 1px solid;
    border-radius: 14px;
}

.site-auth-message-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 50%;
}

.site-auth-message-content {
    display: flex;
    flex-direction: column;
    gap: .18rem;
    min-width: 0;
    font-size: .86rem;
    line-height: 1.5;
}

    .site-auth-message-content strong {
        color: inherit;
        font-weight: 800;
    }

.site-auth-message.is-success {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

    .site-auth-message.is-success .site-auth-message-icon {
        background: #dcfce7;
    }

.site-auth-message.is-danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

    .site-auth-message.is-danger .site-auth-message-icon {
        background: #fee2e2;
    }

.site-auth-message.is-warning {
    border-color: #fde68a;
    background: #fffbeb;
    color: #92400e;
}

    .site-auth-message.is-warning .site-auth-message-icon {
        background: #fef3c7;
    }

.site-auth-message.is-info {
    border-color: #bfdbfe;
    background: #eff6ff;
    color: #1e40af;
}

    .site-auth-message.is-info .site-auth-message-icon {
        background: #dbeafe;
    }


/* =========================================================
   FORM PANEL / FORM
   ========================================================= */

.site-auth-form-panel {
    display: none;
}

    .site-auth-form-panel.is-active {
        display: block;
        animation: siteAuthPanelIn .22s ease;
    }

    .site-auth-form-panel[hidden] {
        display: none !important;
    }

@keyframes siteAuthPanelIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-auth-form {
    display: grid;
    gap: 1.15rem;
}

.site-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.site-auth-field {
    min-width: 0;
}

.site-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .5rem;
}

.site-auth-label {
    display: block;
    margin-bottom: .5rem;
    color: #334155;
    font-size: .84rem;
    font-weight: 700;
}

.site-auth-label-row .site-auth-label {
    margin-bottom: 0;
}

.site-auth-input-group,
.site-auth-phone-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.site-auth-input-group {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

    .site-auth-input-group:focus-within {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
    }

.site-auth-input-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    flex: 0 0 46px;
    color: #94a3b8;
}

.site-auth-input {
    min-height: 48px;
    padding: .75rem .9rem;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: #0f172a;
    font-size: .92rem;
    box-shadow: none;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

    .site-auth-input::placeholder {
        color: #94a3b8;
    }

    .site-auth-input:hover {
        border-color: #94a3b8;
    }

    .site-auth-input:focus {
        border-color: #2563eb;
        background: #fff;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
    }

.site-auth-input-group .site-auth-input {
    min-width: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

    .site-auth-input-group .site-auth-input:focus {
        border: 0;
        box-shadow: none;
    }

    .site-auth-input-group .site-auth-input:first-child {
        border-radius: 12px 0 0 12px;
    }

.site-auth-password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    flex: 0 0 46px;
    border: 0;
    border-radius: 0 12px 12px 0;
    background: transparent;
    color: #64748b;
    transition: color .18s ease, background-color .18s ease;
}

    .site-auth-password-toggle:hover {
        background: #f8fafc;
        color: #1d4ed8;
    }

    .site-auth-password-toggle:focus-visible {
        outline: 3px solid rgba(37, 99, 235, .16);
        outline-offset: -3px;
    }

.site-auth-phone-group {
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #fff;
    transition: border-color .18s ease, box-shadow .18s ease;
}

    .site-auth-phone-group:focus-within {
        border-color: #2563eb;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
    }

.site-auth-phone-prefix {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    padding: 0 .75rem;
    border-right: 1px solid #e2e8f0;
    border-radius: 12px 0 0 12px;
    background: #f8fafc;
    color: #475569;
    font-size: .88rem;
    font-weight: 700;
}

.site-auth-phone-group .site-auth-input {
    border: 0;
    border-radius: 0 12px 12px 0;
    box-shadow: none;
}

    .site-auth-phone-group .site-auth-input:focus {
        border: 0;
        box-shadow: none;
    }


/* =========================================================
   VALIDATION
   ========================================================= */

.site-auth-validation,
.field-validation-error {
    display: block;
    margin-top: .4rem;
    color: #dc2626;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.45;
}

.field-validation-valid {
    display: none;
}

.site-auth-input.input-validation-error,
.input-validation-error.site-auth-input {
    border-color: #ef4444;
    background: #fffafa;
}

.site-auth-input-group:has(.input-validation-error),
.site-auth-phone-group:has(.input-validation-error) {
    border-color: #ef4444;
    background: #fffafa;
}

.validation-summary-errors {
    padding: .9rem 1rem;
    border: 1px solid #fecaca;
    border-radius: 12px;
    background: #fef2f2;
    color: #991b1b;
    font-size: .82rem;
}

    .validation-summary-errors ul {
        margin: 0;
        padding-left: 1.1rem;
    }

.validation-summary-valid {
    display: none;
}


/* =========================================================
   OPTIONS / CHECKBOX
   ========================================================= */

.site-auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.site-auth-check {
    display: inline-flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 0;
    color: #475569;
    font-size: .83rem;
    line-height: 1.55;
    cursor: pointer;
}

    .site-auth-check .form-check-input {
        width: 1.05rem;
        height: 1.05rem;
        flex: 0 0 1.05rem;
        margin: .13rem 0 0;
        border-color: #94a3b8;
        box-shadow: none;
        cursor: pointer;
    }

        .site-auth-check .form-check-input:checked {
            border-color: #2563eb;
            background-color: #2563eb;
        }

        .site-auth-check .form-check-input:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
        }

.site-auth-forgot-link {
    color: #2563eb;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
}

    .site-auth-forgot-link:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }


/* =========================================================
   PASSWORD RULES
   ========================================================= */

.site-auth-password-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem .75rem;
    padding: .9rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

    .site-auth-password-rules span {
        position: relative;
        padding-left: 1.15rem;
        color: #64748b;
        font-size: .75rem;
        line-height: 1.45;
    }

        .site-auth-password-rules span::before {
            content: "";
            position: absolute;
            top: .38rem;
            left: 0;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #cbd5e1;
        }

        .site-auth-password-rules span.is-valid {
            color: #166534;
        }

            .site-auth-password-rules span.is-valid::before {
                background: #22c55e;
            }

        .site-auth-password-rules span.is-invalid {
            color: #b91c1c;
        }

            .site-auth-password-rules span.is-invalid::before {
                background: #ef4444;
            }


/* =========================================================
   AGREEMENTS
   ========================================================= */

.site-auth-agreements {
    display: grid;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.site-auth-agreement {
    min-width: 0;
}

.site-auth-agreement-link {
    display: inline;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2563eb;
    font: inherit;
    font-weight: 700;
    text-align: left;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

    .site-auth-agreement-link:hover {
        color: #1d4ed8;
    }

    .site-auth-agreement-link:focus-visible {
        outline: 3px solid rgba(37, 99, 235, .16);
        outline-offset: 2px;
        border-radius: 3px;
    }


/* =========================================================
   CAPTCHA
   ========================================================= */

.site-auth-captcha {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
}

.site-auth-captcha-description {
    margin: -.1rem 0 .8rem;
    color: #64748b;
    font-size: .78rem;
}

.site-auth-captcha-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .65rem;
}

    .site-auth-captcha-content img {
        max-width: 100%;
        height: auto;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
    }

    .site-auth-captcha-content input[type="text"] {
        min-height: 44px;
        padding: .7rem .8rem;
        border: 1px solid #cbd5e1;
        border-radius: 10px;
        color: #0f172a;
        font-size: .9rem;
        box-shadow: none;
    }

        .site-auth-captcha-content input[type="text"]:focus {
            border-color: #2563eb;
            outline: 0;
            box-shadow: 0 0 0 4px rgba(37, 99, 235, .10);
        }

    .site-auth-captcha-content a {
        color: #2563eb;
        font-size: .8rem;
        font-weight: 700;
        text-decoration: none;
    }

        .site-auth-captcha-content a:hover {
            text-decoration: underline;
        }


/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.site-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    width: 100%;
    min-height: 50px;
    padding: .8rem 1.25rem;
    border: 1px solid #2563eb;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    font-size: .92rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .22);
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, background-color .18s ease;
}

    .site-auth-submit:hover {
        border-color: #1d4ed8;
        background: linear-gradient(135deg, #1d4ed8, #1e40af);
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 14px 28px rgba(37, 99, 235, .26);
    }

    .site-auth-submit:focus-visible {
        outline: 4px solid rgba(37, 99, 235, .18);
        outline-offset: 2px;
    }

    .site-auth-submit:active {
        transform: translateY(0);
    }

    .site-auth-submit:disabled,
    .site-auth-submit.is-loading {
        cursor: not-allowed;
        opacity: .72;
        transform: none;
        box-shadow: none;
    }

        .site-auth-submit.is-loading i {
            animation: siteAuthButtonSpin .8s linear infinite;
        }

@keyframes siteAuthButtonSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   AGREEMENT MODAL
   ========================================================= */

.site-auth-agreement-modal {
    overflow: hidden;
    border: 0;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .20);
}

    .site-auth-agreement-modal .modal-header {
        padding: 1.1rem 1.25rem;
        border-bottom-color: #e2e8f0;
    }

    .site-auth-agreement-modal .modal-title {
        color: #0f172a;
        font-size: 1rem;
        font-weight: 800;
    }

    .site-auth-agreement-modal .modal-body {
        max-height: 70vh;
        padding: 1.25rem;
        color: #334155;
        font-size: .9rem;
        line-height: 1.7;
    }

    .site-auth-agreement-modal .modal-footer {
        padding: 1rem 1.25rem;
        border-top-color: #e2e8f0;
    }


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1199.98px) {

    .site-auth-page {
        padding: 2rem 0;
    }

    .site-auth-shell {
        grid-template-columns: minmax(280px, .82fr) minmax(440px, 1.18fr);
        max-width: 1000px;
        min-height: 640px;
        border-radius: 24px;
    }

    .site-auth-intro {
        padding: 2rem;
    }

    .site-auth-panel-inner {
        padding: 2.25rem;
    }

    .site-auth-intro-title {
        font-size: 2.15rem;
    }
}

@media (max-width: 991.98px) {

    .site-auth-page {
        min-height: auto;
        padding: 1.5rem 0;
    }

    .site-auth-shell {
        grid-template-columns: 1fr;
        max-width: 760px;
        min-height: auto;
    }

    .site-auth-intro {
        display: none;
    }

    .site-auth-panel-inner {
        max-width: none;
        padding: 2.25rem 2rem;
    }

    .site-auth-mobile-brand {
        display: inline-block;
    }

    .site-auth-title {
        font-size: 2rem;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .site-auth-page {
        padding: 1rem 0;
        background: #f8fafc;
    }

        .site-auth-page::before,
        .site-auth-page::after {
            display: none;
        }

    .site-auth-container {
        padding-right: .75rem;
        padding-left: .75rem;
    }

    .site-auth-shell {
        border-radius: 18px;
        box-shadow: 0 14px 40px rgba(15, 23, 42, .08), 0 3px 10px rgba(15, 23, 42, .04);
    }

    .site-auth-panel-inner {
        padding: 1.5rem 1rem 1.75rem;
    }

    .site-auth-header {
        margin-bottom: 1.25rem;
    }

    .site-auth-title {
        font-size: 1.65rem;
    }

    .site-auth-subtitle {
        font-size: .86rem;
    }

    .site-auth-switch {
        margin-bottom: 1.25rem;
    }

    .site-auth-switch-button {
        min-height: 42px;
        padding: .65rem .6rem;
        font-size: .84rem;
    }

    .site-auth-grid {
        grid-template-columns: 1fr;
        gap: 1.15rem;
    }

    .site-auth-form {
        gap: 1rem;
    }

    .site-auth-password-rules {
        grid-template-columns: 1fr;
    }

    .site-auth-message {
        padding: .85rem;
    }

    .site-auth-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-auth-submit {
        min-height: 48px;
    }

    .site-auth-captcha-content {
        align-items: stretch;
        flex-direction: column;
    }

        .site-auth-captcha-content input[type="text"] {
            width: 100%;
        }
}

@media (max-width: 419.98px) {

    .site-auth-panel-inner {
        padding-right: .85rem;
        padding-left: .85rem;
    }

    .site-auth-title {
        font-size: 1.5rem;
    }

    .site-auth-switch-button i {
        display: none;
    }

    .site-auth-input-icon {
        width: 42px;
        flex-basis: 42px;
    }

    .site-auth-password-toggle {
        width: 42px;
        flex-basis: 42px;
    }

    .site-auth-phone-prefix {
        min-width: 54px;
        padding-right: .6rem;
        padding-left: .6rem;
    }

    .site-auth-agreements,
    .site-auth-captcha {
        padding: .85rem;
    }
}


/* =========================================================
   ACCESSIBILITY / REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .site-auth-form-panel.is-active,
    .site-auth-submit.is-loading i {
        animation: none;
    }

    .site-auth-switch-button,
    .site-auth-input-group,
    .site-auth-phone-group,
    .site-auth-input,
    .site-auth-password-toggle,
    .site-auth-submit {
        transition: none;
    }
}
/* =========================================================
   MANAGEMENT LOGIN
   ========================================================= */

.site-management-auth-page .site-auth-panel {
    display: flex;
    align-items: center;
}

.site-management-auth-page .site-auth-panel-inner {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.site-management-auth-page .site-auth-form-panel {
    width: 100%;
}

.site-management-auth-page .site-auth-form {
    width: 100%;
}

/* Input kapsayıcısı */

.site-management-auth-page .site-auth-input-group {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

/* Input alanının kapsayıcıyı tamamen doldurması */

.site-management-auth-page .site-auth-input {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    height: 100%;
    padding-left: 0;
    border: 0;
    outline: 0;
    box-shadow: none;
    background: transparent;
}

    /* Input'un kendi focus çerçevesini kaldır */

    .site-management-auth-page .site-auth-input:focus,
    .site-management-auth-page .site-auth-input:focus-visible {
        border: 0;
        outline: 0;
        box-shadow: none;
    }

/* Focus sadece dış kapsayıcıda gösterilsin */

.site-management-auth-page .site-auth-input-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

/* Chrome autofill görünümü */

.site-management-auth-page .site-auth-input:-webkit-autofill,
.site-management-auth-page .site-auth-input:-webkit-autofill:hover,
.site-management-auth-page .site-auth-input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111827;
    -webkit-box-shadow: 0 0 0 1000px transparent inset;
    transition: background-color 9999s ease-in-out 0s;
}

/* Sağ panel bilgilendirme alanı */

.site-management-login-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px;
    padding: 14px 16px;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.55;
}

    .site-management-login-note i {
        flex: 0 0 auto;
        margin-top: 2px;
        color: #3b82f6;
    }

    .site-management-login-note span {
        display: block;
        min-width: 0;
    }

/* Yönetim ekranında form yüksekliğini dengeli tut */

.site-management-auth-page .site-auth-header {
    margin-bottom: 32px;
}

.site-management-auth-page .site-auth-options {
    margin-top: 4px;
}

.site-management-auth-page .site-auth-submit {
    margin-top: 20px;
}

/* Mobil */

@media (max-width: 991.98px) {
    .site-management-auth-page .site-auth-panel {
        align-items: stretch;
    }

    .site-management-auth-page .site-auth-panel-inner {
        max-width: 100%;
    }
}
/* =========================================================
   MANAGEMENT WARNING
   ========================================================= */

.site-management-warning-card {
    display: flex;
    gap: 18px;
    margin-top: 1.5rem;
    padding: 1.25rem;
    border: 1px solid #fde68a;
    border-radius: 16px;
    background: linear-gradient(180deg, #fffdf5 0%, #fffbeb 100%);
}

.site-management-warning-icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #f59e0b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.site-management-warning-content {
    flex: 1;
}

    .site-management-warning-content h5 {
        margin: 0 0 .5rem;
        font-size: 1.05rem;
        font-weight: 700;
        color: #92400e;
    }

    .site-management-warning-content p {
        margin: 0;
        color: #57534e;
        line-height: 1.7;
    }

.site-management-warning-actions {
    margin-top: 1rem;
}

    .site-management-warning-actions .btn {
        min-width: 220px;
    }

@media (max-width: 576px) {

    .site-management-warning-card {
        flex-direction: column;
        text-align: center;
    }

    .site-management-warning-icon {
        margin: 0 auto;
    }

    .site-management-warning-actions .btn {
        width: 100%;
    }
}