es d/* Estilos para el sistema de hashtags de Viare Assistant AI */

/* Contenedor general de hashtags */
.wptc-hashtags-container {
    margin: 15px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
    animation: slideUpFade 0.5s ease-out forwards;
}

/* Estilos para hashtags en burbujas */
.wptc-hashtags-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.wptc-hashtag-bubble {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    background: #0d6efd;
    color: white;
    font-size: 0.9em;
    font-weight: 500; /* Aumentar el peso para mejor legibilidad */
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15); /* Añadir sombra sutil para mejorar visibilidad */
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); /* Añadir sombra al texto para mejor contraste */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Añadir borde sutil */
}

/* Efecto de brillo al pasar el cursor */
.wptc-hashtag-bubble::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.wptc-hashtag-bubble:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    filter: brightness(1.1);
}

.wptc-hashtag-bubble:hover::before {
    opacity: 1;
    transform: scale(1);
}

/* Diferentes colores para hashtags según categoría */
.wptc-hashtag[data-tag="vuelos"],
.wptc-hashtag[data-tag="lowcost"] {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.wptc-hashtag[data-tag="hoteles"],
.wptc-hashtag[data-tag="alojamiento"] {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.wptc-hashtag[data-tag="destinos"],
.wptc-hashtag[data-tag="playa"] {
    background: linear-gradient(135deg, #f39c12, #d35400);
}

.wptc-hashtag[data-tag="montaña"],
.wptc-hashtag[data-tag="aventura"] {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.wptc-hashtag[data-tag="gastronomía"],
.wptc-hashtag[data-tag="cultural"] {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
}

.wptc-hashtag[data-tag="lujo"] {
    background: linear-gradient(135deg, #f1c40f, #f39c12);
}

.wptc-hashtag[data-tag="itinerario"] {
    background: linear-gradient(135deg, #1abc9c, #16a085);
}

/* Estilos para hashtags en línea */
.wptc-hashtags-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 8px 0;
}

.wptc-hashtag-inline {
    color: #4CAF50;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px dashed transparent;
}

.wptc-hashtag-inline:hover {
    color: #2E7D32;
    border-bottom: 1px dashed #2E7D32;
}

/* Estilos para hashtags en tarjetas */
.wptc-hashtags-card {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    margin: 15px 0;
    border-left: 3px solid #4CAF50;
}

.wptc-hashtags-card h4 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: #2E7D32;
}

.wptc-hashtags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wptc-hashtag-card {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    background: rgba(76, 175, 80, 0.2);
    color: #2E7D32;
    font-size: 0.9em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.wptc-hashtag-card:hover {
    background: rgba(76, 175, 80, 0.3);
    transform: translateY(-2px);
}

/* Estilos para resaltado de hashtags en mensajes */
.wptc-hashtag-highlight {
    color: #4CAF50;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wptc-hashtag-highlight:hover {
    color: #2E7D32;
    text-decoration: underline;
}

/* Estilos para resultados de búsqueda por hashtag */
.wptc-hashtag-results {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), rgba(46, 125, 50, 0.05));
    border-radius: 12px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #4CAF50;
    animation: slideInRight 0.5s ease forwards;
}

.wptc-hashtag-results h4 {
    margin: 0 0 12px 0;
    font-size: 1.1em;
    color: #2E7D32;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wptc-hashtag-content {
    margin-bottom: 15px;
    line-height: 1.5;
}

.wptc-hashtag-content ul {
    margin: 10px 0;
    padding-left: 20px;
}

.wptc-hashtag-content li {
    margin-bottom: 5px;
}

.wptc-related-hashtags h5 {
    margin: 0 0 8px 0;
    font-size: 0.95em;
    color: #2E7D32;
}

/* Animaciones para hashtags */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpFade {
    from { 
        opacity: 0; 
        transform: translateY(10px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Animación para la entrada de hashtags */
.wptc-hashtag-bubble {
    animation-name: slideUpFade;
    animation-duration: 0.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}

/* Aplicar retraso a cada hashtag para que aparezcan secuencialmente */
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(1) { animation-delay: 0.1s; }
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(2) { animation-delay: 0.2s; }
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(3) { animation-delay: 0.3s; }
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(4) { animation-delay: 0.4s; }
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(5) { animation-delay: 0.5s; }
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(6) { animation-delay: 0.6s; }
.wptc-hashtags-container .wptc-hashtag-bubble:nth-child(7) { animation-delay: 0.7s; }

/* Estilos para los hashtags de ejemplo en el mensaje de bienvenida */
.wptc-welcome-hashtags-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    justify-content: flex-start; /* Alinear a la izquierda como el texto del chat */
    background-color: transparent; /* Asegurar que el fondo sea transparente */
    padding: 5px 0;
    width: 100%;
}

.wptc-welcome-hashtags-preview span {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white !important; /* Forzar color blanco */
    font-size: 0.9em;
    font-weight: 600; /* Aumentar el peso de la fuente para mejor legibilidad */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); /* Mejorar la sombra de texto para mayor contraste */
    cursor: pointer;
    margin: 5px 5px 5px 0;
    border: 1px solid rgba(255, 255, 255, 0.3); /* Borde más visible */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Sombra más pronunciada */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wptc-welcome-hashtags-preview span:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.wptc-welcome-hashtags-preview span:nth-child(1) { background: linear-gradient(135deg, #3498db, #1a5276); animation-delay: 0s; }
.wptc-welcome-hashtags-preview span:nth-child(2) { background: linear-gradient(135deg, #e74c3c, #922b21); animation-delay: 0.2s; }
.wptc-welcome-hashtags-preview span:nth-child(3) { background: linear-gradient(135deg, #f39c12, #b9770e); animation-delay: 0.4s; }
.wptc-welcome-hashtags-preview span:nth-child(4) { background: linear-gradient(135deg, #27ae60, #1e8449); animation-delay: 0.6s; }
.wptc-welcome-hashtags-preview span:nth-child(5) { background: linear-gradient(135deg, #9b59b6, #6c3483); animation-delay: 0.8s; }
.wptc-welcome-hashtags-preview span:nth-child(6) { background: linear-gradient(135deg, #1abc9c, #117864); animation-delay: 1s; }

@keyframes pulseLight {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}

/* Estilos responsivos */
@media (max-width: 480px) {
    .wptc-hashtags-bubbles,
    .wptc-hashtags-container {
        justify-content: center;
    }
    
    .wptc-hashtag-bubble {
        font-size: 0.8em;
        padding: 5px 10px;
    }
    
    .wptc-welcome-hashtags-preview span {
        font-size: 0.8em;
        padding: 3px 8px;
    }
}
