.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    overflow: auto;
}

.modal-content {
    background-color: #1f1f1f;
    color: #e0e0e0;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    position: relative;
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ccc;
    cursor: pointer;
}

.close-btn:hover {
    color: #fff;
}

.modal-content h2 {
    font-size: 1.6rem;
    color: #007bff;
    margin-bottom: 10px;
}

.modal-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #cccccc;
}

.btn-group {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    flex: 1;
    padding: 10px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
}

.btn.yes {
    background-color: #007bff;
    color: white;
}

.btn.yes:hover {
    background-color: #0056b3;
}

.btn.no {
    background-color: transparent;
    color: #ff6b6b;
    border: 1px solid #ff6b6b;
}

.btn.no:hover {
    background-color: #ff6b6b;
    color: #1f1f1f;
}

.blurred {
    filter: blur(8px);
    pointer-events: none;
}

@media (max-width: 480px) {
    .modal-backdrop {
        padding: 10px;
        max-height: 100vh;
        max-width: 100vw;
        overflow-y: auto;
    }

    .modal-content {
        width: 95%;
        max-width: 420px; /* mantém limite */
        padding: 20px;
        border-radius: 8px;
    }

    .modal-content h2 {
        font-size: 1.4rem;
    }

    .modal-content h3 {
        font-size: 1.1rem;
    }

    .modal-content p {
        font-size: 0.9rem;
    }

    .btn-group {
        flex-direction: column;
        gap: 12px;
        flex-wrap: nowrap;
    }

    .btn {
        font-size: 1.1rem;
        padding: 12px;
    }

    .close-btn {
        top: 8px;
        right: 8px;
        font-size: 1.3rem;
    }
}