/**
 * File: page_styles/common_modals.css
 * Common Modal Styles
 * v1.0.0 - April 2025
 * 
 * These styles apply to modals used across multiple pages
 * Common Modal Styles
 */
 modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

/* Forgot Password styles */
.forgot-password {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #3498db;
    text-decoration: none;
    font-size: 0.9rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

#forgot-password-modal .modal-content {
    max-width: 400px;
}

#forgot-password-modal .form-group {
    margin-bottom: 20px;
}

#forgot-password-modal label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#forgot-password-modal input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#forgot-password-modal .btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

#forgot-password-modal .btn:hover {
    background-color: #2980b9;
}