/* Authentication Modal Styles */
.modal-content {
    border-radius: 12px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
    padding: 20px 24px 0;
}

.modal-body {
    padding: 0 32px 32px;
}

/* Auth Tabs */
.auth-tabs {
    border-bottom: 1px solid #e5e5e5;
    justify-content: center;
}

.auth-tabs .nav-item {
    flex: 1;
}

.auth-tabs .nav-link {
    color: #666666;
    font-weight: 500;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 12px 0;
    text-align: center;
    background: transparent;
    transition: all 0.3s ease;
}

.auth-tabs .nav-link:hover {
    color: #e5aa03;
    border-bottom-color: #e5e5e5;
}

.auth-tabs .nav-link.active {
    color: #000000;
    font-weight: 600;
    border-bottom-color: #e5aa03;
    background: transparent;
}

/* Form Styles */
.form-label {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 8px;
}

.form-control {
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.invalid-feedback {
    font-size: 12px;
    margin-top: 4px;
}

/* Forgot Password Link */
.forgot-password-link {
    color: #666666;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password-link:hover {
    color: #000000;
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background-color: #e5aa03;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-1px);
}

.btn-primary:active {
    background-color: #000000;
    transform: translateY(0);
}

.btn-primary:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

/* OTP Input */
.otp-input-group {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-input {
    width: 50px;
    height: 50px;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.otp-input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

#backToSignup {
    color: #666666;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

#backToSignup:hover {
    color: #000000;
}

#backToSignup svg {
    vertical-align: middle;
}

#resendOtp {
    color: #000000;
    font-weight: 500;
}

#resendOtp:hover {
    color: #333333;
}

/* Alerts */
.alert {
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-danger {
    background-color: #fff5f5;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}

/* Form Check */
.form-check-input {
    border-color: #e5e5e5;
    border-radius: 4px;
}

.form-check-input:checked {
    background-color: #000000;
    border-color: #000000;
}

.form-check-label {
    font-size: 14px;
    color: #666666;
}

/* Responsive */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 10px;
    }

    .modal-body {
        padding: 0 20px 24px;
    }

    .auth-tabs .nav-link {
        font-size: 14px;
        padding: 10px 0;
    }

    .otp-input {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .otp-input-group {
        gap: 6px;
    }
}
