/* Authentication Styles */
.auth-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: calc(100vh - 160px); /* Account for navbar and footer */
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    width: 100%;
    max-width: 500px;
    margin-top: 100px;
}

.auth-header {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.auth-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.form-row .form-group {
    margin-bottom: 0;
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
    padding-right: 40px;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

small {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #6c757d;
}

.btn {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 115, 232, 0.4);
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    color: #6c757d;
}

.auth-footer a {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .auth-header {
        padding: 20px;
    }
    
    .auth-form {
        padding: 20px;
    }
    
    .auth-container {
        padding: 10px;
        min-height: calc(100vh - 140px);
    }
}


/* Add to the bottom of your existing auth.css file */

/* OTP Verification Specific Styles */
.otp-input input {
    font-size: 1.5rem;
    letter-spacing: 10px;
    text-align: center;
    padding: 15px;
}

.resend-btn {
    background: transparent;
    color: #1a73e8;
    border: none;
    padding: 10px 0;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 10px 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resend-btn:hover:not(:disabled) {
    color: #0d47a1;
    transform: scale(1.05);
}

.resend-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#resendMessage {
    margin: 10px 0;
    min-height: 20px;
    font-size: 0.9rem;
    text-align: center;
}

/* Countdown button styling */
.resend-btn i {
    font-size: 0.9rem;
}

