/* =====================================================================
   Atmaxha – ortak tasarım (Bootstrap 5.3 üzerine)
   ===================================================================== */
:root {
    --ax-navy: #0E2A47;
    --ax-navy-2: #16375C;
    --ax-navy-3: #1F4670;
    --ax-red: #B3121F;
    --ax-red-2: #930E19;
    --ax-ink: #13202D;
    --ax-muted: #5B6B7C;
    --ax-line: #E3E8EF;
    --ax-line-2: #D3DBE5;
    --ax-bg: #F3F5F8;
    --ax-soft: #F7F9FB;
    --ax-ok: #1E7F4F;
    --ax-ok-bg: #E6F4EC;
    --ax-warn: #9A5B00;
    --ax-warn-bg: #FFF4DE;
    --ax-bad: #B3261E;
    --ax-bad-bg: #FCE9E8;
    --ax-info-bg: #E8F0FA;
    --ax-radius: 12px;
    --ax-shadow: 0 1px 2px rgba(16, 32, 52, .05), 0 4px 14px rgba(16, 32, 52, .05);

    --bs-primary: #0E2A47;
    --bs-primary-rgb: 14, 42, 71;
    --bs-link-color: #16375C;
    --bs-link-color-rgb: 22, 55, 92;
    --bs-link-hover-color: #B3121F;
    --bs-body-font-family: Figtree, system-ui, -apple-system, "Segoe UI", sans-serif;
    --bs-body-color: #13202D;
    --bs-body-font-size: .95rem;
    --bs-border-color: #E3E8EF;
    --bs-secondary-color: #5B6B7C;
    --bs-border-radius: .5rem;
}
body { background: var(--ax-bg); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, h4, .h1, .h2, .h3, .h4, .brand-name, .display-num { font-family: Sora, Figtree, sans-serif; letter-spacing: -.01em; }
h1, .h1 { font-size: 1.5rem; font-weight: 700; }
h2, .h2 { font-size: 1.2rem; font-weight: 600; }
.h5, h5 { font-weight: 600; }
a { text-underline-offset: 2px; }
.money, .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.text-muted, .text-secondary { color: var(--ax-muted) !important; }
.fw-semibold { font-weight: 600 !important; }
:focus-visible { outline: 3px solid rgba(179, 18, 31, .45); outline-offset: 2px; }

/* --- Butonlar ------------------------------------------------------- */
.btn { font-weight: 600; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; }
.btn-sm { border-radius: 7px; }
.btn-lg { border-radius: 11px; padding: .7rem 1.25rem; }
.btn-primary { --bs-btn-bg: #0E2A47; --bs-btn-border-color: #0E2A47; --bs-btn-hover-bg: #16375C; --bs-btn-hover-border-color: #16375C; --bs-btn-active-bg: #0a1f35; --bs-btn-active-border-color: #0a1f35; --bs-btn-disabled-bg: #0E2A47; --bs-btn-disabled-border-color: #0E2A47; }
.btn-outline-primary { --bs-btn-color: #0E2A47; --bs-btn-border-color: #C3CFDC; --bs-btn-hover-bg: #0E2A47; --bs-btn-hover-border-color: #0E2A47; --bs-btn-active-bg: #0E2A47; --bs-btn-active-border-color: #0E2A47; }
.btn-accent { --bs-btn-color: #fff; --bs-btn-bg: #B3121F; --bs-btn-border-color: #B3121F; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #930E19; --bs-btn-hover-border-color: #930E19; --bs-btn-active-color: #fff; --bs-btn-active-bg: #7d0b15; --bs-btn-disabled-bg: #B3121F; --bs-btn-disabled-border-color: #B3121F; --bs-btn-disabled-color: #fff; }
.btn-light { --bs-btn-bg: #fff; --bs-btn-border-color: var(--ax-line-2); --bs-btn-hover-bg: var(--ax-soft); --bs-btn-hover-border-color: #B9C5D3; --bs-btn-color: var(--ax-ink); }
.btn-soft { background: var(--ax-soft); border: 1px solid var(--ax-line); color: var(--ax-ink); }
.btn-soft:hover { background: #EDF1F6; border-color: var(--ax-line-2); }
.btn-success { --bs-btn-bg: #1E7F4F; --bs-btn-border-color: #1E7F4F; --bs-btn-hover-bg: #186A41; --bs-btn-hover-border-color: #186A41; }
.btn-wa { --bs-btn-color: #fff; --bs-btn-bg: #1E8E4E; --bs-btn-border-color: #1E8E4E; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #187A42; --bs-btn-hover-border-color: #187A42; }
.btn .spinner-border { width: 1em; height: 1em; border-width: .15em; }
.btn-icon { width: 34px; height: 34px; padding: 0; }

/* --- Kartlar, tablolar, rozetler ------------------------------------ */
.card { border: 1px solid var(--ax-line); border-radius: var(--ax-radius); box-shadow: var(--ax-shadow); }
.card-header { background: #fff; font-weight: 600; border-bottom-color: var(--ax-line); padding: .85rem 1.1rem; border-radius: var(--ax-radius) var(--ax-radius) 0 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.card-header h2, .card-header .h5, .card-header .h6 { margin: 0; font-size: 1rem; }
.card-body { padding: 1.1rem; }
.card-footer { background: var(--ax-soft); border-top-color: var(--ax-line); }
.table { --bs-table-hover-bg: #F6F8FB; margin-bottom: 0; }
.table > :not(caption) > * > * { vertical-align: middle; padding: .65rem .8rem; border-bottom-color: var(--ax-line); }
.table > thead th { font-size: .74rem; font-weight: 700; color: var(--ax-muted); text-transform: uppercase; letter-spacing: .04em; background: var(--ax-soft); white-space: nowrap; }
.table-sm > :not(caption) > * > * { padding: .4rem .6rem; }
.table tr.row-link { cursor: pointer; }
.table .actions { white-space: nowrap; text-align: end; }
.table .actions .btn { margin-left: .2rem; }
.badge { font-weight: 600; border-radius: 999px; padding: .38em .7em; font-size: .74rem; }
.badge.text-bg-success { background: var(--ax-ok-bg) !important; color: var(--ax-ok) !important; }
.badge.text-bg-warning { background: var(--ax-warn-bg) !important; color: var(--ax-warn) !important; }
.badge.text-bg-danger { background: var(--ax-bad-bg) !important; color: var(--ax-bad) !important; }
.badge.text-bg-info { background: var(--ax-info-bg) !important; color: #1F4E86 !important; }
.badge.text-bg-primary { background: #DCE6F2 !important; color: var(--ax-navy) !important; }
.badge.text-bg-secondary { background: #ECEFF3 !important; color: #4A5868 !important; }
.badge.text-bg-dark { background: #E3E7EC !important; color: #222 !important; }
.alert { border-radius: 10px; border-width: 1px; }
.form-label { font-weight: 600; font-size: .85rem; margin-bottom: .3rem; color: #2A3A4A; }
.form-control, .form-select { border-color: var(--ax-line-2); border-radius: 8px; min-height: 40px; }
.form-control:focus, .form-select:focus { border-color: #5D7FA3; box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.form-control-lg, .form-select-lg { min-height: 48px; border-radius: 10px; }
.form-text { color: var(--ax-muted); }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--ax-muted); }
.empty .bi { font-size: 2rem; display: block; margin-bottom: .4rem; color: #A7B4C2; }
.progress { background: #E8EDF3; border-radius: 999px; }

/* --- İstatistik kutuları -------------------------------------------- */
.stat { background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); padding: 14px 16px; height: 100%; box-shadow: var(--ax-shadow); display: flex; gap: 12px; align-items: center; }
.stat .ico { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--ax-info-bg); color: var(--ax-navy); font-size: 1.15rem; flex: 0 0 auto; }
.stat .ico.red { background: var(--ax-bad-bg); color: var(--ax-red); }
.stat .ico.green { background: var(--ax-ok-bg); color: var(--ax-ok); }
.stat .ico.amber { background: var(--ax-warn-bg); color: var(--ax-warn); }
.stat .label { font-size: .78rem; font-weight: 600; color: var(--ax-muted); }
.stat .value { font-family: Sora, sans-serif; font-size: 1.25rem; font-weight: 700; line-height: 1.2; }
.stat .sub { font-size: .78rem; color: var(--ax-muted); }

/* --- Büyük işlem kutuları (ana sayfa) -------------------------------- */
.action-tile { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: #fff; border: 1px solid var(--ax-line); box-shadow: var(--ax-shadow); text-decoration: none; color: var(--ax-ink); height: 100%; transition: transform .12s, box-shadow .12s, border-color .12s; }
.action-tile:hover { transform: translateY(-2px); border-color: #B9C8D8; box-shadow: 0 8px 24px rgba(16, 32, 52, .10); color: var(--ax-ink); }
.action-tile .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; font-size: 1.5rem; background: var(--ax-info-bg); color: var(--ax-navy); flex: 0 0 auto; }
.action-tile .t { font-weight: 700; font-size: 1.05rem; font-family: Sora, sans-serif; }
.action-tile .d { font-size: .82rem; color: var(--ax-muted); }
.action-tile.primary { background: linear-gradient(135deg, #B3121F, #8E0E18); border-color: #8E0E18; color: #fff; }
.action-tile.primary .ico { background: rgba(255, 255, 255, .16); color: #fff; }
.action-tile.primary .d { color: #F6D3D6; }
.action-tile.primary:hover { color: #fff; }

.quick-search { position: relative; }
.quick-search .bi-search { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ax-muted); font-size: 1.1rem; }
.quick-search input { padding-left: 46px; height: 54px; border-radius: 12px; font-size: 1.05rem; border: 1px solid var(--ax-line-2); box-shadow: var(--ax-shadow); }

/* =====================================================================
   Panel düzeni (yönetim + acenta)
   ===================================================================== */
.panel { min-height: 100vh; }
.panel-shell { display: flex; min-height: 100vh; }
.sidebar { width: 248px; flex: 0 0 248px; background: var(--ax-navy) !important; color: #fff; display: flex; flex-direction: column; }
.sidebar .offcanvas-body { display: flex; flex-direction: column; padding: 0; height: 100%; }
.sidebar .brand { display: flex; align-items: center; gap: 10px; padding: 18px 20px 16px; text-decoration: none; }
.sidebar .brand .logo { width: 36px; height: 36px; border-radius: 9px; background: var(--ax-red); display: grid; place-items: center; font: 700 1rem Sora, sans-serif; color: #fff; }
.sidebar .brand-name { color: #fff; font-weight: 700; font-size: 1.1rem; letter-spacing: .06em; line-height: 1; display: block; }
.sidebar .brand-sub { color: #93A8BE; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; display: block; margin-top: 4px; }
.sidebar nav { padding: 6px 12px 16px; flex: 1; overflow-y: auto; }
.sidebar .sec { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #7F95AD; padding: 16px 10px 6px; font-weight: 700; }
.sidebar .nav-link { color: #D3DDE8; border-radius: 9px; padding: .55rem .75rem; display: flex; align-items: center; gap: .7rem; font-weight: 500; margin-bottom: 2px; }
.sidebar .nav-link .bi { font-size: 1.1rem; width: 20px; text-align: center; opacity: .9; }
.sidebar .nav-link:hover { background: var(--ax-navy-2); color: #fff; }
.sidebar .nav-link.active { background: #fff; color: var(--ax-navy); font-weight: 700; }
.sidebar .nav-link.accent { background: var(--ax-red); color: #fff; font-weight: 700; margin: 4px 0 10px; padding: .7rem .8rem; box-shadow: 0 6px 16px rgba(179, 18, 31, .35); }
.sidebar .nav-link.accent:hover { background: var(--ax-red-2); }
.sidebar .nav-link.accent.active { background: #fff; color: var(--ax-red); }
.sidebar .side-foot { padding: 12px 16px 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8rem; color: #93A8BE; }
.sidebar .agency-card { margin: 0 12px 6px; padding: 12px; background: var(--ax-navy-2); border-radius: 11px; }
.sidebar .agency-card .n { color: #fff; font-weight: 700; }
.sidebar .agency-card .s { color: #A9BBCD; font-size: .78rem; }
.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 1020; display: flex; align-items: center; gap: 12px; padding: 10px 24px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--ax-line); min-height: 62px; }
.topbar .search { flex: 1 1 auto; max-width: 560px; position: relative; }
.topbar .search .bi-search { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--ax-muted); }
.topbar .search input { padding-left: 38px; background: var(--ax-soft); border-color: var(--ax-line); border-radius: 10px; }
.topbar .search kbd { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: #fff; color: var(--ax-muted); border: 1px solid var(--ax-line-2); font-size: .7rem; padding: 1px 6px; }
.topbar .user-btn { display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 4px 6px; border-radius: 10px; color: var(--ax-ink); }
.topbar .user-btn:hover { background: var(--ax-soft); }
.topbar .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--ax-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.topbar .user-meta { text-align: left; line-height: 1.15; }
.topbar .user-meta .n { font-weight: 600; font-size: .88rem; }
.topbar .user-meta .r { font-size: .74rem; color: var(--ax-muted); }
.page { padding: 22px 24px 40px; flex: 1; }
.page-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin: -4px 0 18px; border-bottom: 1px solid var(--ax-line); }
.page-tabs a { padding: .55rem .9rem; color: var(--ax-muted); font-weight: 600; text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1px; }
.page-tabs a:hover { color: var(--ax-ink); }
.page-tabs a.active { color: var(--ax-navy); border-bottom-color: var(--ax-red); }
.page-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.page-head h1 { margin: 0; }
.page-head .sub { color: var(--ax-muted); font-size: .9rem; margin-top: 2px; }
.page-head .actions { margin-left: auto; display: flex; flex-wrap: wrap; gap: 8px; }
.page > h1:first-child, .page > .d-flex:first-child > h1 { margin-bottom: 1rem; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); padding: 12px; margin-bottom: 14px; box-shadow: var(--ax-shadow); }
.filters .form-control, .filters .form-select { min-width: 150px; }
.limit-bar { display: flex; align-items: center; gap: 10px; padding: 6px 12px; border-radius: 10px; background: var(--ax-soft); border: 1px solid var(--ax-line); }
.limit-bar .progress { width: 120px; height: 7px; }
.limit-bar .lbl { font-size: .74rem; color: var(--ax-muted); line-height: 1.1; }
.limit-bar .val { font-weight: 700; line-height: 1.1; }
@media (max-width: 991.98px) {
    .sidebar { width: 0; flex: 0 0 0; }
    .sidebar.offcanvas-lg { width: 270px; background: var(--ax-navy); }
    .topbar { padding: 10px 14px; }
    .page { padding: 16px 14px 32px; }
    .topbar .user-meta { display: none; }
}
@media (min-width: 992px) { .sidebar { position: sticky; top: 0; height: 100vh; } }

/* Toast bildirimleri */
.ax-toasts { position: fixed; top: 74px; right: 20px; z-index: 1090; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.ax-toast { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--ax-line); border-left: 4px solid var(--ax-ok); border-radius: 10px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(16, 32, 52, .16); animation: axIn .2s ease-out; }
.ax-toast.warn { border-left-color: #E09A1F; }
.ax-toast.bad { border-left-color: var(--ax-bad); }
.ax-toast .bi { font-size: 1.2rem; color: var(--ax-ok); }
.ax-toast.warn .bi { color: #C07B00; }
.ax-toast.bad .bi { color: var(--ax-bad); }
.ax-toast .x { margin-left: auto; background: none; border: 0; color: var(--ax-muted); }
@keyframes axIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   Hızlı satış
   ===================================================================== */
.sell-bar { background: #fff; border: 1px solid var(--ax-line); border-radius: 14px; box-shadow: var(--ax-shadow); padding: 14px; display: grid; gap: 10px; grid-template-columns: 1fr; margin-bottom: 18px; }
.sell-bar .row-1 { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.sell-bar .row-2 { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.sell-bar .row-2 .stop { flex: 1 1 190px; min-width: 0; }
.sell-bar .row-2 .route-col { flex: 1.3 1 230px; }
.sell-hint { border: 1px solid #F0D49A; background: var(--ax-warn-bg); border-radius: 14px; padding: 22px; text-align: center; color: #6B4A00; }
.sell-hint .bi { font-size: 1.8rem; display: block; margin-bottom: 6px; }
.sell-hint .btn { margin-top: 10px; }
.sell-bar .row-2 .d-col { flex: 0 1 190px; }
.sell-bar .row-3 { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
@media (max-width: 575.98px) { .sell-bar .row-2 .d-col { flex: 1 1 140px; } .sell-bar .swap { margin: 0 auto; transform: rotate(90deg); } .sell-bar .row-2 .stop { flex-basis: 100%; } }
.sell-bar .swap { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--ax-line-2); background: #fff; display: grid; place-items: center; margin-bottom: 2px; }
.sell-bar .swap:hover { background: var(--ax-soft); }
.seg { display: inline-flex; background: var(--ax-soft); border: 1px solid var(--ax-line); border-radius: 10px; padding: 3px; gap: 2px; flex-wrap: wrap; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { padding: .42rem .9rem; border-radius: 8px; font-weight: 600; font-size: .88rem; cursor: pointer; color: var(--ax-muted); margin: 0; user-select: none; display: inline-flex; align-items: center; gap: .35rem; }
.seg input:checked + label { background: #fff; color: var(--ax-navy); box-shadow: 0 1px 3px rgba(16, 32, 52, .15); }
.seg input:focus-visible + label { outline: 3px solid rgba(179, 18, 31, .45); }
.seg.lg label { padding: .6rem 1rem; }
.pax { display: flex; gap: 6px; flex-wrap: wrap; }
.pax .stepper { flex: 0 0 auto; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ax-line-2); border-radius: 9px; background: #fff; height: 40px; }
.stepper button { width: 32px; height: 38px; border: 0; background: none; font-size: 1.1rem; color: var(--ax-navy); }
.stepper button:disabled { color: #C3CDD8; }
.stepper .v { min-width: 22px; text-align: center; font-weight: 700; }
.stepper .l { font-size: .74rem; color: var(--ax-muted); padding: 0 2px 0 8px; }
.day-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.day-chips button { border: 1px solid var(--ax-line); background: #fff; border-radius: 9px; padding: 4px 10px; font-size: .8rem; line-height: 1.2; color: var(--ax-muted); text-align: center; }
.day-chips button b { display: block; color: var(--ax-ink); font-size: .9rem; }
.day-chips button.on { border-color: var(--ax-navy); background: var(--ax-navy); color: #C9D6E4; }
.day-chips button.on b { color: #fff; }
.leg-title { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; }
.leg-title .tag { background: var(--ax-red); color: #fff; font-weight: 700; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; }
.leg-title .tag.ret { background: var(--ax-navy); }
.trip-opt { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 16px; background: #fff; border: 1.5px solid var(--ax-line); border-radius: 12px; padding: 12px 16px; cursor: pointer; margin-bottom: 8px; transition: border-color .1s, box-shadow .1s; width: 100%; text-align: left; color: var(--ax-ink); }
.trip-opt:hover { border-color: #9DB1C6; }
.trip-opt.on { border-color: var(--ax-navy); box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.trip-opt.full { opacity: .55; cursor: not-allowed; }
.trip-opt .tm { font: 700 1.35rem/1 Sora, sans-serif; }
.trip-opt .tm small { display: block; font: 500 .75rem Figtree, sans-serif; color: var(--ax-muted); margin-top: 4px; }
.trip-opt .mid { min-width: 0; }
.trip-opt .mid .r { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trip-opt .mid .b { font-size: .8rem; color: var(--ax-muted); }
.trip-opt .seats { font-size: .82rem; text-align: right; color: var(--ax-muted); }
.trip-opt .seats b { display: block; font-size: 1rem; color: var(--ax-ok); }
.trip-opt .seats.low b { color: var(--ax-warn); }
.trip-opt .pr { font: 700 1.2rem Sora, sans-serif; text-align: right; }
.trip-opt .pr small { display: block; font: 500 .72rem Figtree, sans-serif; color: var(--ax-muted); }
@media (max-width: 575.98px) { .trip-opt { grid-template-columns: auto 1fr auto; } .trip-opt .seats { display: none; } }
.pax-card { border: 1px solid var(--ax-line); border-radius: 11px; padding: 10px 12px; margin-bottom: 8px; background: #fff; }
.pax-card .hd { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .82rem; }
.pax-card .num { width: 24px; height: 24px; border-radius: 50%; background: var(--ax-navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .75rem; }
.pax-card .seat-chip { margin-left: auto; display: flex; gap: 4px; }
.seat-chip span { background: var(--ax-soft); border: 1px solid var(--ax-line); border-radius: 6px; padding: 1px 7px; font-weight: 700; font-size: .78rem; }
.seat-chip span.set { background: var(--ax-navy); color: #fff; border-color: var(--ax-navy); }
.seat-chip span.miss { background: var(--ax-warn-bg); border-color: #F0D49A; color: var(--ax-warn); }
.gender { display: inline-flex; border: 1px solid var(--ax-line-2); border-radius: 8px; overflow: hidden; height: 40px; flex: 0 0 auto; }
.gender input { position: absolute; opacity: 0; }
.gender label { padding: 0 11px; display: grid; place-items: center; cursor: pointer; font-weight: 700; font-size: .85rem; color: var(--ax-muted); margin: 0; }
.gender input:checked + label { background: var(--ax-navy); color: #fff; }
.gender input:focus-visible + label { outline: 3px solid rgba(179, 18, 31, .45); outline-offset: -3px; }
.summary { position: sticky; top: 78px; }
.summary .total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0 4px; border-top: 1px dashed var(--ax-line-2); margin-top: 6px; }
.summary .total b { font: 700 1.7rem Sora, sans-serif; }
.summary .line { display: flex; justify-content: space-between; font-size: .88rem; padding: 2px 0; }
.pay-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pay-opts input { position: absolute; opacity: 0; }
.pay-opts label { border: 1.5px solid var(--ax-line-2); border-radius: 10px; padding: 8px 10px; cursor: pointer; font-weight: 600; font-size: .86rem; display: flex; align-items: center; gap: 6px; margin: 0; background: #fff; }
.pay-opts input:checked + label { border-color: var(--ax-navy); background: #EEF3F9; color: var(--ax-navy); }
.pay-opts input:focus-visible + label { outline: 3px solid rgba(179, 18, 31, .45); }
.sell-empty { border: 2px dashed var(--ax-line-2); border-radius: 14px; padding: 36px 20px; text-align: center; color: var(--ax-muted); background: rgba(255, 255, 255, .5); }
.sell-empty .bi { font-size: 2rem; display: block; color: #A7B4C2; margin-bottom: 6px; }
.done-hero { background: #fff; border: 1px solid #BFE3CD; border-radius: 16px; padding: 22px; box-shadow: var(--ax-shadow); display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-bottom: 20px; }
.done-hero .ok { width: 56px; height: 56px; border-radius: 50%; background: var(--ax-ok-bg); color: var(--ax-ok); display: grid; place-items: center; font-size: 1.8rem; }
.done-hero .code { font: 700 1.5rem Sora, sans-serif; letter-spacing: .02em; }

/* Bilgi satırları */
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0; }
.kv dt { color: var(--ax-muted); font-weight: 500; }
.kv dd { margin: 0; font-weight: 600; }
.action-bar { display: flex; flex-wrap: wrap; gap: 8px; background: #fff; border: 1px solid var(--ax-line); border-radius: var(--ax-radius); padding: 10px; box-shadow: var(--ax-shadow); margin-bottom: 18px; align-items: center; }
.action-bar .sep { width: 1px; align-self: stretch; background: var(--ax-line); margin: 0 4px; }

/* =====================================================================
   Müşteri sitesi
   ===================================================================== */
.site-header { background: #fff; border-bottom: 1px solid var(--ax-line); }
.site-header nav a { text-decoration: none; color: var(--ax-ink); }
.site-header nav a:hover { color: var(--ax-red); }
.brand-site { display: flex; flex-direction: column; line-height: 1; }
.brand-site .brand-name { color: var(--ax-red); font-weight: 700; font-size: 1.6rem; letter-spacing: 1px; }
.brand-site .brand-sub { color: var(--ax-muted); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; }
.hero { background: var(--ax-navy); color: #fff; }
.hero .lead { color: #D5DEE8; }
.hero .eyebrow { color: #F3B5B9; text-transform: uppercase; letter-spacing: 2px; font-size: .85rem; font-weight: 600; }
.search-card { background: #fff; color: var(--ax-ink); border-radius: 16px; padding: 24px; box-shadow: 0 18px 40px rgba(5, 20, 40, .3); }
.site-footer { background: var(--ax-navy); color: #D5DEE8; }
.trip-card { background: #fff; border: 1px solid var(--ax-line); border-radius: 14px; padding: 16px 20px; }
.trip-card.selected, .trip-card:has(input:checked) { border: 2px solid var(--ax-navy); }
.trip-card .time { font-family: Sora, sans-serif; font-size: 1.6rem; font-weight: 700; }
.trip-line { display: flex; align-items: center; }
.trip-line .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ax-navy); flex: 0 0 auto; }
.trip-line .dot.mid { width: 9px; height: 9px; background: #fff; border: 2px solid var(--ax-navy); }
.trip-line .bar { flex: 1; height: 3px; background: var(--ax-navy); }
.step-pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: .875rem; font-weight: 600; }
.step-pills li { padding: 6px 12px; border-radius: 999px; background: #E6EBF0; color: var(--ax-muted); }
.step-pills li.on { background: var(--ax-navy); color: #fff; }

/* Giriş */
.login-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login-side { background: linear-gradient(160deg, #0E2A47 0%, #16375C 60%, #3A1220 140%); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; }
.login-side h1 { font-size: 2.1rem; line-height: 1.2; max-width: 460px; }
.login-side p { color: #C3D0DD; max-width: 440px; }
.login-form { display: grid; place-items: center; padding: 32px 20px; background: #fff; }
.login-form .box { width: min(400px, 100%); }
@media (max-width: 860px) { .login-wrap { grid-template-columns: 1fr; } .login-side { display: none; } }

/* =====================================================================
   Koltuk planı
   ===================================================================== */
.seatmap { overflow-x: auto; padding-bottom: 4px; }
.seatmap .deck-tabs { margin-bottom: 10px; }
.seatmap .bus { display: inline-flex; gap: 12px; padding: 14px 18px 14px 12px; border: 2px solid #C9D2DC; border-radius: 36px 16px 16px 36px; background: #F8FAFC; }
.seatmap .grid { display: grid; gap: 5px; }
.seatmap .cell { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-size: .66rem; color: var(--ax-muted); text-align: center; line-height: 1.1; }
.seatmap button.seat { width: 42px; height: 42px; border-radius: 9px 9px 6px 6px; border: 1.5px solid #8798AB; background: #fff; font: 700 13px Figtree, sans-serif; color: var(--ax-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; padding: 0; transition: transform .06s; }
.seatmap button.seat small { font-size: 9px; font-weight: 700; }
.seatmap button.seat.free:hover { border-color: var(--ax-navy); box-shadow: 0 0 0 3px rgba(14, 42, 71, .2); transform: scale(1.06); }
.seatmap button.seat.selected { background: var(--ax-red); border-color: var(--ax-red); color: #fff; }
.seatmap button.seat.taken-M { background: #CFE0F3; border-color: #6E93BA; color: #1F4A73; cursor: not-allowed; }
.seatmap button.seat.taken-F { background: #F6D5D8; border-color: #C0727A; color: #7A1F28; cursor: not-allowed; }
.seatmap button.seat.taken, .seatmap button.seat.held { background: #E1E6EC; color: var(--ax-muted); cursor: not-allowed; }
.seatmap button.seat.blocked { background: repeating-linear-gradient(45deg, #D5DCE3, #D5DCE3 3px, #EEF2F6 3px, #EEF2F6 6px); cursor: not-allowed; }
.seatmap .legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0; margin: 10px 0 0; font-size: .8rem; color: var(--ax-muted); }
.seatmap .legend span { display: inline-block; width: 16px; height: 16px; border-radius: 4px; vertical-align: -3px; margin-right: 6px; border: 1.5px solid #8798AB; }

/* Koltuk planı editörü */
.layout-editor .cell-btn { width: 44px; height: 44px; border-radius: 8px; border: 1px solid #C9D2DC; background: #fff; font-size: .7rem; font-weight: 600; padding: 0; }
.layout-editor .cell-btn.t-seat { background: #fff; border: 1.5px solid #0E2A47; }
.layout-editor .cell-btn.t-seat.nosell { background: repeating-linear-gradient(45deg, #D5DCE3, #D5DCE3 3px, #EEF2F6 3px, #EEF2F6 6px); }
.layout-editor .cell-btn.t-aisle { background: #F4F6F8; border-style: dashed; color: #8798AB; }
.layout-editor .cell-btn.t-door { background: #FFF1D6; }
.layout-editor .cell-btn.t-stairs { background: #E3EEFA; }
.layout-editor .cell-btn.t-wc { background: #E2F2E7; }
.layout-editor .cell-btn.t-driver { background: #EDE7F6; }
.layout-editor .cell-btn.t-empty { background: transparent; border-style: dotted; color: #C9D2DC; }

@media print { .sidebar, .topbar, .page-tabs, .no-print, .ax-toasts { display: none !important; } .page { padding: 0; } body { background: #fff; } }

/* ---------- Tur koltukları, ödeme, uçaklı tur ---------- */
.seatmap button.seat.reserved { background: #FFF1C2; border-color: #D39E00; color: #7A5A00; cursor: not-allowed; }
.seatmap.admin button.seat { cursor: pointer !important; position: relative; }
.seatmap.admin button.seat.blocked.admin-block { outline: 2px dashed #6c757d; }
.seatmap.admin button.seat.taken-M, .seatmap.admin button.seat.taken-F, .seatmap.admin button.seat.taken { cursor: pointer; }
.seatmap.admin button.seat:hover { transform: scale(1.06); box-shadow: 0 0 0 3px rgba(14, 42, 71, .2); }

.choice-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.choice-cards input { position: absolute; opacity: 0; }
.choice-cards label { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--ax-line-2); border-radius: 12px; padding: 14px; cursor: pointer; background: #fff; margin: 0; }
.choice-cards label i { font-size: 1.6rem; color: var(--ax-navy); }
.choice-cards label small { display: block; color: var(--ax-muted); font-size: .8rem; }
.choice-cards input:checked + label { border-color: var(--ax-navy); background: #EEF3F9; box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.choice-cards input:focus-visible + label { outline: 3px solid rgba(179, 18, 31, .45); }

.bus-pick { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.bus-pick-item { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--ax-line-2); border-radius: 10px; padding: 10px 12px; cursor: pointer; margin: 0; }
.bus-pick-item:has(input:checked) { border-color: var(--ax-navy); background: #EEF3F9; }

.pay-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 16px; counter-reset: s; flex-wrap: wrap; }
.pay-steps li { counter-increment: s; flex: 1 1 120px; font-size: .8rem; color: var(--ax-muted); border-top: 3px solid var(--ax-line-2); padding-top: 6px; }
.pay-steps li::before { content: counter(s) ". "; font-weight: 700; }
.pay-steps li.done { border-color: #198754; color: #198754; }
.pay-steps li.active { border-color: var(--ax-red); color: var(--ax-ink); font-weight: 600; }
.pay-methods { display: grid; gap: 8px; }
.pay-methods input { position: absolute; opacity: 0; }
.pay-methods label { display: flex; gap: 12px; align-items: center; border: 1.5px solid var(--ax-line-2); border-radius: 12px; padding: 12px 14px; cursor: pointer; background: #fff; margin: 0; }
.pay-methods label .ic { width: 42px; height: 42px; border-radius: 10px; background: #EEF3F9; color: var(--ax-navy); display: grid; place-items: center; font-size: 1.3rem; flex: none; }
.pay-methods input:checked + label { border-color: var(--ax-navy); background: #EEF3F9; box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.pay-methods input:disabled + label, .pay-methods label.muted { opacity: .6; cursor: not-allowed; }
.pay-methods input:focus-visible + label { outline: 3px solid rgba(179, 18, 31, .45); }
.pay-methods.compact label { padding: 8px 10px; }
.pay-methods.compact label .ic { width: 34px; height: 34px; font-size: 1.05rem; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 2rem; color: #fff; }
.done-ic.ok { background: #198754; }
.done-ic.err { background: var(--ax-red, #B3121F); }

.tour-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.tour-facts .f { border: 1px solid var(--ax-line-2); border-radius: 12px; padding: 12px 14px; background: #fff; }
.tour-facts .f .k { font-size: .75rem; color: var(--ax-muted); text-transform: uppercase; letter-spacing: .03em; }
.tour-facts .f .v { font-weight: 600; }
.flight-card { border: 1px solid var(--ax-line-2); border-radius: 12px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; background: #fff; }
.flight-card .t { font-size: 1.25rem; font-weight: 700; }
.flight-card .mid { text-align: center; font-size: .78rem; color: var(--ax-muted); }
.flight-card .mid i { display: block; font-size: 1.1rem; color: var(--ax-navy); }
.inc-list { list-style: none; padding: 0; margin: 0; }
.inc-list li { padding: 3px 0 3px 24px; position: relative; }
.inc-list li::before { position: absolute; left: 0; font-family: bootstrap-icons; }
.inc-list.yes li::before { content: "\F26E"; color: #198754; }
.inc-list.no li::before { content: "\F62A"; color: #B3121F; }
.room-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; }
.room-opts input { position: absolute; opacity: 0; }
.room-opts label { border: 1.5px solid var(--ax-line-2); border-radius: 10px; padding: 10px 12px; cursor: pointer; margin: 0; background: #fff; display: block; }
.room-opts input:checked + label { border-color: var(--ax-navy); background: #EEF3F9; }
.room-opts input:focus-visible + label { outline: 3px solid rgba(179, 18, 31, .45); }
.bus-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.pax-row { border: 1px solid var(--ax-line-2); border-radius: 12px; padding: 12px; margin-bottom: 10px; background: #fff; }
.pax-row .seat-badge { min-width: 44px; text-align: center; }
.occ-bar { height: 8px; border-radius: 6px; background: #E9EEF3; overflow: hidden; display: flex; }
.occ-bar span { display: block; height: 100%; }

/* Bölüm ayrımı: otobüs bileti / otobüs turları / uçaklı turlar */
.site-header nav a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 4px; border-bottom: 2px solid transparent; }
.site-header nav a.on { color: var(--ax-red); border-bottom-color: var(--ax-red); }
.tour-type-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; max-width: 640px; }
.tour-type-tabs a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--ax-line-2); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ax-ink); }
.tour-type-tabs a i { font-size: 1.6rem; color: var(--ax-navy); }
.tour-type-tabs a small { display: block; color: var(--ax-muted); }
.tour-type-tabs a.on { border-color: var(--ax-navy); background: #EEF3F9; box-shadow: 0 0 0 3px rgba(14, 42, 71, .12); }
.pay-gw { border-radius: 16px; overflow: hidden; }
.pay-gw-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; background: linear-gradient(120deg, var(--ax-navy), var(--ax-navy-3)); color: #fff; }
.pay-gw.strat .pay-gw-head { background: linear-gradient(120deg, #0B5D4B, #14866C); }
