﻿/*=========================================================================SEARCHBAR START*/
.popover-content {
    border-top: 1px solid #aaaaaa;
    padding: 7px 6px 2px 6px;
    height: auto;
}
.popover-btn {
    font-size: 15px !important;
    padding: 2px 5px 2px 5px !important;
    margin-right: 5px;
    margin-bottom: 5px;
    text-align: left;
    white-space: break-spaces;
    color: white !important;
}
#ddlOnlyHotelSearch .select2-dropdown {
    border-radius: 0 !important;
}
/*.searchbar-bg {
    background:url(/assets/img/searchbar-bg.jpg);
}*/
.searchbar-container {
    padding: 35px 52px;
    background: rgba(13, 67, 127, 1);
    width: 100%;
    border-radius: 16px 16px 8px 8px;
    margin: 0 auto;
    /*margin-bottom: 20px;*/
    /*border: solid 3px rgba(13, 67, 127, 1);*/
    max-width: 1200px;
    text-align: left;
    position: relative;
    z-index: 1;
}
.searchbar-container-packagetour {
    height: 100%;
}
.searchbar-input::-webkit-input-placeholder {
    color: rgba(66, 66, 66, 1);
}
.searchbar-input::-moz-placeholder {
    color: rgba(66, 66, 66, 1);
}
.searchbar-input::-ms-placeholder {
    color: rgba(66, 66, 66, 1);
}
.searchbar-input::placeholder {
    color: rgba(66, 66, 66, 1);
}

.searchbar-pills .nav-link {
    background-color: #bbb;
    color: #fff;
    border-radius: 8px 8px 0px 0px;
    font-weight: 500;
    text-transform: uppercase;
    border-bottom: 3px solid #bbb;
    padding: 8px 20px 8px 20px;
    position: relative !important;
    bottom: -10px !important;
    height: 40px !important;
}
.searchbar-input {
    width: 100%;
    height: 43px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: rgba(66, 66, 66, 1) !important;
    font-size: 15px;
    padding-left: 43px;
    padding-right: 15px;
    letter-spacing: 0.1px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

#lengthOfStay {
    background-image: url("../../assets/img/layout/searchbar-clock.svg");
    background-position: 8px center;
    background-repeat: no-repeat;
    background-size: 27px;
}

#checkInCheckOutDates {
    background-image: url("../../assets/img/layout/searchbar-date.svg");
    background-position: 8px center;
    background-repeat: no-repeat;
    background-size: 27px;
}

#txt_tourists_PackageTour {
    background-image: url("../../assets/img/layout/searchbar-adult.svg");
    background-position: 8px center;
    background-repeat: no-repeat;
    background-size: 27px;
}

.searchbar-container .select2-container--default .select2-selection--single {
    border: none;
    background-color: inherit;
}

#mdlSearchbarDatepickers {
    padding: 0 68px !important;
}

.date-range-selected {
    background-color: #40C1C5 !important;
}

/* Seçili aralıktaki günler müsait (highlight-true) olsa da turkuaz kazansın.
   highlight-true (#divCalendarViewer td.highlight-true) ile eşit özgüllükte olduğundan
   iki class'ı birlikte kullanıp (daha spesifik) yeşil zemini kesin ez. */
#divCalendarViewer td.date-range-selected.highlight-true {
    background-color: #40C1C5 !important;
}

#divCalendarViewer td.date-range-selected.highlight-true a {
    color: #fff !important;
}

/* Seçili + müsait günde uçak ikonu beyaz olsun (turkuaz zeminde okunsun) */
#divCalendarViewer td.date-range-selected.highlight-true::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E");
}

#divCalendarViewer .ui-widget.ui-widget-content {
    width: 100% !important;
    position: inherit !important;
    padding: 0 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.ui-widget.ui-widget-content {
    padding: 30px;
}

.ui-widget-content {
    border: none !important;
}

.ui-datepicker-multi .ui-datepicker-group table {
    width: 100%;
    margin: 0 auto;
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: none !important;
    background: none !important;
    padding: 0 !important;
    color: #8d8d8d;
}

.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
    color: #aaa !important;
    opacity: inherit !important;
}

.ui-datepicker td.ui-state-disabled {
    opacity: 1 !important;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    color: rgba(51, 51, 51, 1) !important;
}

.ui-datepicker td, .ui-datepicker th {
    border: 1px solid #E0E0E0;
}

.ui-widget-header {
    border: none !important;
    background: none !important;
    padding: 0 !important;
}

#divCalendarViewer .ui-datepicker .ui-datepicker-title {
    /* Takvim küçültme: başlık-altı boşluk 38→14 (panel scroll olmadan Wybierz butonu görünsün). */
    margin: 0 0 14px 0 !important;
    text-align: inherit !important;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    color: #424242;
}

.ui-widget.ui-widget-content {
    -webkit-box-shadow: 0px 0px 12px -2px rgba(66, 68, 90, 1);
    -moz-box-shadow: 0px 0px 12px -2px rgba(66, 68, 90, 1);
    box-shadow: 0px 0px 12px -2px rgba(66, 68, 90, 1);
}

#divCalendarViewer .ui-corner-left .ui-datepicker-title {
    text-align: right !important;
}

.ui-datepicker .ui-datepicker-prev {
    left: -6px !important;
    top: -7px !important;
    transform: rotate(180deg);
}

.ui-datepicker .ui-datepicker-next {
    right: -6px !important;
    top: -6px !important;
}

.ui-datepicker-header .ui-state-disabled {
    opacity: inherit !important;
    filter: brightness(0) saturate(100%) invert(80%) sepia(6%) saturate(4%) hue-rotate(330deg) brightness(108%) contrast(94%);
}

.ui-datepicker td {
    /* Gün hücresi 48→34 (6 hafta ≈ 84px kısalma) — takvim scroll'suz sığsın (1366×768). */
    width: 34px;
    height: 34px;
    padding: 0 !important;
    color: #333;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.ui-datepicker th {
    height: 24px;
    padding: 0 !important;
    color: #666;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.ui-datepicker-multi-2 .ui-datepicker-group {
    width: 46.5% !important;
}

.ui-datepicker-group-last {
    margin-left: 48px;
}

.datepicker-days {
    /* Panel üst/alt boşluğu 32→6 (takvim küçültme, scroll'suz select). */
    padding: 6px 0;
    border-top: 2px solid #D9D9D9;
}

.ui-widget-header .ui-icon {
    background-image: url("../../assets/img/layout/maki-arrow.svg") !important;
    background-position: center !important;
}

#txtDateInfo div h3 {
    margin: 0 0 6px 0;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    color: #424242;
}

.searchbar-container .select2-selection__arrow {
    display: none;
}
/*.searchbar-container .select2-container {
    padding-left: 10px;
}*/
.searchbar-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #44bcc5;
    font-size: 15px;
    padding-left: 35px;
    padding-right: 20px;
    letter-spacing: 0.1px;
    line-height: 25px;
}
.searchbar-col:last-child {
    border-right: none;
}

.adult-count {
    position: relative;
    max-width: 120px !important;
}
.adult-count.full-width {
    max-width: 150px !important;
}
/* Reduce margin between adult-count and search button */
.adult-count + .w-100 + .searchbar-btn-container,
.adult-count ~ .searchbar-btn-container {
    margin-left: 10px !important;
}
.searchbar-label {
    margin-bottom: 7px;
    letter-spacing: 0.7px;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    text-align: left;
    color: #fff;
}
.searchbar-btn-search {
    width: 68px;
    height: 41px;
    background-color: #fbb820;
    border-radius: 12px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    bottom: 0;
    box-shadow: 0px 8px 20px 0px rgba(207, 142, 23, 0.3);
}
.searchbar-btn-search-mobile {
    background-color: #fbb820;
    border-radius: 40px;
    height: 48px;
    width: 90%;
    font-weight: 700;
    font-size: 18px;
    color: white;
    border: none;
    letter-spacing: 0.4px;
    /**/
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.searchbar-btn-container {
    margin: 6px 7px 0px 6px;
}
/* Override Bootstrap ml-md-5 to keep search button closer */
@media (min-width: 768px) {
    .searchbar-btn-container.ml-md-5 {
        margin-left: 15px !important;
    }
}

.searchbar-btn-suggest-hotel-mobile {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 0.4px;
    color: white;
    background-color: #fbb820;
    border-radius: 35px;
    height: 60px;
    width: 209px;
    border: none;
}
.tourists-block {
    background: white;
    padding: 0;
    z-index: 2;
    font-size: 16px;
    margin: 0 19px;
}
.minus, .plus {
    padding: 5px 13px;
    font-weight: 500;
    background: #fff;
    border-radius: 2px;
    border: 1px solid #D9D9D9;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    text-align: center;
    font-size: 14px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-sizing: border-box;
}
.tourist-btn {
    width: 100%;
    height: 30px;
    font-weight: 500;
    background: #f2f2f2;
    border-radius: 4px;
    border: 1px solid #ddd;
    font-size: 14px;
}
.number-input {
    padding: 4.7px 0 !important;
    width: 32px !important;
    text-align: center !important;
    font-size: 14px !important;
    border: 1px solid #ddd !important;
    display: inline-block !important;
    vertical-align: middle !important;
    font-weight: 400 !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
.search-bar-hr {
    margin-bottom: 16px !important;
    margin-top: 16px !important;
    border: 1px solid #D9D9D9;
}
.child-age-msg-PackageTour {
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 22px;
    color: #40C1C5;
}
.child-age-msg {
    font-style: italic;
    font-size: 16px;
    text-align: center;
}
.child-bd {
    font-size: 16px;
}
.custom-padding {
    padding-right: 3px !important;
    padding-left: 3px !important;
}
.dp-child {
    height: 40px;
    font-size: 14px !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
    border: 1px solid #40C1C5 !important;
    text-align: left !important;
    background-color: #fff !important;
    background-image: url("../../assets/img/layout/searchbar-date_2.svg");
    background-position: 94%;
    background-repeat: no-repeat;
    background-size: 19px;
}
.searchbar-product-li {
    width: 160px;
    text-align: center;
}
.searchbar-product-li .active {
    border-bottom: 3px solid white;
}
.searchbar-product-a:hover {
    text-decoration: none;
    color: white;
}
.searchbar-product-a {
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.4px;
    color: white;
    padding-bottom: 12px;
    display: block;
}
.searchbar-product-nav {
    margin-bottom: 16px;
    margin-top: 16px;
}
.searchbar-sticky-container {
    background: rgb(94,150,211);
    background: linear-gradient(0deg, rgb(166,198,235) 0%, rgba(85,144,210,1) 100%);
    padding: 25px 0 10px 0;
    position: relative;
    z-index: 100;
}
.searchbar-sticked {
    background: #4d5864 !important;
    margin-top: 101px;
    z-index: 1000 !important;
}
.searchbar-sticked .searchbar-container {
    height: 60px;
}
.searchbar-sticked .searchbar-container-packagetour {
    height: 105px;
}
.searchbar-sticked .searchbar-col {
    margin-top: 5px !important;
    height: fit-content;
}
.searchbar-sticked .searchbar-btn-container {
    margin: 0px;
}
.mobile-searchbar {
    
}
.mobile-searchbar .searchbar-container {
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}
.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: rgba(66, 66, 66, 1) !important;
}

div.searchbar-container > div > div.col {
    height: 72px;
}

.searchbar-btn-container {
    position: relative;
}

#pills-tabContent {
    border-radius: 16px;
    position: relative;
    background: rgba(243, 184, 76, 1);
    overflow: visible;
}

.search-filters {
    border-radius: 0 0 16px 16px;
    box-shadow: 0px 8px 20px 0px rgba(207, 142, 23, 0.3);
    position: relative;
    z-index: 1;
}

.search-filters > div {
    padding-left: 52px;
    padding-right: 52px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.search-filters > div div {
    position: relative;
}

.search-filters div div input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 24px;
    width: 24px;
    z-index: 1;
}

.search-filters div div span.checkmark {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    background-color: #fff;
}

.search-filters div div span.checkmark::after {
    width: 12px;
    height: 12px;
    background-color: #fff;
}

.search-filters div div input:checked + .checkmark {
    background-color: #0D437F;
}

.search-filters div div label {
    margin-bottom: 4px;
    padding-left: 38px;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 14px;
    vertical-align: middle;
    cursor: pointer;
    color: #fff;
}

.searchbar-container::before {
    content: "";
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: rgba(30, 30, 30, 0.30);
}

.searchbar-container.active::before {
    display: block;
}

.icon-search-big > img {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#ddlPackageTourTo, #ddlPackageTourFrom {
    border: none;
    overflow: hidden;
    clip-path: inset(50%) !important;
    -webkit-clip-path: inset(50%) !important;
}

#packageTourTo, #packageTourFrom, #lengthOfStay, #checkInCheckOutDates, #txt_tourists_PackageTour {
    width: 100%;
    height: 43px;
    margin: 0;
    padding: 11px 28px 10px 43px;
    border-radius: 8px;
    position: relative;
    cursor: pointer;
    font-size: 15px;
    color: rgba(66, 66, 66, 1);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

#packageTourTo::after {
    content: "";
    width: 27px;
    height: 27px;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-48%);
    background-image: url("../../assets/img/layout/searchbar-plane-up.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#packageTourFrom::after {
    content: "";
    width: 27px;
    height: 27px;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-48%);
    background-image: url("../../assets/img/layout/searchbar-pin.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ddlPackageTourDropdown {
    display: none;
    width: 90%;
    margin: 0 auto !important;
    padding: 32px 28px;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    text-align: left;
    background-color: #fff;
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
}

.datePickerDropdown {
    max-height: 600px;
    overflow-y: scroll;
}

.adultCountDropdown {
    width: 38%;
    max-height: 550px;
    overflow-y: scroll;
    margin: 10px 5% 0 auto;
    padding: 32px 24px;
}

.adultCountDropdown input[name="selectDestination"] {
    margin-left: 16px;
}

.searchbarFilterTab {
    margin-top: 12px;
}

.searchbarFilterTabBtn {
    padding: 10px 16px;
    border: 1px solid #44bcc5;
    border-radius: 5px;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 13px;
    color: #44bcc5;
    cursor: pointer;
    background-color: #fff;
}

.arrival-column-header {
    padding: 10px 0;
    font-family: Montserrat;
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
    color: #fff;
    background-color: #44bcc5;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 4px;
}

.arrival-columns .arrival-column {
    padding: 0 4px;
}

/* ARAMA MODU (.search-active) — 5 kategori kolonu (Kraje/Regiony/Miejscowość/Hotele/Lotniska).
   Lotniska kolonu kaldırıldıktan sonra (2026-07-06) arama modunda 4 kolon var
   (kraje/regiony/miejscowosc/hotele) → her kolon sabit %25 = %100 (sağda boşluk kalmasın).
   ÖNEMLİ: yalnız .search-active'e scope'lu — default gezinme modunda (ülke grid'i kraje kolonunda)
   kolonları sıkıştırıp bozmasın. */
@media (min-width: 768px) {
    .ddlPackageTourDropdown.search-active .arrival-columns .row > .arrival-column {
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

/* OnlyHotel modunda (only-hotel checkbox → tab-content'e .mobileOnly eklenir) Lotniska/havalimanı
   kolonu her zaman GİZLİ. CSS ile garanti: arama re-render'ı JS hide'ı ezse bile kolon gizli kalır.
   (Uçuş yoksa havalimanı seçimi anlamsız.) */
.tab-content.mobileOnly .arrival-column[data-category="lotniska"] {
    display: none !important;
}

.arrival-columns .destinations {
    position: relative;
    padding-left: 22px;
    font-family: Montserrat;
    font-size: 13px;
    color: #424242;
    cursor: pointer;
    white-space: nowrap;
}

.arrival-columns .destinations input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.arrival-columns .destinations .checkmark {
    position: absolute;
    top: 3px;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: #D9D9D9;
    border-radius: 2px;
    cursor: pointer;
}

.arrival-columns .destinations input:checked + .checkmark {
    background-color: #40C1C5;
}

.arrival-columns .destinations label {
    margin: 0;
    cursor: pointer;
    font-weight: 400;
}

.destination-selection-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 8px 0;
}

.destination-selection-text {
    flex: 1;
    padding: 8px 16px;
    border: 2px dashed #44bcc5;
    border-radius: 25px;
    font-family: Montserrat;
    font-size: 12px;
    color: #999;
    min-height: 38px;
    display: flex;
    align-items: center;
}

/* === TWO-MODE DESTINATION DROPDOWN === */

/* Filter buttons (All / Popular) */
.destination-filter-buttons {
    display: flex;
    gap: 8px;
    margin: 12px 0 0 0;
    padding: 0 4px;
}

.dest-filter-btn {
    padding: 8px 20px;
    border: 1px solid #44bcc5;
    border-radius: 20px;
    font-family: Montserrat;
    font-size: 13px;
    font-weight: 600;
    color: #44bcc5;
    background-color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.dest-filter-btn.active {
    color: #fff;
    background-color: #44bcc5;
    border-color: #44bcc5;
}

/* --- DEFAULT MODE (no .search-active) --- */

/* Hide category headers */
.ddlPackageTourFromDropdown:not(.search-active) .arrival-column-header {
    display: none;
}

/* Hide Regiony/Miejscowość/Hotele/Lotniska columns — DEFAULT (arama olmayan) modda.
   !important: JS DestinationsStatusByProductType() bu kolonlara (özellikle lotniska/havalimanı) inline
   display:block koyuyordu → arama silinip default'a dönünce airport kolonu kalıyordu. !important inline'ı ezer. */
.ddlPackageTourFromDropdown:not(.search-active) .arrival-column[data-category="regiony"],
.ddlPackageTourFromDropdown:not(.search-active) .arrival-column[data-category="miejscowosc"],
.ddlPackageTourFromDropdown:not(.search-active) .arrival-column[data-category="hotele"],
.ddlPackageTourFromDropdown:not(.search-active) .arrival-column[data-category="lotniska"] {
    display: none !important;
}

/* Kraje column spans full width, 4 independent columns */
.ddlPackageTourFromDropdown:not(.search-active) .arrival-column[data-category="kraje"] {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    gap: 6px;
}

/* Each column wrapper — auto-sized based on content, then grows equally */
.ddlPackageTourFromDropdown:not(.search-active) .kraje-col {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
}

/* Hide search-mode selection bar in default mode */
.ddlPackageTourFromDropdown:not(.search-active) .destination-selection-bar {
    display: none !important;
}

/* Show default footer */
.destination-default-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 12px 0 0;
}

/* Regiony details — summary inline with country name, cities below */
.country-regions-detail {
    display: inline;
    margin-left: 6px;
}

.country-regions-detail > summary {
    display: inline;
    cursor: pointer;
}

.country-regions-detail > summary > p {
    display: inline;
    white-space: nowrap;
}

/* --- SEARCH MODE (.search-active) --- */

/* Hide filter buttons */
.ddlPackageTourFromDropdown.search-active .destination-filter-buttons {
    display: none;
}

/* Hide default footer */
.ddlPackageTourFromDropdown.search-active .destination-default-footer {
    display: none;
}

/* Hide inline Regiony in search mode */
.ddlPackageTourFromDropdown.search-active .country-regions-detail {
    display: none !important;
}

/* Restore normal column layout for Kraje */
.ddlPackageTourFromDropdown.search-active .arrival-column[data-category="kraje"] {
    display: block;
    flex: 1;
    max-width: 25%;
}

/* Make column wrappers transparent in search mode */
.ddlPackageTourFromDropdown.search-active .kraje-col {
    display: contents;
}

/* Reset nowrap for search mode — destinations need normal wrapping in 25% columns */
.ddlPackageTourFromDropdown.search-active .destinations {
    white-space: normal;
}

/* --- POPULAR FILTER --- */
.ddlPackageTourFromDropdown.filter-popular .destinations[data-shortcut="false"] {
    display: none !important;
}

/* --- INLINE CITY TOGGLE (under country Regiony) --- */
.inline-city-toggle {
    position: relative;
    padding-left: 20px;
    font-family: Montserrat;
    font-size: 12px;
    color: #424242;
    cursor: pointer;
    line-height: 18px;
}

.inline-city-checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 12px;
    width: 12px;
    background-color: #D9D9D9;
    border-radius: 2px;
    display: inline-block;
}

.inline-city-toggle.checked .inline-city-checkmark {
    background-color: #40C1C5;
}

.country-cities-list {
    display: flex;
    flex-direction: column;
    padding-left: 8px;
    margin-top: 2px;
    white-space: normal;
}

/* === END TWO-MODE === */

.searchbarFilterTabBtn.colorless {
    border-color: #D9D9D9;
    color: #424242;
}

.searchbarFilterTabBtn.active {
    color: #fff;
    background-color: #44bcc5;
}

.departure-destinations-tab {
    position: relative;
}

.departure-destinations-tab::after {
    content: "";
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: -1;
    background: rgba(217, 217, 217, 1);
}

.departure-destinations-btn {
    padding-bottom: 16px;
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.48px;
    cursor: pointer;
    color: #D9D9D9;
}

.departure-destinations-btn.active {
    padding: 0 46px 16px 32px;
    border-bottom: 3px solid #F3B84C;
    color: #F3B84C;
}

input[name="clearSelectionFrom"], input[name="clearSelectionAirport"], input[name="clearSelectionLengthOfStay"], input[name="clearSelectionDatePicker"], input[name="clearSelectionAdultCount"] {
    height: 36px;
    padding: 8px 24px;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.42px;
    border-radius: 12px;
    border: 1px solid #40C1C5;
    color: #40C1C5;
    background-color: #fff;
}

input[name="selectDestination"] {
    height: 36px;
    margin-left: 32px;
    padding: 8px 24px;
    border: none;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    letter-spacing: 0.42px;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(77deg, #F3B84C -4.17%, #FFA011 97.55%);
    box-shadow: 0px 8px 20px 0px rgba(207, 142, 23, 0.30);
}

.arrival-list {
    margin: 32px 0;
}

.arrival-country-header {
    font-family: Montserrat;
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    color: #424242;
    cursor: default;
}

.ddlPackageTourDropdown div div label {
    margin: 0;
    padding-left: 22px;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    cursor: pointer;
    color: #424242;
}

input#searchPackageTourTo {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    font-family: Montserrat;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    border: 2px solid #44bcc5;
    border-radius: 4px;
    background-image: url("../../assets/img/layout/filter-search.svg");
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: right 24px bottom 50%;
}

.ddlPackageTourDropdown div details summary {
    position: relative;
    list-style-type: none;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    color: #424242;
}

.ddlPackageTourDropdown div details summary::-webkit-details-marker {
    display: none;
}

.ddlPackageTourDropdown div details summary > p {
    position: relative;
    /* ::after ikonu (ok/kapat) sağda absolute duruyor; hardcoded ▼ kaldırıldı, yazıyla ikon çakışmasın diye yer aç */
    padding-right: 16px;
    font-family: Montserrat;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    color: #40C1C5;
}

.ddlPackageTourDropdown div details summary > p::after {
    content: "";
    width: 6px;
    height: 6px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-image: url("../../assets/img/layout/up-arrow.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.ddlPackageTourDropdown div details[open] summary > p::after {
    background-image: url("../../assets/img/layout/close.svg");
}

.ddlPackageTourDropdown div details div {
    display: flex;
    position: relative;
}

input.popover-btn {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 14px;
    width: 14px;
    z-index: 1;
}

.departure-list div {
    position: relative;
}

.ddlPackageTourDropdown .title {
    font-family: Montserrat;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 18px;
    letter-spacing: 0.48px;
    color: #40C1C5;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 14px;
    width: 14px;
    background-color: rgba(217, 217, 217, 1);
    cursor: pointer;
    border-radius: 2px;
}

input:checked + .checkmark, input[checked="checked"] + .checkmark {
    background-color: #40C1C5;
}

input:checked + .checkmark::after, input[checked="checked"] + .checkmark::after {
    display: block;
}

span.checkmark::after {
    content: "";
    display: none;
    width: 6px;
    height: 6px;
    margin: 0 auto;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    background-color: #fff;
}

.ddlPackageTourFromDropdown div details div label {
    margin: 0;
    padding-left: 22px;
    font-family: Montserrat;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    cursor: pointer;
    color: #424242;
}

@media(min-width:769px) {
    /*.select2-dropdown {
        width: 290px !important;
    }*/
}

@media(max-width:767px) {
    .ddlPackageTourFromDropdown:not(.search-active) .arrival-column[data-category="kraje"] {
        flex-wrap: wrap;
    }
    .ddlPackageTourFromDropdown:not(.search-active) .kraje-col {
        flex: 0 0 calc(50% - 8px);
    }
    .mobile-searchbar .searchbar-container {
        margin-bottom: 0;
    }
    .searchbar-pills .nav-link {
        font-size: 13px;
    }
    .popover-content {
        /*padding: 7px 5px 2px 5px;
        bottom: -72px;*/
    }
    .popover-btn {
        font-size: 14px !important;
    }
    .date-range-selected > .ui-state-active, .date-range-selected > .ui-state-default {
        background: none;
        /*background-color: #43a2ff !important;*/
        color: white !important;
    }
    .ui-datepicker-multi .ui-datepicker-group {
        width: 100% !important;
    }
    .ui-datepicker td {
        height: 38px;
    }
    .ui-widget.ui-widget-content {
        padding: 15px;
    }
    .datepicker-mobile .ui-widget-header {
        border: none;
        background: none;
    }
    .ui-widget-header {
        margin-bottom: 15px;
    }
    .ui-datepicker .ui-datepicker-prev {
        top: 50% !important;
        transform: rotate(180deg) translateY(48%);
    }
    .ui-datepicker .ui-datepicker-next {
        top: 50% !important;
        transform: translateY(-50%);
    }
    #divCalendarViewer .ui-datepicker .ui-datepicker-title {
        margin: 0 !important;
    }
    .datepicker-mobile .ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
        display: none;
    }
    .datepicker-mobile .ui-datepicker-calendar > thead {
        display:none;
    }
    .ui-datepicker select.ui-datepicker-month, .ui-datepicker select.ui-datepicker-year {
        padding: 3px 2px;
    }
    .ui-datepicker-year {
        margin-left: 10px !important;
    }
    .datepicker-mobile .ui-datepicker .ui-datepicker-title {
        margin: 1em 0 0.5em 1em;
        line-height: 2em;
        text-align: left;
        font-size: 18px;
    }
    .datepicker-mobile .ui-datepicker table {
        font-size: 1.3em;
    }
    .datepicker-mobile .ui-state-default {
        background: none;
    }
    .datepicker-mobile .ui-datepicker td span, .ui-datepicker td a {
        text-align:center;
    }
    .datepicker-mobile .ui-state-default, .ui-widget-content .ui-state-default {
        border: 1px solid #e0dfdf;
    }
    .ui-datepicker-group-last {
        margin-left: 0 !important;
        margin-top: 35px !important;
    }
    .ui-datepicker .ui-datepicker-next {
        display: block !important;
    }
    #mdlSearchbarDatepickers > div {
        text-align: center !important;
    }
    input[name="clearSelectionFrom"], input[name="clearSelectionAirport"], input[name="clearSelectionLengthOfStay"], input[name="clearSelectionDatePicker"], input[name="clearSelectionAdultCount"] {
        font-size: 13px;
        padding: 8px 10px;
    }
    input[name="selectDestination"] {
        font-size: 13px;
        padding: 8px 10px;
        margin-left: 20px;
    }
    #divCalendarViewer .ui-corner-left .ui-datepicker-title {
        text-align: center !important;
    }
    .h50px {
        height: 50px;
    }
    .datepicker-days {
        padding: 25px 20px;
        text-align: center;
        border: 1px solid #d0d0d4;
        font-size: 16px;
        font-weight: 500;
    }
    .searchbar-container {
        padding: 25px !important;
        height: auto;
        border-radius: 16px 16px 0 0;
    }
    .searchbar-col {
        border: none;
        height: auto;
        padding-bottom: 12px;
        margin-top: 12px;
    }
    .searchbar-label {
        font-size: 15px;
    }
    .searchbar-container input, select {
        font-size: 15px;
        color: #929EB1;
    }
    .adult-count, .adult-count.full-width {
        max-width: 100% !important;
    }
    .searchbar-container .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 15px;
    }
    .searchbar-btn-search-mobile {
        width: 98%;
    }
    .searchbar-btn-suggest-hotel-mobile {
        border-radius: 0 0 16px 16px !important;
        height: 48px;
        width: 100%;
        border: none;
    }
    .search-filters div div label {
        padding-left: 20px;
        font-size: 13px;
    }
    .arrival-list > div {
        padding: 0 !important;
    }
    .ddlPackageTourDropdown {
        width: 87%;
        padding: 20px;
        max-height: 500px;
        overflow-y: scroll;
        z-index: 2;
        -webkit-box-shadow: 0px 0px 5px 0px rgba(66, 68, 90, 1);
        -moz-box-shadow: 0px 0px 5px 0px rgba(66, 68, 90, 1);
        box-shadow: 0px 0px 5px 0px rgba(66, 68, 90, 1);
    }
    .ddlPackageTourFromDropdown {
        top: 154px;
    }
    .ddlPackageTourToDropdown {
        top: 238px;
    }
    .lengthOfStayDropdown {
        top: 325px;
    }
    .mobileOnly .lengthOfStayDropdown {
        top: 238px;
    }
    .datePickerDropdown {
        top: 410px;
    }
    .mobileOnly .datePickerDropdown {
        top: 325px;
    }
    .adultCountDropdown {
        top: 497px;
        margin: 0 auto;
    }
    .mobileOnly .adultCountDropdown {
        top: 410px;
    }
    .arrival-list {
        margin: 12px 0;
    }
    .tourists-block {
        padding: 5px 10px 5px;
        font-size: 16px;
        position: relative;
    }
    .ddlPackageTourDropdown div div label {
        line-height: 1.2em;
    }
    .lengthOfStayDropdown .searchbarFilterTabBtn {
        margin-left: 0 !important;
        margin-right: 10px !important;
        margin-top: 10px !important;
    }
    .dp-child {
        font-size: 16px;
    }
    .searchbar-product-li {
        width: 100px;
    }
    #mdlSearchbarDatepickers {
        padding: 0 !important;
    }
}

@media (max-width: 768px) {
    #ddlPackageTourTo, #ddlPackageTourFrom {
        display: none;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 992px) {
    .searchbar-container{
        width: 95%;
    }
    .tourists-block {
        width: 210px;
        margin-top: 10px;
    }
    .searchbar-container {
        padding-left: 15px;
    }
    .searchbar-container input, .searchbar-container select {
        font-size: 12px;
    }
    .searchbar-container .select2-container--default .select2-selection--single .select2-selection__rendered {
        font-size: 12px;
    }
}

.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
}

/* Müsait uçuş günü: tüm hücre açık yeşil kutu + koyu yeşil kalın yazı (referans B2C paneli) */
#divCalendarViewer td.highlight-true {
    position: relative;
    background-color: #b5e7bf !important;
    border-radius: 4px;
}

#divCalendarViewer td.highlight-true a {
    font-weight: bold !important;
    color: #1b5e20 !important;
    background: transparent !important;
}

/* Yeşil kutunun sağ-üst köşesine küçük yeşil uçak ikonu (uçuş var işareti) */
#divCalendarViewer td.highlight-true::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E");
}

.highlight-false a {
}

/* Takvim altı açıklama (legend): yeşil kutu = müsait uçuş günleri */
.datepicker-availability-legend {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: #555;
}

.datepicker-availability-legend .legend-swatch {
    position: relative;
    display: inline-block;
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background-color: #b5e7bf;
    flex: 0 0 auto;
}

.datepicker-availability-legend .legend-swatch::after {
    content: "";
    position: absolute;
    top: 2px;
    right: 2px;
    width: 11px;
    height: 11px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232e7d32'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5z'/%3E%3C/svg%3E");
}

/* English language specific styles - labels are longer in English */
html[lang="en"] .searchbar-container .searchbar-label {
    font-size: 11px;
    white-space: nowrap;
    overflow: visible !important;
    text-overflow: clip !important;
}

html[lang="en"] .searchbar-container .col-lg-2 {
    flex: 0 0 auto;
    width: auto;
    min-width: 13%;
}

html[lang="en"] .searchbar-container .adult-count {
    min-width: 130px;
}

html[lang="en"] .searchbar-container .adult-count .searchbar-label {
    font-size: 11px;
    overflow: visible !important;
    text-overflow: clip !important;
}
/*===========================================================================SEARCHBAR END*/