.mimitip-container {
    position: fixed;
    top: 100px; /* posición final al aparecer */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.7); /* transparencia 70% */
    border: 2px solid #FF7BA6;
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 60%;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 8px 18px rgba(255, 123, 166, 0.25);
    animation: slideFadeIn 0.9s ease-out;
    z-index: 9999;
    text-align: center;
    backdrop-filter: blur(4px); /* efecto vidrio suave */
}

/* Texto y emoji */
.mimitip-text {
    color: #333;
    font-size: 15px;
    line-height: 1.4em;
    display: inline-block;
}

.mimitip-emoji {
    font-size: 18px;
    margin-right: 6px;
    vertical-align: middle;
}

/* Botón de cierre animado y centrado */
.mimitip-close {
    position: absolute;
    top: -18px;
    right: -18px;
    background: #FF7BA6;
    color: white;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 123, 166, 0.35);
    animation: popIn 0.5s ease-out forwards;
    transform-origin: center;
    z-index: 10000;
    transition: all 0.3s ease;
}
.mimitip-close:hover {
    background: #ff5b90;
    transform: scale(1.15);
}

/* Animación de entrada desde arriba */
@keyframes slideFadeIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Animación de salida: fade-out + elevación */
@keyframes fadeOutSmoothUp {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -30px);
    }
}

/* Animación pop mágico para la X */
@keyframes popIn {
    0% { opacity: 0; transform: scale(0.2) rotate(-20deg); }
    60% { opacity: 1; transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Adaptación móvil */
@media (max-width: 600px) {
    .mimitip-container {
        max-width: 90%;
        top: 80px;
        padding: 12px 15px;
    }
}
