.search-container {
    max-width: 1100px;
    margin: auto;
}

.search-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

/* Custom Tabs */
.search-tabs {
    position: absolute;
    top: -20px;
    left: 25px;
    display: flex;
    z-index: 10;
}

.tab-item {
    border: none;
    padding: 10px 20px;
    margin-right: 5px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    background-color: #e9ecef;
    color: #495057;
    transition: all 0.2s ease-in-out;
}

.tab-item.active {
    background-color: #00adee;
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 -4px 10px rgba(0, 173, 238, 0.3);
    /* Warna shadow disesuaikan */
}

.tab-item i {
    margin-right: 8px;
}

.card-body-content {
    padding: 40px 25px 25px 25px;
}

/* Form Styling */
.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
}

.form-label small {
    font-weight: 400;
    color: #6c757d;
}

.input-with-icon {
    position: relative;
}

.input-with-icon .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
}

.input-with-icon .form-control {
    padding-left: 40px;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    height: 50px;
    /* SINKRONISASI TINGGI INPUT */
}

.form-control:focus {
    border-color: #00adee;
    box-shadow: 0 0 0 0.25rem rgba(0, 173, 238, 0.25);
    /* Warna shadow disesuaikan */
}

/* FIX: Menambahkan kembali panah untuk <select> */
select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Swap Button */
.btn-swap {
    position: absolute;
    top: 70%;
    right: -22px;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffc107;
    color: white;
    border: 3px solid #fff;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s;
    /* Tambahan transisi */
}

.btn-swap:hover {
    background-color: #e0a800;
    /* EFEK HOVER */
    color: white;
}

/* Disabled State for Return Date */
.input-with-icon.disabled {
    background-color: #e9ecef;
    border-radius: 8px;
}

.input-with-icon.disabled .input-icon {
    color: #adb5bd;
}

/* Search Button */
.btn-search-primary {
    background-color: #00adee;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: background-color 0.2s;
    height: 50px;
    /* SINKRONISASI TINGGI TOMBOL */
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-search-primary:hover {
    background-color: #0099cc;
    /* EFEK HOVER */
    color: white;
}

/* Styling untuk Dropdown Autocomplete */
.autocomplete-results {
    display: none;
    /* Sembunyi secara default */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
}

.autocomplete-item .airport-name {
    font-weight: 600;
}

.autocomplete-item .item-detail {
    font-size: 0.8em;
    color: #6c757d;
}

.autocomplete-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

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

.autocomplete-item .airport-name {
    font-weight: 600;
}

.autocomplete-item .iata-code {
    background-color: #e9ecef;
    color: #495057;
    font-size: 0.8em;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 4px;
}


.guest-room-popover {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
    z-index: 1000;
    margin-top: 5px;
    padding: 15px;
    width: 300px
}

.guest-room-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px
}

.guest-room-row:last-child {
    margin-bottom: 0
}

.guest-room-row .input-group-sm {
    display: flex
}

.guest-room-row input {
    width: 40px
}