/* Hotel Search Component Styles - Görseldeki gibi tasarım */

/* Transfer Search Component Styles */
#transfer .flight-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px;
}

/* Bus Search Component Styles */
#bus .flight-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px;
}

/* Tour Search Component Styles - Modern & User-Friendly */
#tour .tour-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px;
    border-radius: 16px;
}

#tour .tour-booking .booking-info {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
}

#tour .TypeSelect,
#tour .DateSelect,
#tour .ButtonSelect {
    flex: 1;
    min-width: 0;
    margin: 0 8px;
    display: flex;
    flex-direction: column;
}

#tour .search-field {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

#tour .field-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#tour .search-input {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    font-weight: 500;
}

#tour .search-input:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
    transform: translateY(-1px);
}

#tour .search-input:hover {
    border-color: #cbd5e1;
}

#tour .search-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #4D73FC, #6366F1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(77, 115, 252, 0.3);
}

#tour .search-button:hover {
    background: linear-gradient(135deg, #3d5fd8, #5b5bd6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.4);
}

#tour .search-button svg {
    width: 16px;
    height: 16px;
}

/* Ferry Search Component Styles - Modern & User-Friendly */
#ferry .ferry-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px;
    border-radius: 16px;
}

#ferry .ferry-booking .booking-info {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
}

#ferry .search-field {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    margin: 0 8px;
}

#ferry .field-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#ferry .search-input {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    font-weight: 500;
}

#ferry .search-input:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
    transform: translateY(-1px);
}

#ferry .search-input:hover {
    border-color: #cbd5e1;
}

#ferry .search-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #4D73FC, #6366F1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(77, 115, 252, 0.3);
}

#ferry .search-button:hover {
    background: linear-gradient(135deg, #3d5fd8, #5b5bd6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.4);
}

#ferry .search-button svg {
    width: 16px;
    height: 16px;
}

/* Ferry buton alanı */
#ferry .button-field {
    flex: 1;
    margin: 0 8px;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Transfer Search Component Styles - Enhanced */
#transfer .flight-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px;
    border-radius: 16px;
}

#transfer .search-field {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    margin: 0 8px;
}

#transfer .field-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#transfer .search-input {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    font-weight: 500;
}

#transfer .search-input:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
    transform: translateY(-1px);
}

#transfer .search-input:hover {
    border-color: #cbd5e1;
}

#transfer .search-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #4D73FC, #6366F1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(77, 115, 252, 0.3);
}

#transfer .search-button:hover {
    background: linear-gradient(135deg, #3d5fd8, #5b5bd6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.4);
}

#transfer .search-button svg {
    width: 16px;
    height: 16px;
}

/* Bus Search Component Styles - Enhanced */
#bus .flight-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 20px;
    border-radius: 16px;
}

#bus .search-field {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
    margin: 0 8px;
}

#bus .field-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#bus .search-input {
    width: 100%;
    height: 52px;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    font-size: 14px;
    color: #1e293b;
    transition: all 0.3s ease;
    font-weight: 500;
}

#bus .search-input:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
    transform: translateY(-1px);
}

#bus .search-input:hover {
    border-color: #cbd5e1;
}

#bus .search-button {
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, #4D73FC, #6366F1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(77, 115, 252, 0.3);
}

#bus .search-button:hover {
    background: linear-gradient(135deg, #3d5fd8, #5b5bd6);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.4);
}

#bus .search-button svg {
    width: 16px;
    height: 16px;
}

/* Ana container - Sadece hotel search için */
.hotel-booking .booking-info {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.hotel-booking .flight-search-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    flex-wrap: nowrap;
    padding: 35px 0;
}

/* Arama alanları - Tek satırda yan yana - Sadece hotel search için */
.hotel-booking .search-field {
    display: flex;
    flex-direction: column;
    position: relative;
    flex: 1;
}

.hotel-booking .field-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 4px;
    line-height: 1;
}

.hotel-booking .search-input {
    width: 100%;
    height: 50px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    font-size: 14px;
    color: #333;
    transition: all 0.3s ease;
}

.hotel-booking .search-input:focus {
    outline: none;
    border-color: #4D73FC;
    box-shadow: 0 0 0 2px rgba(77, 115, 252, 0.1);
}

.hotel-booking .search-input::placeholder {
    color: #999;
}

/* Şehir alanı - En geniş - Sadece hotel search için */
.hotel-booking .cityField {
    flex: 2.5;
    min-width: 200px;
}

/* Tarih alanları - Orta boyut - Sadece hotel search için */
.hotel-booking .search-field:not(.cityField):not(.guestField):not(.button-field) {
    flex: 1.2;
    min-width: 140px;
}

/* Misafir alanı - Küçük boyut - Sadece hotel search için */
.hotel-booking .guestField {
    flex: 1;
    min-width: 120px;
}

/* Buton alanı - En küçük, sadece ikon - Sadece hotel search için */
.hotel-booking .button-field {
    flex: 0.3;
    min-width: 50px;
    max-width: 60px;
}

/* Vertical line - Alanlar arası ayırıcı - Sadece hotel search için */
.hotel-booking .vertical-line {
    width: 1px;
    height: 30px;
    background: #e0e0e0;
    margin: 0 15px;
    flex-shrink: 0;
}

/* Arama butonu - Sadece ikon - Sadece hotel search için */
.hotel-booking .search-button {
    width: 100%;
    height: 50px;
    background: #4D73FC;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hotel-booking .search-button:hover {
    background: #3d5fd8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(77, 115, 252, 0.3);
}

.hotel-booking .search-button svg {
    width: 20px;
    height: 20px;
}

/* Buton sadece ikon için - Sadece hotel search için */
.hotel-booking .search-button .button-text {
    display: none;
}

.hotel-booking .search-button .button-icon {
    display: block;
}

/* Misafir alanı özel düzen - Sadece hotel search için */
.hotel-booking .room-booking {
    cursor: pointer;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 16px;
    background: white;
    transition: all 0.3s ease;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hotel-booking .room-booking:hover {
    border-color: #4D73FC;
    box-shadow: 0 0 0 2px rgba(77, 115, 252, 0.1);
}

.hotel-booking .total-guest {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Passenger dropdown - Sadece hotel search için */
.hotel-booking .passenger-area {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 1000;
    margin-top: 5px;
}

/* Autocomplete stilleri */
.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 2px solid #4D73FC;
    border-radius: 8px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99999 !important;
    position: absolute !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.ui-autocomplete .ui-menu-item {
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    transition: background-color 0.2s ease;
}

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

.ui-autocomplete .ui-menu-item:hover,
.ui-autocomplete .ui-menu-item.ui-state-focus {
    background-color: #4D73FC;
    color: white;
}

.ui-autocomplete .ui-menu-item div {
    padding: 0px 10px;
}

/* Autocomplete'in gizlenmesi için */
.ui-autocomplete.ui-widget.ui-widget-content {
    display: none !important;
}

/* Autocomplete'in görünür olması için */
.ui-autocomplete.ui-widget.ui-widget-content.ui-corner-all {
    display: block !important;
}

/* Basit autocomplete stilleri */
.simple-hotel-autocomplete {
    position: absolute !important;
    z-index: 999999 !important;
    background: white !important;
    border: 2px solid #4D73FC !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    min-width: 200px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.simple-hotel-autocomplete .autocomplete-option {
    padding: 10px 15px !important;
    cursor: pointer !important;
    border-bottom: 1px solid #f0f0f0 !important;
    transition: all 0.2s ease !important;
}

.simple-hotel-autocomplete .autocomplete-option:hover {
    background-color: #4D73FC !important;
    color: white !important;
}

/* Responsive tasarım */
@media (max-width: 1200px) {
    .hotel-booking .flight-search-container {
        gap: 0;
        padding: 15px;
    }
    
    .hotel-booking .cityField {
        flex: 2;
        min-width: 180px;
    }
    
    .hotel-booking .search-field:not(.cityField):not(.guestField):not(.button-field) {
        flex: 1.1;
        min-width: 120px;
    }
    
    .hotel-booking .guestField {
        flex: 0.9;
        min-width: 100px;
    }
    
    .hotel-booking .button-field {
        flex: 0.3;
        min-width: 45px;
    }
}

@media (max-width: 900px) {
    .hotel-booking .flight-search-container {
        flex-direction: column;
        gap: 16px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        align-items: stretch;
    }
    
    .hotel-booking .search-field {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: none;
    }
    
    .hotel-booking .cityField {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: none;
    }
    
    .hotel-booking .search-field:not(.cityField):not(.guestField):not(.button-field),
    .hotel-booking .guestField {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: none;
    }
    
    .hotel-booking .button-field {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        flex: none;
    }
    
    .hotel-booking .field-label {
        font-size: 14px;
        font-weight: 600;
        color: #333;
        margin-bottom: 8px;
        display: block;
    }
    
    .hotel-booking .search-input {
        width: 100%;
        height: 56px;
        padding: 16px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        background: white;
        font-size: 16px;
        color: #333;
        transition: all 0.3s ease;
    }
    
    .hotel-booking .search-input:focus {
        outline: none;
        border-color: #4D73FC;
        box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
    }
    
    .hotel-booking .search-input::placeholder {
        color: #999;
        font-size: 16px;
    }
    
    .hotel-booking .room-booking {
        width: 100%;
        height: 56px;
        padding: 16px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        background: white;
        font-size: 16px;
        color: #333;
    }
    
    .hotel-booking .room-booking:hover {
        border-color: #4D73FC;
        box-shadow: 0 0 0 3px rgba(77, 115, 252, 0.1);
    }
    
    .hotel-booking .search-button {
        width: 100%;
        height: 56px;
        background: #4D73FC;
        color: white;
        border: none;
        border-radius: 12px;
        font-size: 18px;
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        margin-top: 8px;
    }
    
    .hotel-booking .search-button:hover {
        background: #3d5fd8;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(77, 115, 252, 0.4);
    }
    
    .hotel-booking .search-button svg {
        width: 24px;
        height: 24px;
    }
    
    .hotel-booking .search-button .button-text {
        display: inline-block;
        font-size: 18px;
        font-weight: 600;
        margin-right: 8px;
    }
    
    .hotel-booking .search-button .button-icon {
        display: inline-block;
    }
    
    .hotel-booking .vertical-line {
        display: none;
    }
}



@media (max-width: 768px) {
    .hotel-booking .search-input{
        padding: 5px 10px;
        height: 46px;
    }
    .hotel-booking .flight-search-container{
        gap: 0;
    }

    .hotel-booking .flight-search-container {
        padding: 15px;
        margin: 10px;
    }
    
    .hotel-booking .search-input,
    .hotel-booking .room-booking,
    .hotel-booking .search-button {
        height: 44px;
    }
    
    .hotel-booking .search-input {
        font-size: 16px;
    }
}
