﻿
.auth-page {
    background: radial-gradient(circle at top right, rgba(60, 10, 161, 0.08), transparent 18%), radial-gradient(circle at bottom left, rgba(7, 0, 53, 0.06), transparent 24%), #f7f8fc;
    min-height: calc(100vh - 120px);
}

.auth-page .auth-shell {
    min-height: calc(100vh - 120px);
}

.auth-page .auth-left {
    position: relative;
    background: radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 18%), linear-gradient(135deg, #070035 0%, #12005f 55%, #1d0a73 100%);
    color: #fff;
    overflow: hidden;
}

    .auth-page .auth-left::before {
        content: "";
        position: absolute;
        width: 380px;
        height: 380px;
        border-radius: 50%;
        top: -120px;
        right: -120px;
        background: rgba(255,255,255,0.08);
    }

    .auth-page .auth-left::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        bottom: -140px;
        left: -90px;
        background: rgba(255,255,255,0.05);
    }

.auth-page .auth-left-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
    margin: 0 auto;
    padding: 56px 42px;
}

.auth-page .auth-brand {
    margin-bottom: 42px;
}

    .auth-page .auth-brand img {
        max-height: 56px;
        width: auto;
    }

.auth-page .auth-badge {
    display: inline-block;
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    margin-bottom: 20px;
}

.auth-page .auth-left-title {
    font-size: 48px;
    line-height: 1.08;
    font-weight: 800;
    color: #fff;
    margin-bottom: 20px;
}

    .auth-page .auth-left-title .accent {
        color: #d6c4ff;
    }

.auth-page .auth-left-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.82);
    margin-bottom: 28px;
    max-width: 510px;
}

.auth-page .auth-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
}

    .auth-page .auth-feature-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        font-size: 15px;
        line-height: 1.7;
        color: rgba(255,255,255,0.86);
        margin-bottom: 12px;
    }

.auth-page .auth-feature-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-size: 13px;
    margin-top: 1px;
}

.auth-page .auth-left-illustration {
    margin-top: 30px;
}

    .auth-page .auth-left-illustration img {
        max-width: 100%;
        height: auto;
        opacity: 0.96;
    }

.auth-page .auth-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-page .auth-card-wrap {
    width: 100%;
    max-width: 560px;
}

.auth-page .auth-card {
    position: relative;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(7, 0, 53, 0.08);
    box-shadow: 0 24px 70px rgba(10, 10, 40, 0.10);
    padding: 34px 30px 28px 30px;
    overflow: hidden;
}

    .auth-page .auth-card::before {
        content: "";
        position: absolute;
        inset: 0 0 auto 0;
        height: 4px;
        background: linear-gradient(135deg, #070035 0%, #3c0aa1 100%);
    }

.auth-page .auth-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3c0aa1;
    background: rgba(60, 10, 161, 0.06);
    border: 1px solid rgba(60, 10, 161, 0.10);
    padding: 7px 12px;
    margin-bottom: 16px;
}

.auth-page .auth-title {
    font-size: 34px;
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

.auth-page .auth-subtitle {
    font-size: 16px;
    line-height: 1.8;
    color: #6b7280;
    margin-bottom: 28px;
}

.auth-page .auth-alert {
    padding: 12px 14px;
    margin-bottom: 18px;
    border-left: 3px solid;
    font-size: 14px;
    line-height: 1.6;
}

.auth-page .auth-alert-success {
    background: rgba(25, 135, 84, 0.08);
    border-color: #198754;
    color: #146c43;
}

.auth-page .auth-alert-error {
    background: rgba(220, 53, 69, 0.08);
    border-color: #dc3545;
    color: #b02a37;
}

.auth-page .auth-label {
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
}

.auth-page .auth-input-group {
    display: flex;
    align-items: center;
    min-height: 58px;
    background: #f8f9fc;
    border: 1px solid #e7eaf3;
    transition: all 0.2s ease-in-out;
}

    .auth-page .auth-input-group:focus-within {
        border-color: #3c0aa1;
        box-shadow: 0 0 0 0.18rem rgba(60, 10, 161, 0.10);
        background: #fff;
    }

.auth-page .auth-input-addon {
    height: 58px;
    min-width: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    border-right: 1px solid #edf0f6;
    background: transparent;
}

.auth-page .auth-input {
    height: 58px;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #111827 !important;
    font-size: 15px;
    padding-left: 14px !important;
    padding-right: 14px !important;
}

    .auth-page .auth-input::placeholder {
        color: #9aa3b2;
    }

.auth-page .auth-toggle-password {
    height: 58px;
    min-width: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    cursor: pointer;
    border-left: 1px solid #edf0f6;
    transition: color 0.2s ease-in-out;
}

    .auth-page .auth-toggle-password:hover {
        color: #3c0aa1;
    }

.auth-page .auth-validation {
    margin-top: 6px;
    min-height: 18px;
    font-size: 13px;
}

.auth-page .auth-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.auth-page .password-rules {
    list-style: none;
    padding-left: 0;
    margin: 12px 0 0 0;
}

    .auth-page .password-rules li {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 6px;
        font-size: 14px;
        color: #6b7280;
    }

.auth-page .rule-icon {
    width: 18px;
    text-align: center;
    font-weight: 700;
}

.auth-page .rule-valid {
    color: #198754;
}

.auth-page .rule-invalid {
    color: #dc3545;
}

.auth-page .field-message {
    font-size: 13px;
    margin-top: 6px;
    min-height: 18px;
}

    .auth-page .field-message.error {
        color: #dc3545;
    }

    .auth-page .field-message.success {
        color: #198754;
    }

.auth-page .auth-terms {
    margin: 8px 0 22px 0;
    font-size: 14px;
    color: #4b5563;
}

.auth-page .form-check-input:checked {
    background-color: #070035;
    border-color: #070035;
}

.auth-page .auth-link {
    color: #3c0aa1;
    font-weight: 600;
    text-decoration: none;
}

    .auth-page .auth-link:hover {
        color: #070035;
        text-decoration: underline;
    }

.auth-page .btn-auth-main {
    width: 100%;
    min-height: 58px;
    border: none;
    background: linear-gradient(135deg, #070035 0%, #140055 100%);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.2px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 16px 34px rgba(7, 0, 53, 0.18);
}

    .auth-page .btn-auth-main:hover,
    .auth-page .btn-auth-main:focus {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 20px 38px rgba(7, 0, 53, 0.24);
    }

.auth-page .auth-footer-text {
    text-align: center;
    margin-top: 22px;
    color: #6b7280;
    font-size: 15px;
}

    .auth-page .auth-footer-text a {
        color: #3c0aa1;
        font-weight: 700;
        text-decoration: none;
    }

        .auth-page .auth-footer-text a:hover {
            color: #070035;
            text-decoration: underline;
        }

@media (max-width: 991px) {
    .auth-page .auth-left {
        min-height: auto;
    }

    .auth-page .auth-left-inner {
        padding: 38px 24px;
    }

    .auth-page .auth-left-title {
        font-size: 34px;
    }

    .auth-page .auth-right {
        padding: 28px 16px 40px 16px;
    }

    .auth-page .auth-card {
        padding: 28px 20px 24px 20px;
    }

    .auth-page .auth-title {
        font-size: 30px;
    }

    .auth-page .auth-grid-2 {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

section {
    padding: 0 !important;
}