/* Avantio Arama Widget Stil Dosyası - Birchfort Entegrasyonu */

.avantio-sync-form,
.birchfort-search {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 15px;
}

.search-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    text-transform: capitalize;
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 45px;
    font-size: 14px;
    background-color: #f9f9f9;
}

.search-field select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #666;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* Tarih seçici için stiller */
.search-field.date-range .date-picker {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 45px;
    font-size: 14px;
    background-color: #f9f9f9;
    background-image: url('../img/calendar.svg');
    background-repeat: no-repeat;
    background-position: right 10px top 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Tarih seçici seçildiğinde stil */
.search-field.date-range .date-picker.date-selected {
    border-color: #3498db;
    background-color: #f0f7fc;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* Datepicker UI özelleştirmeleri */
.avantio-datepicker-wrapper {
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.15) !important;
    padding: 10px !important;
    font-family: inherit;
}

.avantio-datepicker-wrapper .ui-datepicker-header {
    border: none;
    background: #f5f5f5;
    border-radius: 6px;
}

.avantio-datepicker-wrapper .ui-datepicker-calendar .ui-state-default {
    border-radius: 4px;
    transition: all 0.2s ease;
}

.avantio-datepicker-wrapper .ui-datepicker-calendar .ui-state-active,
.avantio-datepicker-wrapper .ui-datepicker-calendar .ui-state-hover {
    background: #3498db !important;
    color: white !important;
    border-color: #3498db !important;
}
.children{
    position: relative;
}
/* Çocuk yaşları alanı için stiller */
.child-ages-container {
    margin-top: 10px;
    padding: 15px;
    background-color: #f5f8fa;
    border-radius: 8px;
    border: 1px solid #e1e8ed;
    position: absolute;
    top: 92px;
    left: 0;
    z-index: 10;
    width: 190px ;
}

.child-ages-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.child-age-field {
    display: flex;
    align-items: center;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    min-width: 120px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.child-number {
    margin-right: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.child-age-select {
    flex: 1;
    min-width: 60px;
    padding: 5px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
}

.avantio-datepicker-wrapper .ui-datepicker-calendar .ui-state-highlight {
    background: #e1f0fa;
    border-color: #3498db;
}

/* Select alanları için stiller */
.search-field select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 45px;
    font-size: 14px;
    background-color: #f9f9f9;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('../img/arrow.svg');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 10px top 50%;
}

.separator {
    margin: 0 10px;
    color: #666;
}

.search-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.advanced-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 45px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.advanced-btn:hover {
    background: #f5f5f5;
}

.search-btn {
    background: #333;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-weight: 600;
    height: 45px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.search-btn:hover {
    background: #555;
}

.avantio-search-results {
    margin-top: 20px;
}

.search-result-item {
    display: flex;
    margin-bottom: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.search-result-image {
    width: 200px;
    height: 150px;
    background-size: cover;
    background-position: center;
}

.search-result-content {
    padding: 20px;
    flex: 1;
}

.search-result-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.search-result-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff6600;
    margin-bottom: 10px;
}

.search-result-meta {
    display: flex;
    gap: 15px;
    color: #666;
    font-size: 14px;
}

/* Gelişmiş arama alanları */
.advanced-search-fields {
    width: 100%;
    display: none; /* Varsayılan olarak gizli */
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.advanced-search-fields.show {
    display: flex;
}

/* Mobil duyarlı tasarım */
@media (max-width: 768px) {
    .search-field {
        flex: 100%;
    }
    
    .search-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .search-result-item {
        flex-direction: column;
    }
    
    .search-result-image {
        width: 100%;
        height: 200px;
    }
}
