@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Merriweather:wght@700;900&display=swap');

:root {
    --royal: #003087;
    --royal2: #1a4fa8;
    --gold: #f59e0b;
    --gold2: #fbbf24;
    --dark: #0f172a;
    --gray: #6b7280;
    --border: #e2e8f0;
    --off: #f8fafc;
}

body, .login-card, .login-dark .login-card,
.page-wrapper, .container-fluid {
    background: transparent !important;
}

.auth2-page {
    min-height: 100vh;
    background: var(--off);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.auth2-deco {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}
.auth2-deco-1 {
    width: 220px;
    height: 220px;
    top: -70px;
    left: -70px;
    background: rgba(0, 48, 135, 0.06);
}
.auth2-deco-2 {
    width: 110px;
    height: 110px;
    right: 50px;
    bottom: 35px;
    background: rgba(245, 158, 11, 0.12);
}
.auth2-deco-3 {
    width: 260px;
    height: 260px;
    border: 3px solid rgba(0, 48, 135, 0.05);
    left: 10%;
    bottom: -90px;
}

.auth2-card {
    width: 100%;
    max-width: 1020px;
    min-height: 560px;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(0, 48, 135, 0.1);
    overflow: hidden;
    display: flex;
    position: relative;
    z-index: 1;
}

.auth2-left {
    flex: 1;
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth2-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--royal);
    margin-bottom: 14px;
}
.auth2-tag::before,
.auth2-tag::after {
    content: '';
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: var(--gold);
}

.auth2-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--dark);
    text-align: center;
    margin-bottom: 8px;
}
.auth2-subtitle {
    font-size: 0.86rem;
    color: var(--gray);
    text-align: center;
    margin-bottom: 30px;
}

.auth2-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
    display: block;
}

.auth2-input {
    width: 100% !important;
    padding: 13px 14px !important;
    border: 2px solid var(--border) !important;
    border-radius: 10px !important;
    background: var(--off) !important;
    color: var(--dark) !important;
    height: auto !important;
    font-size: 0.9rem !important;
    transition: all .2s;
}
.auth2-input:focus {
    outline: none !important;
    border-color: var(--royal) !important;
    box-shadow: 0 0 0 3px rgba(0, 48, 135, .08) !important;
    background: #fff !important;
}

.auth2-error {
    color: #dc2626;
    font-size: .78rem;
    margin-top: 6px;
}

.auth2-alert {
    border-radius: 10px;
    padding: 12px 14px;
    font-size: .84rem;
    margin-bottom: 16px;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1e3a8a;
}

.auth2-cf {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 18px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--off);
}
.auth2-cf-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth2-cf-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}
.auth2-cf-logo {
    text-align: right;
    font-size: 10px;
    color: var(--gray);
    font-weight: 700;
}

.auth2-btn {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 14px;
    background: var(--royal);
    color: #fff;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: all .25s;
    box-shadow: 0 4px 14px rgba(0, 48, 135, 0.3);
}
.auth2-btn:hover {
    background: #001f5e;
    box-shadow: 0 6px 20px rgba(0, 48, 135, 0.4);
    transform: translateY(-1px);
}

.auth2-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 0.84rem;
    color: var(--royal);
    text-decoration: none;
    font-weight: 600;
}
.auth2-back:hover {
    color: #001f5e;
}

.auth2-right {
    flex: 1.05;
    background: linear-gradient(160deg, #001a5e 0%, #003087 40%, #1a4fa8 100%);
    padding: 42px 34px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}
.auth2-right::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}
.auth2-panel {
    position: relative;
    z-index: 1;
}
.auth2-panel-tag {
    font-size: .7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold2);
    font-weight: 800;
    margin-bottom: 16px;
}
.auth2-panel-title {
    font-family: 'Merriweather', Georgia, serif;
    font-size: 1.55rem;
    line-height: 1.35;
    margin-bottom: 14px;
}
.auth2-panel-text {
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    line-height: 1.8;
    max-width: 380px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .auth2-card {
        flex-direction: column-reverse;
        min-height: auto;
        max-width: 520px;
    }
    .auth2-right {
        min-height: 260px;
        border-radius: 24px 24px 0 0;
        padding: 30px 24px;
    }
    .auth2-left {
        padding: 34px 28px;
    }
}

@media (max-width: 480px) {
    .auth2-page {
        padding: 16px;
    }
    .auth2-card {
        border-radius: 18px;
    }
    .auth2-right {
        border-radius: 18px 18px 0 0;
    }
    .auth2-title {
        font-size: 1.3rem;
    }
}
