/* ===========================
   LOGIN PAGE SPECIFIC STYLES
   Common styles inherited from standalone_auth.css
   =========================== */

/* Password label with forgot password link */
.password-label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

#forgot-password-link {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    cursor: pointer;
}

#forgot-password-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Forgot Password Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 500px;
    max-width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-header h2 {
    font-family: "Rethink Sans", "SF Pro Display", sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #374151;
}

.modal-body {
    padding: 24px;
}

.modal-body p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 20px 0;
    font-family: Arial, sans-serif;
}

#modal-status-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

#modal-status-message.success {
    background-color: #d1fae5;
    color: #065f46;
}

#modal-status-message.error {
    background-color: #fee2e2;
    color: #991b1b;
}

.inline-link {
    color: #1565c0;
    text-decoration: underline;
    cursor: pointer;
}

.inline-link:hover {
    color: #0d47a1;
}

#forgot-password-form .input-container {
    margin-bottom: 20px;
}

#forgot-password-form .input-label {
    display: block;
    color: #6C7277;
    font-size: 14px;
    margin-bottom: 4px;
    text-align: left;
    font-family: Arial, sans-serif;
}

#forgot-password-form input[type="email"] {
    display: block;
    width: 100%;
    margin: 0;
    height: 30px;
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

#forgot-password-form button[type="submit"] {
    width: 100%;
    display: block;
    margin: 20px 0 0 0;
    padding: 10px 20px;
    border: none;
    background-color: #1D70F6;
    color: white;
    cursor: pointer;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

#forgot-password-form button[type="submit"]:hover {
    background-color: #1557c7;
}

#forgot-password-form button[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#forgot-password-form button[type="submit"].countdown-active {
    background-color: #93b8f0;
    cursor: not-allowed;
}
