
/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.modal-content {
    background-color: var(--color-white);
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    padding: 40px;
    border-radius: 4px;
    position: relative;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: sticky;
    top: 20px;
    float: right;
    margin-left: auto;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-primary);
    background: var(--color-white);
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.modal-close:hover {
    background-color: #f0f0f0;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
}

.modal-body h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-body p {
    margin-bottom: 16px;
}

.modal-body ul {
    margin-bottom: 16px;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
}
