/* ========================================
   COMPACT MULTI-DESTINATION SEARCH BAR
   Separate classes to avoid conflicts
   ======================================== */

.multi-dest-search-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Compact Summary */
.multi-dest-compact-summary {
    margin-bottom: 16px;
}

.multi-dest-summary-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.multi-dest-summary-header:hover {
    border-color: #36A4FB;
    background: linear-gradient(135deg, #e7f3ff 0%, #d0e8ff 100%);
    box-shadow: 0 2px 8px rgba(54, 164, 251, 0.2);
}

.multi-dest-summary-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.multi-dest-summary-title {
    font-size: 14px;
    font-weight: 700;
    color: #36A4FB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.multi-dest-summary-details {
    font-size: 13px;
    color: #495057;
    line-height: 1.4;
}

.multi-dest-summary-details strong {
    color: #2c3e50;
    font-weight: 600;
}

.multi-dest-toggle-btn {
    background: transparent;
    border: none;
    color: #36A4FB;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    transition: transform 0.3s ease;
}

.multi-dest-toggle-btn:hover {
    transform: scale(1.1);
}

.multi-dest-toggle-btn i {
    transition: transform 0.3s ease;
}

.multi-dest-flights-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 16px;
}

/* Flight Row */
.multi-dest-flight-row {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    border: 1px solid #e9ecef;
}

.multi-dest-flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dee2e6;
}

.multi-dest-flight-label {
    font-weight: 600;
    font-size: 14px;
    color: #36A4FB;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.multi-dest-remove-btn {
    background: transparent;
    border: 1px solid #dc3545;
    color: #dc3545;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.multi-dest-remove-btn:hover {
    background: #dc3545;
    color: white;
}

/* Flight Fields */
.multi-dest-flight-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.multi-dest-field-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.multi-dest-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.multi-dest-input {
    padding: 10px 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 14px;
    color: #2c3e50;
    background: white;
    transition: all 0.2s ease;
    width: 100%;
}

.multi-dest-input:focus {
    outline: none;
    border-color: #36A4FB;
    box-shadow: 0 0 0 3px rgba(54, 164, 251, 0.1);
}

.multi-dest-input::placeholder {
    color: #adb5bd;
}

/* Dropdown */
.multi-dest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    margin-top: 4px;
    list-style: none;
    padding: 4px;
}

.multi-dest-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.multi-dest-dropdown-item:hover {
    background: #f8f9fa;
}

.multi-dest-location-main {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

.multi-dest-location-sub {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

.multi-dest-no-results,
.multi-dest-error {
    padding: 12px;
    text-align: center;
    color: #6c757d;
    font-size: 13px;
}

/* Actions */
.multi-dest-actions {
    margin-bottom: 16px;
    text-align: center;
}

.multi-dest-add-btn {
    background: transparent;
    border: 2px dashed #36A4FB;
    color: #36A4FB;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.multi-dest-add-btn:hover {
    background: #36A4FB;
    color: white;
    border-style: solid;
}

.multi-dest-add-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #dee2e6;
    color: #6c757d;
}

.multi-dest-add-btn:disabled:hover {
    background: transparent;
    color: #6c757d;
}

/* Passengers & Submit */
.multi-dest-passengers-wrapper {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
    padding-top: 16px;
    border-top: 1px solid #dee2e6;
}

.multi-dest-submit-wrapper {
    min-width: 200px;
}

.multi-dest-submit-wrapper .btn-search-hotel {
    width: 100%;
    margin: 0 !important;
    height: 100%;
}

/* Scrollbar */
.multi-dest-dropdown::-webkit-scrollbar {
    width: 6px;
}

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

.multi-dest-dropdown::-webkit-scrollbar-thumb {
    background: #36A4FB;
    border-radius: 3px;
}

.multi-dest-dropdown::-webkit-scrollbar-thumb:hover {
    background: #2563eb;
}

/* Responsive */
@media (max-width: 992px) {
    .multi-dest-flight-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .multi-dest-passengers-wrapper {
        grid-template-columns: 1fr;
    }

    .multi-dest-submit-wrapper {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .multi-dest-search-wrapper {
        padding: 16px;
    }

    .multi-dest-flight-row {
        padding: 12px;
    }

    .multi-dest-flight-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .multi-dest-remove-btn {
        width: 100%;
    }
}
