.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: var(--background-color);
    border: 2px solid var(--text-color);
    padding: 1.5rem 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 8px 8px 0 var(--text-color);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-color);
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.modal-table th, .modal-table td {
    border: 1px solid var(--text-color);
    padding: 0.5rem;
    font-size: 0.9rem;
    text-align: left;
}

.modal-table th {
    background: var(--banner-color);
    color: var(--secondary-text-color);
}