:root {
    --border: #e5e7eb;
    --primary: w
    --ring: rgba(30, 75, 255, .35)
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

* {
    font-family: "Inter", Helvetica, Arial, sans-serif
}

.campaign-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1b1a49;
    letter-spacing: -.5px
}

.campaign-section-title::after {
    content: "";
    display: block;
    width: 58px;
    height: 4px;
    border-radius: 10px;
    margin-top: 6px;
    background: linear-gradient(90deg, #35299a, #8e84ff)
}

.search-card {
    background: var(--bs-body-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(12px, 2.2vw, 18px);
    box-shadow: 0 8px 24px rgb(15 23 42 / .08);
    margin: auto;
    max-width: 1296px;
    width: 100%;
    z-index: 1000
}

@media (max-width:1386px) {
    .search-card {
        max-width: 1120px !important
    }
}

.day.range-start,
.day.range-end {
    background: #1E4BFF;
    color: #fff
}

.container-fluid {
    max-width: 1400px !important
}

a {
    text-decoration: none
}

html {
    scrollbar-width: thin;
    scrollbar-color: #35299a #eaeaf6
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #f6f6f9, #eaeaf6);
    border-radius: 10px;
    box-shadow: inset 0 0 3px rgb(0 0 0 / .1)
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #35299a, #2b2184);
    border-radius: 10px;
    box-shadow: inset 0 0 3px rgb(255 255 255 / .3);
    transition: background 0.3s ease
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3f33b4, #241b70)
}

::-webkit-scrollbar-corner {
    background: #eaeaf6
}

.bg-1 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 470px
}

.bg-1::before {
    background: linear-gradient(90deg, rgb(11 11 224 / .774) 0%, rgb(0 0 127 / .925) 100%)
}

[data-bs-theme="dark"] .btn-select {
    background: #198754;
    color: #fff
}

[data-bs-theme="dark"] .chat-circle {
    background: linear-gradient(135deg, #198754, #25a05c)
}

[data-bs-theme="dark"] .tab.active {
    box-shadow: 0 6px 16px rgb(25 135 84 / .35)
}

[data-bs-theme="dark"] .lead-icon {
    color: #198754;
    border-color: #198754
}

.brand-var {
    color: inherit
}

[data-bs-theme="dark"] .brand-var {
    color: #22c55e;
    text-shadow: 0 0 6px rgb(0 0 0 / .6);
    font-weight: 900
}

[data-bs-theme="dark"] .credit-card .front {
    background: linear-gradient(135deg, #198754, #22c55e)
}

[data-bs-theme="dark"] .credit-card .back {
    background: linear-gradient(135deg, #198754, #14532d)
}

[data-bs-theme="dark"] .bg-primary {
    background-color: #198754 !important
}

[data-bs-theme="dark"] .text-primary {
    color: #ffffff !important
}

[data-bs-theme="dark"] .btn-primary {
    background-color: #198754 !important;
    border-color: #198754 !important
}

[data-bs-theme="dark"] .btn-primary:hover {
    background-color: #157347 !important;
    border-color: #146c43 !important
}

[data-bs-theme="dark"] .bg-primary-subtle {
    background-color: rgb(25 135 84 / .1) !important;
    color: #198754 !important
}

@keyframes bgFlow {
    0% {
        background-position: center top
    }

    50% {
        background-position: center 55%
    }

    100% {
        background-position: center bottom
    }
}

.site-header {
    z-index: 20;
    font-family: 'Inter', sans-serif
}

.mobile-menu,
.side-menu,
.menu-overlay {
    display: none
}

@media (max-width:768px) {
    .desktop-menu {
        display: none !important
    }

    .mobile-menu {
        display: flex
    }

    .mobile-menu .logo {
        font-weight: 700;
        font-size: 28px;
        color: #fff;
        text-decoration: none
    }

    .menu-toggle {
        background: none;
        border: none;
        color: #fff;
        font-size: 28px;
        cursor: pointer
    }

    .menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgb(0 0 0 / .5);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: auto
    }

    .side-menu {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background: rgb(255 255 255 / .85);
        backdrop-filter: blur(12px);
        box-shadow: -4px 0 15px rgb(0 0 0 / .2);
        transition: right 0.3s ease;
        padding: 60px 20px 20px;
        z-index: 9999
    }

    .side-menu.active {
        right: 0
    }

    .close-menu {
        background: none;
        border: none;
        font-size: 28px;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 15px
    }

    .side-menu nav {
        display: flex;
        flex-direction: column;
        gap: 18px
    }

    .side-menu nav a {
        text-decoration: none;
        color: #111;
        font-size: 18px;
        font-weight: 500;
        padding: 8px 0;
        transition: color 0.2s
    }

    .side-menu nav a:hover {
        color: #e60023
    }
}

.top-bar {
    background-color: #fff0;
    padding: 5px 0
}

.custom-btn {
    border-radius: 25px;
    padding: 20px;
    font-size: 20px;
    font-weight: 500
}

.top-bar a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin: 7px;
    display: flex;
    align-items: center;
    gap: 4px
}

.top-bar .material-symbols-rounded {
    font-size: 14px
}

.logo {
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    text-decoration: none
}

.menu-links a {
    color: #fff;
    text-decoration: none;
    margin-left: 12px;
    font-size: 16px;
    font-weight: 800
}

.btn-outline-light {
    border-radius: 20px;
    padding: 3px 12px
}

.lead-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-right: 10px;
    transition: 0.2s;
    color: var(--primary)
}

[data-bs-theme="light"] .lead-icon {
    --border: #e2e8f0;
    --primary: #35299a
}

[data-bs-theme="dark"] .lead-icon {
    background: linear-gradient(180deg, #1e293b, #0f172a);
    --border: #334155;
    --primary: #818cf8
}

.lead-icon:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgb(0 0 0 / .15)
}

.field:focus-within .lead-icon {
    border-color: #e0e7ff;
    background: #eef2ff;
    box-shadow: 0 0 0 3px var(--ring)
}

.ms {
    font-family: "Material Symbols Rounded";
    font-weight: 400;
    font-style: normal;
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24
}

.tabs {
    display: flex;
    gap: clamp(6px, 1.2vw, 12px);
    margin-bottom: 14px;
    flex-wrap: wrap
}

.tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 16px;
    background: #eef2ff;
    border: 1px solid #e0e7ff;
    cursor: pointer;
    user-select: none;
    white-space: nowrap
}
@media (max-width: 768px) {
    .tab {
        font-size: 9px !important;
        line-height: 1.2;
        padding: 8px 10px; /* küçük fonta uyumlu */
        gap: 6px;
    }
}
.tab.active {
    background: #fff0;
    color: var(--primary);
    border: .5px solid var(--primary)
}

.tab svg,
.ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto
}

.form-grid {
    display: grid;
    align-items: stretch;
    gap: clamp(3px, 1.2vw, 2px);
    grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) auto auto
}
.form-grid-multi {
    display: grid;
    align-items: end;
    gap: 10px;

    /* Masaüstü: eşit ve geniş */
    grid-template-columns: repeat(3, 1fr) 44px;
}
@media (max-width: 768px) {
    .form-grid-multi {
        grid-template-columns: 1.2fr 1.2fr 0.8fr 44px;
        gap: 8px;
    }
}





.segment .swap-sm { display:none; }

@media (max-width:768px){
  .segment .swap-sm{
    display:flex;
    align-items:center;
    justify-content:center;
  }
}
/* Ensure inputs have room for the X button */
label.field input{
  padding-right: 38px;
  box-sizing: border-box;
}

/* Clear button */
.clear-x{
  position: absolute;
  right: 8px;
  top: 8px;
  width: 22px;
  height: 22px;
  line-height: 20px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  display: none;           /* shown only when input has something */
  align-items: center;
  justify-content: center;
  user-select: none;
}

/* Optional hover */
.clear-x:hover{ filter: brightness(0.98); }


.field {
    position: relative;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-body-bg);
    display: flex;
    align-items: center;
    padding: 10px 12px;
    min-height: 56px;
    width: 100%;
    transition: all 0.2s ease
}
@media (max-width: 768px) {
    .field {

        border-radius: 0;
        padding: 0;
        background: transparent;
        min-height: auto;
    }
}

.field:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px var(--bs-focus-ring-color, rgb(13 110 253 / .25))
}

[data-bs-theme="dark"] .field:focus-within {
    border-color: #198754 !important;
    box-shadow: 0 0 0 4px rgb(25 135 84 / .35) !important
}

.field .label {
    position: absolute;
    top: -9px;
    left: 12px;
    background: var(--bs-body-bg);
    padding: 0 6px;
    font-size: 12px;
    color: var(--bs-secondary-color)
}

.field input,
.field select {
    appearance: none;
    border: 0;
    outline: 0;
    width: 100%;
    font: 500 14px/1.2 Inter, sans-serif;
    background: #fff0;
    color: var(--bs-body-color);
    min-width: 0
}

@media (max-width:767.98px) {
    .field {
        height: 75px !important;
        padding: 14px 16px
    }
}

[data-bs-theme="dark"] .cal .day.selected,
[data-bs-theme="dark"] .cal .day.range-start,
[data-bs-theme="dark"] .cal .day.range-end {
    outline: 2px solid #198754 !important
}

[data-bs-theme="dark"] .day.selected {
    background: #198754;
    color: #fff
}

.swap {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px !important;
    border-color: black !important;
    background-color: #fff;
    color: #35299a
}

@media (max-width:768px) {
    .swap {
        margin-left: 0;
        margin-right: 0
    }
}

.swap svg {
    width: 32px;
    height: 30px
}

.ghost-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px dashed var(--bs-border-color);
    background: var(--bs-body-bg);
    border-radius: 12px;
    padding: 10px 14px;
    cursor: pointer;
    min-height: 56px;
    width: 100%;
    font-weight: 500 !important;
    font-size: 14px;
    color: var(--bs-body-color);
    transition: background .2s, border-color .2s
}

.ghost-btn:hover {
    background: var(--bs-secondary-bg)
}

.selectlike {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    border-radius: 12px;
    padding: 10px 14px;
    min-height: 56px;
    position: relative;
    width: 100%;
    min-width: 0;
    font-size: 14px;
    font-weight: 400 !important;
    color: var(--bs-body-color)
}

.selectlike:hover {
    border-color: var(--bs-primary)
}

[data-bs-theme="dark"] .selectlike:hover {
    border-color: #198754 !important
}

.cta {
    font-size: 14px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #35299a;
    color: #fff;
    font-weight: 500;
    height: 56px;
    white-space: nowrap;
    transition: filter .2s
}

.cta:hover {
    filter: brightness(.9)
}

.cta:disabled {
    opacity: .6;
    cursor: not-allowed
}

.toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    color: var(--bs-body-color)
}

.switch {
    position: relative;
    width: 50px;
    height: 28px;
    flex: 0 0 auto
}

.switch input {
    display: none
}

.track {
    position: absolute;
    inset: 0;
    background: var(--bs-border-color);
    border-radius: 999px;
    transition: .2s
}

.thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--bs-body-bg);
    border-radius: 999px;
    box-shadow: 0 2px 8px rgb(0 0 0 / .18);
    transition: .2s
}

.switch input:checked+.track {
    background: var(--bs-primary)
}

.switch input:checked+.track .thumb {
    left: 29px
}

.suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    border-radius: 14px;
    box-shadow: 0 20px 40px rgb(2 6 23 / .18);
    margin-top: 8px;
    max-height: 340px;
    overflow: auto;
    z-index: 70;
    display: none;
    overscroll-behavior: contain;
    width: clamp(260px, 92vw, 420px)
}

.suggestions .sugg-loading,
.suggestions .sugg-empty,
.suggestions .sugg-error {
    padding: 18px;
    color: var(--bs-secondary-color)
}

[data-bs-theme="dark"] .suggestions {
    box-shadow: 0 20px 40px rgb(0 0 0 / .6)
}

.sugg-loading,
.sugg-empty,
.sugg-error {
    padding: 18px 14px;
    text-align: center;
    color: var(--bs-secondary-color);
    font-size: 14px
}

.sugg-section {
    padding: 6px 0 8px
}

.sugg-title {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--bs-body-bg);
    font-size: 12px;
    font-weight: 700;
    color: var(--bs-secondary-color);
    padding: 10px 12px;
    border-bottom: 1px solid var(--bs-border-color)
}

.suggestion-item {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    color: var(--bs-body-color)
}

.suggestion-item[aria-selected="true"],
.suggestion-item:hover {
    background: var(--bs-tertiary-bg)
}

.suggestion-item+.suggestion-item {
    border-top: 1px dashed var(--bs-border-color)
}

.sugg-code {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 56px;
    height: 30px;
    border: 1px solid var(--bs-border-color);
    border-radius: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    background: var(--bs-tertiary-bg);
    color: var(--bs-body-color)
}

.sugg-name {
    font-weight: 700
}

.sugg-meta {
    color: var(--bs-body-color);
    ;
    font-size: 12px
}

.sugg-flag {
    font-size: 16px;
    margin-left: 8px
}

.sugg-mark {
    background: #ffedd5;
    border-radius: 4px;
    padding: 0 2px
}

.sugg-footer {
    position: sticky;
    bottom: 0;
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
    padding: 8px 12px;
    color: var(--bs-secondary-color);
    font-size: 12px
}

.kbd {
    border: 1px solid #e5e7eb;
    border-bottom-width: 2px;
    border-radius: 8px;
    padding: 2px 6px;
    font-size: 11px;
    color: #334155
}

.menu {
    position: absolute;
    z-index: 80;
    right: 0;
    top: calc(100% + 6px);
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    box-shadow: 0 12px 28px rgb(0 0 0 / .18);
    padding: 12px;
    display: none;
    max-width: 92vw;
    width: clamp(260px, 92vw, 420px)
}

.menu.open {
    display: block
}

.pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 4px;
    gap: 10px
}

.pax-left {
    display: flex;
    flex-direction: column;
    gap: 2px
}

.pax-title {
    font-weight: 700;
    color: var(--bs-body-color)
}

.pax-sub {
    font-size: 12px;
    color: var(--bs-secondary-color)
}

.stepper {
    display: inline-flex;
    align-items: center;
    gap: 10px
}

.btn-round {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bs-border-color);
    background: var(--bs-tertiary-bg);
    cursor: pointer;
    font-size: 18px;
    font-weight: 800;
    color: var(--bs-body-color)
}

.btn-round:disabled {
    opacity: .45;
    cursor: not-allowed;
    background: var(--bs-secondary-bg)
}

.count {
    min-width: 22px;
    text-align: center;
    font-weight: 700;
    color: var(--bs-body-color)
}

.fare-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 12px
}

.fare-btn {
    padding: 12px;
    border: 1px solid var(--bs-border-color);
    border-radius: 12px;
    background: var(--bs-body-bg);
    font-weight: 600;
    cursor: pointer;
    color: var(--bs-body-color)
}

.fare-btn.active {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px var(--bs-primary-bg-subtle)
}

[data-bs-theme="dark"] .fare-btn.active {
    border-color: #198754 !important;
    box-shadow: 0 0 0 3px rgb(25 135 84 / .35) !important
}

@media (max-width:1199.98px) {
    .form-grid {
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) auto auto
    }

    .toggle {
        justify-self: end
    }

    .cta {
        height: 56px
    }
}

@media (max-width:1199.98px) and (min-width:768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr
    }

    .swap {
        justify-self: center
    }

    .cta {
        width: 100%
    }
}

@media (max-width:767.98px) {
    .search-card {
        padding: 14px;
        border-radius: 16px
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .field {
        min-height: 54px
    }

    .swap {
        width: 48px;
        height: 48px
    }

    .cta {
        width: 100%;
        height: 52px
    }

    .menu,
    .suggestions {
        position: fixed;
        left: clamp(8px, 3vw, 16px);
        right: clamp(8px, 3vw, 16px);
        top: auto;
        bottom: clamp(16px, 6vh, 48px);
        margin: 0;
        max-height: 55vh;
        width: auto
    }
}

.date-popover {
    position: absolute;
    z-index: 100;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgb(2 6 23 / .18);
    padding: 12px;
    width: min(92vw, 640px)
}

.dp-head,
.dp-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px
}

.dp-foot {
    border-top: 1px solid #f1f5f9;
    margin-top: 8px;
    padding-top: 10px
}

.dp-head .nav {
    border: 0;
    background: #fff0;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 10px
}

.dp-head .nav:hover {
    background: #f8fafc
}

.dp-btn {
    border: 1px solid #e5e7eb;
    background: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    cursor: pointer;
    font-weight: 600
}

.dp-btn.primary {
    background: #1E4BFF;
    color: #fff;
    border-color: #1E4BFF
}

.dp-btn.ghost {
    background: #fff
}

.spacer {
    flex: 1
}

.months {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.cal {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px
}

.cal caption {
    caption-side: top;
    text-align: center;
    font-weight: 700;
    padding: 6px 0 4px;
    font-size: 16px
}

.cal thead th {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 600;
    padding: 4px 0;
    text-align: center
}

.cal td {
    text-align: center;
    padding: 6px 0;
    position: relative
}

.day {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    user-select: none
}

.day:hover {
    background: #f8fafc
}

.day.disabled {
    opacity: .35;
    pointer-events: none
}

.day.selected {
    background: #1E4BFF;
    color: #fff
}

.day.in-range {
    background: #eef2ff
}

.day.range-start,
.day.range-end {
    background: #1E4BFF;
    color: #fff
}

@media (max-width:575.98px) {
    .months {
        grid-template-columns: 1fr
    }
}

.field.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgb(239 68 68 / .15)
}

.field .err {
    position: absolute;
    left: 12px;
    bottom: -18px;
    font-size: 12px;
    color: #ef4444
}

@media (max-width:767.98px) {
    .field {
        margin-bottom: 8px
    }
}
