/* Traveler Dropdown Styles */
.traveler-dropdown-container {
    position: relative;
    z-index: 9999;
}

/* Search Bar Styles */
.search-bar {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-item {
    padding: 8px 0;
}

.search-item .position-relative {
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.search-item:hover .position-relative {
    border-color: #e0e0e0;
    border-radius: 4px;
}

/* Specific styles for input sections */
.origin-section, .destination-section, .date-section, .traveler-section {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin: 0 8px;
}

.origin-section:hover, .destination-section:hover, .date-section:hover, .traveler-section:hover {
    border-color: #bdbdbd;
}

.search-item select,
.search-item input {
    font-weight: 500;
    font-size: 16px;
}

.search-item .small {
    font-size: 12px;
}

/* Style for the form selects */
.form-select.border-0:focus,
.form-control.border-0:focus {
    box-shadow: none;
    outline: none;
}

/* Round search button */
.btn-danger.rounded-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.btn-danger.rounded-circle i {
    font-size: 20px;
}

.traveler-dropdown-toggle {
    cursor: pointer;
    width: 100%;
    height: 60px;
    padding-left: 40px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

.traveler-dropdown {
    position: fixed;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    display: none;
    width: 350px;
    max-height: 80vh;
    overflow-y: auto;
}

.traveler-dropdown.show {
    display: block;
}

.traveler-section {
    margin-bottom: 20px;
}

.traveler-section-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.traveler-type {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.traveler-info {
    flex: 1;
}

.traveler-label {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 0;
    color: #000;
}

.traveler-age {
    font-size: 14px;
    color: #777;
    margin-top: 2px;
}

.traveler-counter {
    display: flex;
    align-items: center;
}

.traveler-count-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: #000;
    transition: all 0.3s;
}

.traveler-count-btn:hover {
    background-color: #f5f5f5;
}

.traveler-count {
    margin: 0 10px;
    font-size: 16px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cabin-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.cabin-option {
    flex: 1 0 calc(50% - 10px);
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 500;
}

.cabin-option:hover {
    background-color: #f5f5f5;
}

.cabin-option.selected {
    border-color: #287dfa;
    background-color: rgba(40, 125, 250, 0.1);
    color: #287dfa;
}
