*{
    font-family: 'Montserrat', sans-serif;
}

/* Auth Section Styles (Common for Forgot Password, OTP Verification, and Reset Password) */
.auth-section {
    padding: 60px 20px;
    background: #f5f5e8; 
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.auth-container {
    max-width: 600px;
    width: 100%;
    background: rgba(255, 255, 245, 0.9); /* Off-white form background */
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.auth-container h2 {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    text-transform: uppercase;
    color: #1a252f;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.instructions {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #1a252f;
    margin-bottom: 20px;
    line-height: 1.5;
}

.form-field {
    margin-bottom: 20px;
    text-align: left;
}

.form-field label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    text-transform: uppercase;
    color: #1a252f;
    margin-bottom: 8px;
}

.form-field input {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(201, 160, 34, 0.2); /* Gold border with opacity */
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1a252f;
    background-color: #f5f5e8; /* Matching background */
    transition: border-color 0.3s ease;
}

.form-field input:focus {
    outline: none;
    border-color: #c9a022; /* Gold focus border */
}

.form-field .error-message {
    display: block;
    color: #ff4040;
    font-size: 12px;
    margin-top: 5px;
}

.submit-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, #c9a022, #a3821b); /* Gold gradient */
    color: #1a252f;
    transition: background 0.3s ease, transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #a3821b, #c9a022);
    transform: scale(1.05);
}

.link {
    margin-top: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1a252f;
}

.link a {
    color: #c9a022; /* Gold link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.link a:hover {
    color: #1a252f; /* Darker on hover */
    text-decoration: underline;
}

/* Resend OTP Specific Styles (For verify-otp.ejs) */
.resend-otp {
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1a252f;
}

.resend-link {
    color: #c9a022; /* Gold link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.resend-link:hover {
    color: #1a252f; /* Darker on hover */
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .auth-container {
        padding: 20px;
    }

    .auth-container h2 {
        font-size: 30px;
    }

    .instructions {
        font-size: 14px;
    }

    .form-field label {
        font-size: 12px;
    }

    .form-field input {
        font-size: 12px;
        padding: 8px;
    }

    .submit-btn {
        font-size: 12px;
        padding: 8px 16px;
    }

    .link,
    .resend-otp {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .auth-container h2 {
        font-size: 24px;
    }

    .instructions {
        font-size: 12px;
    }

    .form-field label {
        font-size: 10px;
    }

    .form-field input {
        font-size: 10px;
        padding: 6px;
    }

    .submit-btn {
        font-size: 10px;
        padding: 6px 12px;
    }

    .link,
    .resend-otp {
        font-size: 10px;
    }
}

/* Resend OTP and Timer Styles */
.resend-otp {
    margin-top: 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1a252f;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.resend-link {
    color: #c9a022; /* Gold link color */
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.resend-link:hover {
    color: #1a252f; /* Darker on hover */
    text-decoration: underline;
}

.timer {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #c9a022; /* Gold to match the theme */
    font-weight: 500;
}

/* Responsive Design for Resend OTP and Timer */
@media (max-width: 768px) {
    .resend-otp {
        font-size: 12px;
    }

    .timer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .resend-otp {
        font-size: 10px;
    }

    .timer {
        font-size: 10px;
    }
}

/* Message Display for Success/Error Messages */
.message-display {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Responsive Design for Messages */
@media (max-width: 768px) {
    .message-display {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .message-display {
        font-size: 10px;
        padding: 6px;
    }
}


/* Message Display for Success/Error Messages */
.message-display {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* Responsive Design for Messages */
@media (max-width: 768px) {
    .message-display {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .message-display {
        font-size: 10px;
        padding: 6px;
    }
}