.vpup-container {
    text-align: center;
    position: relative;
}

.vpup-avatar {
    width: 120px;
    height: 120px;
    border-radius: 100%;
    cursor: pointer;
}

/* Modal e confirmação */
.vpup-modal,
.vpup-confirm {
    display: none; /* escondido por padrão */
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* Quando visível, usa flex para centralizar */
.vpup-modal.visible,
.vpup-confirm.visible {
    display: flex;
}

.vpup-box {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    width: 300px;
    max-width: 90%; /* melhora em telas pequenas */
    text-align: center;
}

.vpup-option {
    padding: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}
.vpup-option:last-child {
    border-bottom: none;
}
.vpup-option.danger {
    color: red;
}

/* Toast */
.vpup-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4caf50;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    display: none;
    z-index: 1100;
    font-size: 14px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* Toast de erro */
.vpup-toast.error {
    background: #f44336; /* vermelho para erros */
}

/* Avatar responsivo */
@media (max-width: 480px) {
    .vpup-avatar {
        width: 90px;
        height: 90px;
    }
}
