/* Viator Modal Styles */
.viator-modal-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.viator-activities-list {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom scrollbar */
.viator-activities-list::-webkit-scrollbar {
    width: 6px;
}

.viator-activities-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.viator-activities-list::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.viator-activities-list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Activity Card */
.viator-activity-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.viator-activity-card:hover {
    border-color: #FF6B6B;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.15);
}

.viator-card-image {
    position: relative;
    height: 100%;
    min-height: 120px;
}

.viator-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.viator-duration-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.viator-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.viator-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Rating */
.viator-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.viator-stars {
    color: #FFB400;
    letter-spacing: 2px;
}

.viator-rating-text {
    font-weight: 600;
    color: #1a1a1a;
}

.viator-reviews {
    color: #6b7280;
    font-size: 13px;
}

.viator-description {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
.viator-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.viator-price {
    display: flex;
    flex-direction: column;
}

.viator-price-label {
    font-size: 12px;
    color: #6b7280;
}

.viator-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.viator-book-btn {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    border: none;
    padding: 8px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}

.viator-book-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Results header */
.viator-results-header {
    padding: 12px 16px;
    background: #f9fafb;
    border-radius: 8px;
}

/* Empty and Error states */
.viator-empty-icon,
.viator-error-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #9ca3af;
    margin: 0 auto;
}

.viator-error-icon {
    background: #fee2e2;
    color: #ef4444;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .viator-modal-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .viator-card-image {
        min-height: 100px;
    }

    .viator-card-title {
        font-size: 15px;
    }

    .viator-description {
        font-size: 13px;
    }

    .viator-price-value {
        font-size: 18px;
    }

    .viator-book-btn {
        padding: 6px 16px;
        font-size: 14px;
    }
}