/*--------------------------------------------------------------
# Zones et Tarifs Widget
--------------------------------------------------------------*/
.zones-widget-container {
    width: 100%;
    max-width: 100%;
    /* Increased width for 3 columns */
    margin: 0 auto;
    background: var(--tanspot-white);
    padding: 30px;
    border-radius: var(--tanspot-bdr-radius);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.05);
}

.zones-search-wrapper {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.zones-search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
    /* Limit search width */
}

/* Light Gray Input */
.zones-search-box input {
    width: 100%;
    height: 50px;
    padding: 10px 20px;
    padding-right: 60px;
    /* Space for button */
    border: 1px solid var(--tanspot-bdr-color);
    border-radius: 50px;
    /* Rounded pill style for modern look */
    outline: none;
    transition: all 0.3s ease;
    background: #f4f5f9;
    /* Light gray background */
    color: var(--tanspot-black);
    font-size: 15px;
}

.zones-search-box input:focus {
    border-color: var(--tanspot-base);
    background: var(--tanspot-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Dark Blue Button */
.zones-search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--tanspot-black);
    /* Dark blue/black from theme */
    color: var(--tanspot-white);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.zones-search-box button:hover {
    background: var(--tanspot-base);
    /* Main color on hover */
    transform: rotate(90deg);
    /* Small interaction effect */
}

/* Ticker Viewport */
.zones-ticker-viewport {
    height: 450px;
    /* Height of the visible window */
    overflow: hidden;
    position: relative;
    padding-top: 10px;
    /* Soft Fade mask at top and bottom */
    mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 5%, black 95%, transparent);
    pointer-events: none;
    /* Disable pointer events on wrapper to prevent scroll hijacking */
}

.zones-ticker-viewport.is-searching {
    overflow-y: auto;
    mask-image: none;
    -webkit-mask-image: none;
    pointer-events: auto;
    /* Re-enable for scrolling search results */
}

/* Custom Scrollbar */
.zones-ticker-viewport.is-searching::-webkit-scrollbar {
    width: 8px;
}

.zones-ticker-viewport.is-searching::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.zones-ticker-viewport.is-searching::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Grid Layout */
.zones-ticker-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Columns */
    gap: 20px;
    padding-bottom: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .zones-ticker-list {
        grid-template-columns: 1fr;
        /* 1 Column on mobile */
    }
}

/* Animation */
.zones-ticker-list.animate-scroll {
    animation: scrollUp linear infinite;
    /* Ensure hover works */
    pointer-events: auto;
}

/* Hover effects */
.zones-ticker-viewport:hover .zones-ticker-list.animate-scroll {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

/* City Card Styling */
.city-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--tanspot-white);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    /* Slightly stronger shadow */
    border: 1px solid transparent;
    transition: all 0.3s ease;
    pointer-events: auto;
    border-color: #015fc93d;
    /* Re-enable pointer events for cards */
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--tanspot-base);
}

.city-name {
    font-weight: 600;
    color: var(--tanspot-black);
    font-family: var(--tanspot-font-two);
    font-size: 15px;
}

.city-price {
    font-weight: 700;
    color: #fff;
    font-size: 15px;
    background: rgb(0, 94, 200);
    padding: 5px 10px;
    border-radius: 5px;
}