/*═══════════════════════════════════════════════════════════════
  🦖 DINO GUÍA – LOGIN & REGISTRO
  Archivo independiente, sin overlay ni highlight
═══════════════════════════════════════════════════════════════*/

/* CONTENEDOR PRINCIPAL */
#dino-guia {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    z-index: 9999;
    animation: dinoFloat 3s ease-in-out infinite;
    pointer-events: none; /* Dino no interfiere con inputs */
}

/* IMAGEN DEL DINO */
#dino-guia img {
    height: 200px;
    width: auto;
    user-select: none;
    pointer-events: none;
}

/* GLOBO DE MENSAJE */
#dino-guia .dino-bubble {
    background: #ffffff;
    padding: 14px 18px;
    border-radius: 12px;
    max-width: 260px;
    font-size: 15px;
    line-height: 1.4rem;
    color: #333;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
    border: 1px solid #e2e2e2;
    position: relative;
    pointer-events: auto; /* Permite hover o seleccionar texto */
}

/* Burbujita (triangulito) */
#dino-guia .dino-bubble::after {
    content: '';
    position: absolute;
    left: -10px;
    bottom: 20px;
    border: 10px solid transparent;
    border-right-color: #ffffff;
}

/* Modo oscuro */
[data-theme="dark"] #dino-guia .dino-bubble {
    background: #2c2c2c;
    color: #fff;
    border-color: #444;
}

[data-theme="dark"] #dino-guia .dino-bubble::after {
    border-right-color: #2c2c2c;
}


#dino-close-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 26px;
    height: 26px;
    border: none;
    background: rgba(255, 0, 0, 0.85);
    color: white;
    font-size: 20px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    pointer-events: auto;
    line-height: 23px;
    text-align: center;
    padding: 0;
    transition: background 0.2s ease;
}

#dino-close-btn:hover {
    background: rgba(180, 0, 0, 1);
}


/* ANIMACIÓN DE FLOTAR */
@keyframes dinoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    #dino-guia img { height: 160px; }
    #dino-guia .dino-bubble { max-width: 220px; font-size: 14px; }
}

@media (max-width: 480px) {
    #dino-guia { bottom: 10px; left: 10px; }
    #dino-guia img { height: 130px; }
    #dino-guia .dino-bubble { max-width: 200px; font-size: 13px; }
}

/* 🔥 NO mostrar Dino Guía en móviles */
@media (max-width: 768px){
  #dino-guia{
    display: none !important;
  }
}
