/* Authentication Styles */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    background-color: #f8fafc;
}

.auth-sidebar {
    width: 45%;
    background: linear-gradient(rgba(0, 75, 145, 0.4), rgba(0, 0, 0, 0.7)), url('../img/auth-bg.png') center/cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 80px;
    color: white;
    position: relative;
    overflow: hidden;
}

.auth-sidebar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.auth-form-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
}

.auth-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
}

.auth-tab {
    padding-bottom: 15px;
    font-weight: 800;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    transition: 0.3s;
}

.auth-tab.active {
    color: #004b91;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #004b91;
    border-radius: 2px;
}

.form-floating > label {
    font-weight: 600;
    color: #64748b;
    padding-left: 1rem;
}

.form-control:focus {
    border-color: #004b91;
    box-shadow: 0 0 0 4px rgba(0, 75, 145, 0.1);
}

.btn-auth-primary {
    background: #004b91;
    color: white;
    font-weight: 900;
    padding: 16px;
    border-radius: 12px;
    width: 100%;
    font-size: 1rem;
    letter-spacing: 1px;
    border: none;
    transition: 0.3s;
}

.btn-auth-primary:hover {
    background: #003a70;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 75, 145, 0.2);
}

.social-login {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.btn-social {
    flex: 1;
    border: 1px solid #e2e8f0;
    padding: 12px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    color: #475569;
    transition: 0.2s;
}

.btn-social:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 30px 0;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex-grow: 1;
    height: 1px;
    background: #f1f5f9;
}

.user-role-toggle {
    display: flex;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.role-btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    background: transparent;
    color: #64748b;
    transition: 0.2s;
}

.role-btn.active {
    background: white;
    color: #004b91;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

@media (max-width: 991px) {
    .auth-sidebar {
        display: none;
    }
    .auth-form-container {
        padding: 20px;
    }
}

/* OTP Verification Styles */
.otp-input-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 30px 0;
}

.otp-field {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 800;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    transition: 0.3s;
}

.otp-field:focus {
    border-color: #004b91;
    box-shadow: 0 0 0 4px rgba(0, 75, 145, 0.1);
    outline: none;
}
