.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 10% 20%, #091e3a 0%, #07172c 50%, #001226 100%);
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.12) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    pointer-events: none;
}

.auth-page::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    pointer-events: none;
}

.auth-card {
    background: #ffffff;
    width: 100%;
    max-width: 440px;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px -15px rgba(0, 18, 38, 0.45), 0 0 0 1px rgba(0, 180, 216, 0.2);
    padding: 30px 26px;
    position: relative;
    z-index: 10;
}

.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-logo-img {
    width: 84px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 10px;
    display: inline-block;
}

.auth-logo {
    width: 50px;
    height: 50px;
    background: var(--brand-gradient-vibrant);
    color: white;
    font-size: 24px;
    font-weight: 700;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: 0 10px 20px rgba(0, 119, 182, 0.35);
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 3px;
    letter-spacing: -0.4px;
}

.auth-title span {
    color: var(--brand-cyan);
}

.auth-subtitle {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f1f5f9;
    padding: 4px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    gap: 4px;
}

.auth-tab-btn {
    background: transparent;
    border: none;
    padding: 8px 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.auth-tab-btn.active {
    background: #ffffff;
    color: var(--brand-blue);
    box-shadow: var(--shadow-sm);
}

.pin-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 14px 0;
}

.pin-digit-input {
    width: 48px;
    height: 50px;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s;
}

.pin-digit-input:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.2);
    outline: none;
}

.auth-footer-links {
    margin-top: 16px;
    text-align: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
}

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

.demo-credentials-box {
    margin-top: 18px;
    padding: 12px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: var(--radius-md);
    font-size: 11.5px;
}

.demo-credentials-title {
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-pill {
    display: inline-block;
    padding: 4px 7px;
    background: #e2e8f0;
    color: var(--brand-navy);
    border-radius: 4px;
    cursor: pointer;
    margin-right: 3px;
    margin-bottom: 4px;
    font-size: 10.5px;
    font-weight: 600;
    transition: all 0.15s ease;
}

.demo-pill:hover {
    background: var(--brand-blue);
    color: #ffffff;
}

@media (max-width: 480px) {
    .auth-card {
        padding: 22px 16px;
    }

    .auth-title {
        font-size: 20px;
    }

    .demo-credentials-box {
        padding: 10px;
    }
}
