/*  */
.booking-search-container {
    max-width: 1140px;
    margin: 0 auto;
}

.search-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    margin-bottom: 30px;
}

.search-inputs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 3px solid #febb02;
}

.input-group {
    flex: 1;
    min-width: 200px;
    position: relative;
    border-right: 1px solid #e0e0e0;
}

.input-group:last-child {
    border-right: none;
}

.input-wrapper {
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.2s;
    position: relative;
}

.input-wrapper:hover {
    background-color: #f5f5f5;
}

.input-wrapper.active {
    background-color: #f0f9ff;
}

.input-label {
    font-size: 12px;
    color: #6b6b6b;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.input-value {
    font-size: 14px;
    color: #262626;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.input-icon {
    width: 20px;
    height: 20px;
    fill: #003580;
}

.close-btn {
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.close-btn:hover {
    opacity: 1;
}

.close-icon {
    width: 16px;
    height: 16px;
}

.search-button-wrapper {
    flex-shrink: 0;
    padding: 8px;
    display: flex;
    align-items: center;
}

.search-button {
    background: #0071c2;
    color: white;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.search-button:hover {
    background: #00508c;
}

.search-options {
    display: flex;
    gap: 20px;
    padding: 16px 20px;
    align-items: center;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #0071c2;
}

.checkbox-wrapper label {
    font-size: 14px;
    color: #262626;
    cursor: pointer;
    user-select: none;
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
    max-height: 500px;
    overflow-y: auto;
}

.dropdown.active {
    display: block;
}

/* Location Dropdown */
.location-search {
    padding: 16px;
}

.location-search input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.location-search input:focus {
    outline: none;
    border-color: #0071c2;
}

/* Loading Spinner */
.loading-spinner {
    display: none;
    text-align: center;
    padding: 20px;
}

.loading-spinner.active {
    display: block;
}

.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0071c2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Section Titles */
.section-title {
    font-size: 12px;
    font-weight: 600;
    color: #6b6b6b;
    text-transform: uppercase;
    padding: 12px 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-icon {
    width: 14px;
    height: 14px;
    fill: #6b6b6b;
}

/* Recently Searched Section */
.recently-searched {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

/* Popular Destinations Section */
.popular-destinations {
    margin-top: 12px;
}

.location-suggestions {
    margin-top: 12px;
}

.location-item {
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.location-item:hover {
    background-color: #f5f5f5;
}

.location-icon-wrapper {
    width: 40px;
    height: 40px;
    background: #f0f9ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon-wrapper svg {
    width: 20px;
    height: 20px;
    fill: #0071c2;
}

.location-details {
    flex: 1;
}

.location-name {
    font-weight: 500;
    color: #262626;
    font-size: 14px;
}

.location-type {
    font-size: 12px;
    color: #6b6b6b;
    margin-top: 2px;
}

.location-count {
    font-size: 12px;
    color: #0071c2;
    margin-top: 2px;
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #ff6b00;
    font-weight: 600;
}

.fire-icon {
    width: 12px;
    height: 12px;
    fill: #ff6b00;
}

.remove-recent {
    opacity: 0;
    transition: opacity 0.2s;
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
}

.location-item:hover .remove-recent {
    opacity: 1;
}

.remove-recent:hover {
    background: #f0f0f0;
    border-radius: 4px;
}

.no-results {
    padding: 20px;
    text-align: center;
    color: #6b6b6b;
    font-size: 14px;
}

/* Highlight matched text */
.highlight {
    background-color: #ffeb3b;
    font-weight: 600;
}

/* Guests Dropdown */
.guests-controls {
    padding: 16px;
}

.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.guest-row:last-child {
    border-bottom: none;
}

.guest-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #262626;
    margin-bottom: 2px;
}

.guest-info p {
    font-size: 12px;
    color: #6b6b6b;
}

.guest-counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #0071c2;
    background: white;
    color: #0071c2;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.counter-btn:hover:not(:disabled) {
    background: #0071c2;
    color: white;
}

.counter-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.counter-value {
    font-size: 14px;
    font-weight: 500;
    min-width: 30px;
    text-align: center;
}

/* Analytics Dashboard */
.analytics-dashboard {
    background: white;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.analytics-title {
    font-size: 20px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.analytics-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0071c2;
}

.analytics-card h3 {
    font-size: 12px;
    font-weight: 600;
    color: #6b6b6b;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.analytics-list {
    list-style: none;
}

.analytics-list li {
    padding: 8px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.analytics-list li:last-child {
    border-bottom: none;
}

.analytics-label {
    font-size: 14px;
    color: #262626;
    font-weight: 500;
}

.analytics-value {
    font-size: 14px;
    color: #0071c2;
    font-weight: 600;
}

.analytics-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.analytics-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0071c2, #00a1ff);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }

    .search-inputs {
        flex-direction: column;
    }

    .input-group {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .search-button-wrapper {
        width: 100%;
    }

    .search-button {
        width: 100%;
    }

    .search-options {
        flex-direction: column;
        align-items: flex-start;
    }

    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .analytics-dashboard {
        padding: 16px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown.active {
    animation: fadeIn 0.2s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.location-item {
    animation: slideIn 0.3s ease-out;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.location-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* Scrollbar Styling */
.dropdown::-webkit-scrollbar {
    width: 8px;
}

.dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}