.forgot-password-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
}
.forgot-password-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active {
    display: flex;
}
.modal-content {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    margin: 20px;
    position: relative;
}
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.modal-close:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}
.modal-content h2 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 8px;
}
.modal-content .modal-description {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}
.modal-message {
    margin-bottom: 20px;
    padding: 12px 15px;
    border-radius: 5px;
    font-size: 14px;
    display: none;
}
.modal-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.modal-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.modal-message.loading {
    display: block;
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #d6d8db;
}
.btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
}
#forgotFormSection {
    display: block;
}
#forgotSuccessSection {
    display: none;
    text-align: center;
}
#forgotSuccessSection p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}
.btn-back-to-login {
    background-color: var(--primary);
    color: var(--text-light);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
}
.btn-back-to-login:hover {
    background-color: var(--primary-dark);
}
