/**
 * RkAiMagicCatalogSuite - Frontoffice ALTs Styles
 * UPDATE: Responsive Tooltip width & text wrapping
 */

/* ====================================================
   ESTILO 1: CAPTION (TEXTO INFERIOR FIJO)
   ==================================================== */
.easyseo-alt-caption {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
    padding: 6px;
    border-radius: 0 0 4px 4px;
    border: 1px solid #eee;
    border-top: none;
    width: 100%;
    margin-top: -3px; /* Ajuste visual */
}

/* ====================================================
   ESTILO 2: TOOLTIPS FLOTANTES GLOBALES (No se cortan)
   ==================================================== */
.easyseo-global-tooltip {
    position: absolute;
    z-index: 999999; /* Por encima de TODO en PrestaShop */
    pointer-events: none; /* Que no interfiera con los clics */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
    
    /* FIX: Límites de ancho y comportamiento del texto */
    max-width: 250px; 
    word-wrap: break-word;
    text-align: center;
    line-height: 1.4;
    
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* Variaciones de Diseño del Tooltip */
.easyseo-global-tooltip.tooltip-dark {
    background-color: rgba(33, 37, 41, 0.95);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.easyseo-global-tooltip.tooltip-light {
    background-color: rgba(255, 255, 255, 0.95);
    color: #212529;
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.easyseo-global-tooltip.tooltip-neon {
    background-color: #000000;
    color: #00ffcc;
    border: 1px solid #00ffcc;
    box-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
    font-family: 'Courier New', monospace;
}

.easyseo-global-tooltip.tooltip-glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #333;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}