/* Stili specifici per homepage */

.search-box {
    border: 3px solid;
    animation: borderAnimation 8s infinite linear;
}

.search-box:hover {
    transform: translateY(-5px);
}

.chatbot-container {
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid;
    animation: borderAnimation 8s infinite linear reverse;
    background: white;
    min-height: 330px;
}

@media (max-width: 768px) {
    .chatbot-container {
        min-height: 900px;
        display: flex;
        flex-direction: column;
    }
    .chatbot-widget-container {
        height: 800px !important;
        min-height: 800px !important;
        max-height: none !important;
    }
    .chatbot-container iframe {
        width: 100%;
        height: 800px !important;
        min-height: 800px !important;
        max-height: none !important;
        box-sizing: border-box;
        display: block;
    }
}

.chatbot-container:hover {
    transform: translateY(-5px);
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Esperienze popolari con colori pieni */
.experience-card-1 .card-header {
    background-color: #F03E62;
}

.experience-card-2 .card-header {
    background-color: #F7941D;
}

.experience-card-3 .card-header {
    background-color: #9752A2;
}

.experience-card-4 .card-header {
    background-color: #2384C8;
}

/* Stile per il contenitore del chatbot */
.chatbot-widget-container {
    height: 600px;
    overflow: hidden;
    border-radius: 8px;
    background: white;
    position: relative;
}

/* Loader per il chatbot */
.chatbot-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    z-index: 10;
}

/* Filtri compatti */
.compact-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
    justify-content: center;
}

.compact-filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.compact-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}