/* Search bar, öneriler, tarih, kalkış limanı ve kişi seçim panelleri.
 * style.css dosyasından taşınmıştır; mevcut kurallar korunur.
 */

/* SEARCH */

.ytk-neo-search-wrap {
    position: relative;
    min-width: 0;
    z-index: 50;
}

.ytk-neo-search {
    position: relative;
    width: 100%;
    height: 50px;
    display: grid;
    grid-template-columns: minmax(115px, 1fr) 144px 112px 80px;
    column-gap: 4px;
    padding-left: 4px;
    align-items: center;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dcdfe4;
    box-shadow:
        0 0 32px rgba(0,0,0,0.06),
        0 4px 8px rgba(0,0,0,0.16);
    overflow: hidden;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.ytk-neo-search:focus-within {
    background: #ffffff;
    border-color: #63687a;
}


.ytk-neo-search button[type="submit"] {
    height: 40px;
    margin-right: 6px;
    border: 0;
    border-radius: 999px;
    background: #0071eb;
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    transition:
        background 0.2s ease;
}

.ytk-neo-search button[type="submit"]:hover {
    background: #005fc4;
}

/* LIVE SEARCH DROPDOWN */

.ytk-search-segment {
    position: relative; min-width: 0; height: 42px; display: flex; align-items: center; gap: 8px;
    padding: 0 10px; border: 0; border-radius: 8px; background: transparent;
    color: #63687a; font: 500 15px/1.3 var(--ytk-font-family); letter-spacing: -.2px;
    text-align: left; cursor: pointer;
}
.ytk-search-segment:hover { background: #f4f5f7; }
.ytk-search-segment > .ytk-icon { flex: 0 0 21px; margin-left: auto; color: #1a2b49; font-size: 21px; }
.ytk-search-where { border-radius: 999px 8px 8px 999px; cursor: text; }
.ytk-search-where > .ytk-icon { margin-left: 0; color: #63687a; }
.ytk-search-where input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: inherit; font: inherit; letter-spacing: inherit; text-overflow: ellipsis; }
.ytk-search-where input::placeholder { color: #63687a; opacity: 1; }
.ytk-search-segment > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ytk-search-date::before, .ytk-search-guests::before { content: ''; position: absolute; left: -3px; top: 11px; height: 20px; width: 1px; background: #dcdfe4; }
.ytk-search-segment[aria-expanded="true"], .ytk-search-where:has(input[aria-expanded="true"]) { background: #fff; box-shadow: inset 0 0 0 1px #0071eb, 0 2px 5px rgba(26,43,73,.15); }
.ytk-search-segment:focus-visible { outline: 2px solid #0071eb; outline-offset: -2px; }

.ytk-simple-search {
    height: 50px; grid-template-columns: 22px minmax(0, 1fr) 78px;
    column-gap: 7px; padding-left: 12px;
}
.ytk-simple-search button[type="submit"] { height: 40px; }
.ytk-search-glass { color: #63687a; font-size: 22px; }
.ytk-simple-search .ytk-neo-search-input { width: 100%; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: #63687a; font: 500 15px/1.3 var(--ytk-font-family); letter-spacing: -.2px; }
.ytk-simple-search .ytk-neo-search-input::placeholder { color: #63687a; opacity: 1; }
.ytk-simple-search + .ytk-neo-search-results { position: absolute; top: calc(100% + 8px); left: 0; margin-top: 0; border: 1px solid #e3e7ed; border-radius: 8px; box-shadow: 0 6px 20px rgba(26,43,73,.16); }

.ytk-tour-search-dialog {
    position: fixed; z-index: 3000; box-sizing: border-box; inset: auto; top: var(--search-popover-top, 126px); left: var(--search-popover-left, 16px);
    width: var(--search-popover-width, 460px); max-width: calc(100vw - 32px);
    max-height: calc(100dvh - var(--search-popover-top, 126px) - 16px);
    margin: 0; padding: 0; border: 1px solid #dcdfe4; border-radius: 16px;
    background: #fff; color: #1a2b49; box-shadow: 0 6px 20px rgba(26,43,73,.2);
    overflow: auto; overscroll-behavior: contain;
}
.ytk-tour-search-form { display: flex; flex-direction: column; }
.ytk-tour-search-dialog button, .ytk-tour-search-dialog input, .ytk-tour-search-dialog select { font-family: inherit; }
.ytk-tour-search-body { min-height: 0; padding: 24px; }
.ytk-search-ports h3 { margin: 0 0 12px; font-size: 14px; font-weight: 600; color: #63687a; }
.ytk-search-port-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 10px; }
.ytk-search-port { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: #1a2b49; text-align: left; font-size: 15px; font-weight: 500; cursor: pointer; }
.ytk-search-port[hidden] { display: none; }
.ytk-search-port > .ytk-icon { flex: 0 0 21px; font-size: 21px; }
.ytk-search-port:hover, .ytk-search-port[aria-pressed="true"] { background: #ebeef1; }
.ytk-search-calendar-nav { display: flex; justify-content: space-between; height: 0; position: relative; top: 4px; }
.ytk-search-calendar-nav button { z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #1a2b49; cursor: pointer; }
.ytk-search-calendar-nav button:hover { background: #ebeef1; }
.ytk-search-calendar-nav button:disabled { color: #c3c8d1; cursor: default; }
.ytk-search-calendars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.ytk-tour-search-calendar h3 { margin: 8px 32px 18px; text-align: center; font-size: 18px; font-weight: 750; letter-spacing: -.4px; line-height: 1.4; }
.ytk-tour-search-week, .ytk-tour-search-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; text-align: center; }
.ytk-tour-search-week { margin-bottom: 12px; color: #63687a; font-size: 13px; font-weight: 600; }
.ytk-tour-search-days button { min-width: 0; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #1a2b49; font-size: 14px; font-weight: 600; cursor: pointer; }
.ytk-tour-search-days button:hover:not(:disabled) { background: #ebeef1; }
.ytk-tour-search-days button[aria-pressed="true"] { background: #1a2b49; color: #fff; }
.ytk-tour-search-days button:disabled { color: #c3c8d1; cursor: default; }
.ytk-search-guests-title { margin: 0 0 10px; color: #63687a; font-size: 14px; font-weight: 600; }
.ytk-search-guest-row { display: grid; grid-template-columns: minmax(0, 1fr) 28px 44px 28px; align-items: center; gap: 12px; padding: 15px 0; border-bottom: 1px solid #ebeef1; }
.ytk-search-guest-row label { margin: 0; color: #1a2b49; font-size: 15px; font-weight: 500; line-height: 1.4; letter-spacing: -.2px; }
.ytk-search-guest-row button { box-sizing: border-box; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 1px solid #1a2b49; border-radius: 50%; background: #fff; color: #1a2b49; cursor: pointer; }
.ytk-search-guest-row button:hover:not(:disabled) { background: #ebeef1; }
.ytk-search-guest-row button .ytk-icon { font-size: 18px; }
.ytk-search-guest-row button:disabled { color: #c3c8d1; border-color: #c3c8d1; cursor: default; }
.ytk-search-guest-row input { box-sizing: border-box; min-width: 0; width: 44px; height: 36px; padding: 0 3px; border: 1px solid #dcdfe4; border-radius: 8px; background: #fff; color: #1a2b49; font-size: 15px; font-weight: 500; text-align: center; appearance: textfield; }
.ytk-search-guest-row input::-webkit-inner-spin-button, .ytk-search-guest-row input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ytk-search-guests-done { display: block; margin: 18px 0 0 auto; min-height: 36px; padding: 0 20px; border: 0; border-radius: 8px; background: #1a2b49; color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.ytk-search-guests-done:hover { background: #40516b; }
.ytk-tour-search-update { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #1a2b49; color: #fff; font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1.2; cursor: pointer; }
.ytk-tour-search-update:hover { background: #40516b; }
.ytk-tour-search-update:focus-visible { outline: 2px solid #0071eb; outline-offset: 2px; }
.ytk-tour-search-dialog button:focus-visible, .ytk-search-guest-row input:focus-visible { outline: 2px solid #0071eb; outline-offset: 2px; }

.ytk-neo-search-results {
    position: relative;
    width: 100%;
    display: none;
    margin-top: 12px;
    border-radius: 0;
    background: #fff;
    border: 0;
    overflow: hidden;
}

.ytk-neo-search-results.is-visible {
    display: block;
}

.ytk-neo-search-top {
    padding: 17px 18px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(var(--ytk-ink-rgb),0.08);
}

.ytk-neo-search-top strong {
    color: var(--ytk-ink);
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
}

.ytk-neo-search-top a {
    color: var(--ytk-ink);
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.ytk-neo-search-list {
    max-height: 430px;
    overflow: auto;
    padding: 10px;
}

.ytk-neo-search-card {
    display: grid;
    width: 100%;
    border: 0;
    background: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 8px;
    color: var(--ytk-ink);
    text-decoration: none;
    transition:
        background 0.18s ease;
}

.ytk-neo-search-card:hover {
    background: #ebeef1;
}

.ytk-neo-search-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(2,79,77,0.12), rgba(var(--ytk-ink-rgb),0.08));
}

.ytk-neo-search-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ytk-neo-search-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ytk-neo-search-info strong {
    color: var(--ytk-ink);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ytk-neo-search-info small {
    color: rgba(var(--ytk-ink-rgb),0.52);
    font-size: 12px;
    line-height: 1;
    font-weight: 500;
}


.ytk-neo-search-message {
    padding: 22px;
    color: rgba(var(--ytk-ink-rgb),0.62);
    font-size: 14px;
    font-weight: 600;
}
