@keyframes modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: modal-fade-in 0.25s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .modal-overlay {
        animation: none;
    }
}

.modal-content {
    background: var(--color-bg-card);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
    max-width: 90%;
    width: 500px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--color-text, #333);
    line-height: 1;
}
