﻿#bvFeedbackOverlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    background: rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(2px);
}

#bvFeedbackHost {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
}

.bv-feedback-modal {
    position: relative;
    width: min(94vw, 520px);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px 22px;
    box-shadow: 0 18px 50px rgba(0,0,0,.22);
    text-align: center;
    animation: bvFeedbackIn .18s ease-out;
}

.bv-feedback-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 999px;
    background: #f4f4f5;
    color: #777;
    cursor: pointer;
}

.bv-feedback-modal__icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: #fff0f7;
    color: #ff007f;
}

.bv-feedback-modal--sucesso .bv-feedback-modal__icon {
    background: #ecfdf3;
    color: #16a34a;
}

.bv-feedback-modal--erro .bv-feedback-modal__icon {
    background: #fff1f2;
    color: #dc2626;
}

.bv-feedback-modal--aviso .bv-feedback-modal__icon {
    background: #fffbeb;
    color: #d97706;
}

.bv-feedback-modal--info .bv-feedback-modal__icon {
    background: #eff6ff;
    color: #2563eb;
}

.bv-feedback-modal__header h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #222;
}

.bv-feedback-modal__body {
    color: #555;
    font-size: 1rem;
    line-height: 1.55;
    max-height: 42vh;
    overflow-y: auto;
    padding: 0 4px;
}

.bv-feedback-modal__footer {
    margin-top: 22px;
}

.bv-feedback-modal__button {
    min-width: 140px;
    min-height: 44px;
    border: 0;
    border-radius: 999px;
    background: #ff007f;
    color: #fff;
    font-weight: 800;
    padding: 10px 22px;
    cursor: pointer;
}

    .bv-feedback-modal__button:hover {
        background: #d9006f;
    }

body.bv-modal-lock {
    overflow: hidden !important;
    touch-action: none;
}

@keyframes bvFeedbackIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .bv-feedback-modal {
        width: 100%;
        padding: 24px 18px 20px;
        border-radius: 18px;
    }

    .bv-feedback-modal__icon {
        width: 64px;
        height: 64px;
        font-size: 1.7rem;
    }

    .bv-feedback-modal__header h2 {
        font-size: 1.1rem;
    }

    .bv-feedback-modal__body {
        font-size: .95rem;
        max-height: 46vh;
    }

    .bv-feedback-modal__button {
        width: 100%;
    }
}
