/* Modal Overlay */
.modal-overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(2px);
}

/* Modal Content Box */
.modal-content {
    background-color: #1f4b3a;
    /* Dark green matching theme */
    color: #ffffff;
    padding: 40px;
    border-radius: 4px;
    width: 90%;
    max-width: 600px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    font-family: 'Poppins', sans-serif;
}

.modal-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-content .modal-hint {
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
    margin-top: 20px;
}

/* Close Button */
.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.close-button:hover {
    opacity: 0.7;
}

/* Show State */
.modal-overlay.show {
    display: flex;
}