.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: var(--branco);
    padding: 25px;
    border-radius: 0.75rem;
    max-width: 450px;
    width: 90%;
    margin: auto;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-out;
}

.modal-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--texto-primario);
    white-space: pre-wrap;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.btn-modal {
    padding: 0.75rem 1.5rem;
    background-color: var(--roxo);
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-modal:hover {
    background-color: var(--roxo-escuro);
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .modal {
        font-size: 0.8rem;
    }

    .modal-content {
        width: 350px;
    }

    .btn-filter {
        width: 100%;
    }
}