/**
 * Estilos para la integración de hashtags con itinerarios
 * Mejora la visualización de hashtags y botones de acción
 */

/* Contenedor de hashtags de preferencias */
.wptc-travel-preferences {
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 12px;
}

.wptc-travel-preferences .wptc-small {
    font-size: 0.85rem;
    color: #aaa;
    margin-bottom: 8px;
}

/* Categorías de hashtags */
.wptc-hashtag-category {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.wptc-category-label {
    font-size: 0.85rem;
    color: #ccc;
    margin-right: 10px;
    min-width: 100px;
}

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

/* Estilo de hashtags seleccionables - Diseño moderno */
.wptc-hashtag {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #374151;
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.wptc-hashtag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.wptc-hashtag:hover {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.wptc-hashtag:hover::before {
    left: 100%;
}

/* Tema oscuro para hashtags */
.wptc-hashtag.selected {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: #22c55e;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* Tema oscuro para hashtags */
[data-theme="dark"] .wptc-hashtag {
    background: linear-gradient(135deg, #1a2e27, #10231c);
    color: #8ecdb7;
    border-color: rgba(76, 175, 80, 0.3);
}

[data-theme="dark"] .wptc-hashtag:hover {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

[data-theme="dark"] .wptc-hashtag.selected {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Botones de acción para itinerarios */
.wptc-itinerary-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.wptc-btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.9rem;
}

.wptc-btn-primary {
    background-color: #1da1f2;
    color: white;
}

.wptc-btn-primary:hover {
    background-color: #0c8ad0;
}

.wptc-btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ddd;
}

.wptc-btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Mensaje de prompt de itinerario */
.wptc-itinerary-prompt {
    background-color: rgba(29, 161, 242, 0.05);
    border-left: 3px solid #1da1f2;
    padding: 15px;
}

/* Animación para hashtags seleccionados */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.wptc-hashtag.selected {
    animation: pulse 0.5s ease-in-out;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .wptc-hashtag-category {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .wptc-category-label {
        margin-bottom: 5px;
    }
    
    .wptc-hashtag {
        font-size: 0.8rem;
        padding: 4px 8px;
    }
}
