#departure-airport-list .country-label span {
    font-weight: bold !important;
    color: #10B981 !important;
}

#departure-airport-list .state-label span {
    font-weight: bold !important;
    color: #3B82F6 !important;
    margin-left: 10px;
}

#departure-airport-list .pff-airport-item label {
    color: #000 !important;
}

#departure-airport-list input[type="checkbox"] + label {
    font-size: 0.875rem;
    color: #4b5563;
}

#departure-airport-list input[type="checkbox"]:hover + label {
    color: #1d4ed8;
}

#departure-airport-list input[type="checkbox"]:checked + label {
    color: #1e40af;
    font-weight: 500;
}

.fds-radius-indicator {
    color: #6b7280;
    font-size: 0.75rem;
    font-style: italic;
}

.departure-region-btn.active {
    background-color: #93C5FD;
}

#departure-select-container {
    position: relative;
}

#departure-airport-list {
    max-height: 500px;
    min-height: 500px;
    width: 100%;
    max-width: 400px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background-color: white;
    position: relative;
}

#departure-airport-list .sticky-hide-button {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 1rem auto;
    background-color: #9333ea; /* Purple */
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    transition: background-color 0.2s;
    z-index: 10;
    display: block; /* Ensure it behaves as a block element */
    text-align: center; /* Center the text within the button */
}

#departure-airport-list .sticky-hide-button:hover {
    background-color: #7e22ce; /* Darker purple on hover */
}

.deal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.deal-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center; /* Changed from flex-start to center */
}

.deal-image {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: cover;
    border-radius: 0.25rem;
    margin-bottom: 0.5rem;
    display: block; /* Ensures the image behaves as a block element for centering */
    margin-left: auto;
    margin-right: auto; /* Centers the image horizontally */
}

.deal-headline {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e40af;
    margin: 0;
    text-align: center; /* Centers the headline text */
}

.deal-headline a {
    color: #1e40af;
    text-decoration: none;
}

.deal-headline a:hover {
    text-decoration: underline;
}

#destination-refine-container p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Styles for expired deals */
.deal-item.post-expired .deal-image {
    filter: grayscale(100%) !important;
    -webkit-filter: grayscale(100%) !important;
}

.deal-item.post-expired .post-thumbnail {
    position: relative !important;
    display: block !important;
}

.deal-item.post-expired .post-thumbnail::after {
    content: 'EXPIRED';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: red;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.7);
    padding: 5px 10px;
    z-index: 10;
}

@media (max-width: 640px) {
    .deal-grid {
        grid-template-columns: 1fr;
    }
}