/* ============================================
   MODAL CSS
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

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

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

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

.modal-header h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.5rem;
    padding-right: 20px;
    line-height: 1.3;
}

.modal-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-body p {
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.modal-body ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.modal-body li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #444;
}

.modal-body li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.modal-footer {
    margin-top: 25px;
    text-align: right;
}