/* ==========================================
   MUGUGA COMPREHENSIVE SCHOOL - POPUP.CSS
   Styles for the Unified Engagement Modal
   ========================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    border-top: 6px solid #14532d;
    position: relative;
    text-align: center;
}

.modal-content h2 {
    color: #14532d;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-content p {
    color: #334155;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #14532d;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.modal-btn {
    display: inline-block;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.modal-btn:hover {
    transform: translateY(-1px);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.75rem 1.25rem;
    }
    .modal-content h2 {
        font-size: 1.25rem;
    }
}
