/* Onest, @fontsource/onest 5.3.1, SIL Open Font License 1.1 */
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(/Content/fonts/onest/onest-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(/Content/fonts/onest/onest-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 400; font-display: swap; src: url(/Content/fonts/onest/onest-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(/Content/fonts/onest/onest-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(/Content/fonts/onest/onest-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 500; font-display: swap; src: url(/Content/fonts/onest/onest-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(/Content/fonts/onest/onest-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(/Content/fonts/onest/onest-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 600; font-display: swap; src: url(/Content/fonts/onest/onest-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url(/Content/fonts/onest/onest-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url(/Content/fonts/onest/onest-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-style: normal; font-weight: 700; font-display: swap; src: url(/Content/fonts/onest/onest-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =========================================================================
   Sedna IN teması. ~/Content/css bundle'ında en son yüklenir ve
   style.css, bootstrap-2.3.2.css ile bootstrap.reset.css'i ezer.
   Spec: docs/superpowers/specs/2026-10-10-webui-redesign-design.md
   ========================================================================= */

/* 1. Tokenlar ------------------------------------------------------------ */
:root {
    --brand: #1F3A5F;
    --brand-strong: #172C48;
    --brand-tint: #EDF1F6;
    --logo: #5B2D90;
    --bg: #F7F8FA;
    --surface: #FFFFFF;
    --ink: #1A2230;
    --muted: #5E6978;
    --faint: #97A0AD;
    --line: #E2E5EA;
    --line-soft: #EEF0F3;
    --control: #D5DAE1;
    --bad: #B42318;
    --bad-soft: #FDF3F2;
    --bad-line: #F3C7C2;
    --mod: #1D5FA8;
    --ok: #157347;
    --warn: #A15C07;
    --focus: 0 0 0 3px rgba(31, 58, 95, .14);
    --radius-card: 10px;
    --radius-control: 7px;
}

/* 2. Temel --------------------------------------------------------------- */
html, body { height: auto; }

body {
    margin: 0;
    font-family: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 13.5px;
    line-height: 1.45;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

a, a:link, a:visited { color: var(--brand); text-decoration: none; }
a:hover, a:focus { color: var(--brand-strong); text-decoration: underline; }

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-family: inherit; font-weight: 600; letter-spacing: -.005em; }
h3 { font-size: 18px; line-height: 1.3; }
h4 { font-size: 15px; line-height: 1.35; }

.num, .table td, .table th { font-variant-numeric: tabular-nums; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* 3. Bootstrap 2 bileşenleri --------------------------------------------- */

/* Form kontrolleri */
label { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-bottom: 5px; }
label.checkbox, label.radio { font-size: 13.5px; color: var(--ink); font-weight: 400; }

input[type="text"], input[type="password"], input[type="email"], input[type="number"],
input[type="search"], input[type="tel"], input[type="url"], input[type="date"],
select, .uneditable-input {
    box-sizing: border-box;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--control);
    border-radius: var(--radius-control);
    background-color: var(--surface);
    box-shadow: none;
    color: var(--ink);
    font: inherit;
    line-height: 32px;
    transition: border-color .15s, box-shadow .15s;
}

textarea {
    box-sizing: border-box;
    padding: 8px 10px;
    border: 1px solid var(--control);
    border-radius: var(--radius-control);
    box-shadow: none;
    color: var(--ink);
    font: inherit;
}

select { padding-right: 6px; }
select[multiple], select[size] { height: auto; line-height: normal; padding: 6px; }

input:focus, select:focus, textarea:focus,
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, textarea:focus {
    border-color: var(--brand);
    box-shadow: var(--focus);
    outline: 0;
}

input::placeholder, textarea::placeholder { color: var(--faint); }
input[disabled], select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] { background-color: var(--line-soft); }

.field-validation-error { display: block; margin-top: 4px; color: var(--bad); font-size: 12.5px; }
.input-validation-error, input.error, select.error, textarea.error { border-color: var(--bad) !important; }
label.error { color: var(--bad); font-size: 12.5px; }

.validation-summary-errors {
    margin-bottom: 16px;
    padding: 10px 12px;
    border: 1px solid var(--bad-line);
    border-radius: 8px;
    background: var(--bad-soft);
    color: #6F1A12;
    font-size: 13px;
}
.validation-summary-errors ul { margin: 0; padding-left: 18px; }

.control-group { margin-bottom: 14px; }
.input-append .add-on, .input-prepend .add-on { height: 34px; box-sizing: border-box; line-height: 32px; background: var(--line-soft); border-color: var(--control); }

/* Butonlar */
.btn {
    padding: 6px 14px;
    border: 1px solid var(--control);
    border-radius: var(--radius-control);
    background: var(--surface);
    background-image: none;
    filter: none;
    box-shadow: none;
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 20px;
    text-shadow: none;
}
.btn:hover, .btn:focus { background: #F3F5F8; color: var(--ink); text-decoration: none; background-position: 0 0; }
.btn:active, .btn.active, .open .dropdown-toggle.btn { background: #EAEDF2; background-image: none; box-shadow: none; }
.btn.disabled, .btn[disabled] { opacity: .55; box-shadow: none; }

.btn-primary, .btn-success, .btn-info {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    font-weight: 600;
}
.btn-primary:hover, .btn-primary:focus, .btn-success:hover, .btn-success:focus, .btn-info:hover, .btn-info:focus,
.btn-primary:active, .btn-success:active, .btn-info:active, .btn-primary.active, .btn-success.active, .btn-info.active {
    border-color: var(--brand-strong);
    background: var(--brand-strong);
    color: #fff;
}

.btn-danger { border-color: var(--bad-line); background: var(--surface); color: var(--bad); font-weight: 600; }
.btn-danger:hover, .btn-danger:focus, .btn-danger:active { border-color: var(--bad); background: var(--bad-soft); color: var(--bad); }

.btn-warning { border-color: #E9D29F; background: var(--surface); color: var(--warn); }
.btn-warning:hover, .btn-warning:focus { background: #FFF7E8; color: var(--warn); }

/* Danger ve warning artık beyaz zeminli: view'lardaki icon-white glifleri görünmez olurdu, koyu sprite kullan. */
.btn-danger [class^="icon-"].icon-white, .btn-danger [class*=" icon-"].icon-white,
.btn-warning [class^="icon-"].icon-white, .btn-warning [class*=" icon-"].icon-white { background-image: url("images/glyphicons-halflings.png"); }

.btn-inverse { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-inverse:hover, .btn-inverse:focus { background: #000; color: #fff; }

.btn-link, .btn-link:hover { border-color: transparent; background: transparent; color: var(--brand); }

.btn-large { padding: 9px 18px; font-size: 15px; }
.btn-small { padding: 4px 11px; font-size: 13px; }
.btn-mini { padding: 2px 8px; font-size: 12px; }

.btn .caret, .btn-primary .caret, .btn-success .caret, .btn-danger .caret { margin-top: 8px; border-top-color: currentColor; opacity: .7; }
.btn-group > .btn:first-child { border-top-left-radius: var(--radius-control); border-bottom-left-radius: var(--radius-control); }
.btn-group > .btn:last-child, .btn-group > .dropdown-toggle { border-top-right-radius: var(--radius-control); border-bottom-right-radius: var(--radius-control); }

/* <a class="btn ..."> bağlantıları: yukarıdaki a:link (0,1,1) kuralı .btn-primary (0,1,0) kuralını yener
   ve lacivert zemin üstünde lacivert yazı çıkar. View'larda bu kalıpta 56 bağlantı var. :link ve :visited
   varyantları (0,2,0) ile renkler geri alınır. Genel kural önce, varyantlar sonra gelir. */
.btn:link, .btn:visited { color: var(--ink); }
.btn-primary:link, .btn-primary:visited, .btn-success:link, .btn-success:visited,
.btn-info:link, .btn-info:visited, .btn-inverse:link, .btn-inverse:visited { color: #fff; }
.btn-danger:link, .btn-danger:visited { color: var(--bad); }
.btn-warning:link, .btn-warning:visited { color: var(--warn); }
.label:link, .label:visited, .badge:link, .badge:visited { color: #fff; }

/* Tablolar */
.table { margin-bottom: 0; background: var(--surface); }
.table th, .table td { padding: 9px 8px; border-top: 0; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table thead th, .table th {
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 500;
    vertical-align: bottom;
}
.table thead th a, .table thead th a:link, .table thead th a:visited { color: inherit; }
.table thead th a:hover { color: var(--ink); text-decoration: none; }
.table-striped tbody > tr:nth-child(odd) > td, .table-striped tbody > tr:nth-child(odd) > th { background-color: #FAFBFC; }
.table-hover tbody tr:hover > td, .table-hover tbody tr:hover > th { background-color: #F3F5F8; }
.table-bordered { border: 1px solid var(--line); border-collapse: separate; border-left: 1px solid var(--line); border-radius: var(--radius-card); }
.table-bordered th, .table-bordered td { border-left: 0; }
.table-condensed th, .table-condensed td { padding: 6px 8px; }

/* bootstrap.reset.css ve style.css kalıntılarını nötrle: sabit 1000px genişlik, 0.8em yazı, CSS ile büyük harf,
   text-indent ve satır tiplerine (data-row-type) eklenen gri kenarlıklar. display değerlerine dokunulmaz,
   çünkü müşteri ve hata satırlarını JS açıp kapatıyor. */
.table { width: 100%; font-size: inherit; }
.table th { border-right: 0; text-indent: 0; text-transform: none; text-align: left; }
.table tr { text-indent: 0; }
.table td { color: var(--ink); border-right: 0; }
.table-hover tbody tr:hover td { background-color: #F3F5F8; }
tr[data-row-type] { border-top: 0; border-right: 0; border-bottom: 0; border-left: 0; }
tr[data-row-type] td, tr[data-row-type] th { border-right: 0; }
tr[data-row-type="tableHeader"] { background: var(--surface); }
tr[data-row-type="tableHeader"] th { color: var(--muted); }
tr[data-row-type="tableFooter"] { border-top: 1px solid var(--line); background: #FAFBFC; }
tr[data-row-type="reservation"].active, tr[data-row-type="sale"].active, tr[data-row-type="invoice"].active { background-color: #F2F5F9; }
tr[data-row-type="note"] td.first { border-left: 3px solid var(--warn); color: var(--warn); }

/* Uyarılar */
.alert {
    position: relative;
    margin-bottom: 14px;
    padding: 12px 36px 12px 14px;
    border: 1px solid var(--line);
    border-left: 3px solid var(--warn);
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    text-shadow: none;
}
.alert-error, .alert-danger { border-left-color: var(--bad); }
.alert-success { border-left-color: var(--ok); }
.alert-info { border-left-color: var(--mod); }
.alert h4 { margin: 0 0 4px; color: var(--ink); font-size: 14px; }
.alert a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.alert .close { position: absolute; top: 10px; right: 12px; color: var(--faint); opacity: 1; text-shadow: none; font-weight: 400; }
.alert .close:hover { color: var(--ink); }

/* Modallar */
.modal { border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 50px rgba(26, 34, 48, .18); }
.modal-header { padding: 14px 18px; border-bottom: 1px solid var(--line); }
.modal-header h3, .modal-header h4 { margin: 0; font-size: 16px; font-weight: 600; }
.modal-header .close { margin-top: 0; color: var(--faint); opacity: 1; text-shadow: none; }
.modal-body { padding: 16px 18px; }
.modal-footer { padding: 12px 18px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; background: var(--surface); box-shadow: none; }
.modal-backdrop, .modal-backdrop.fade.in { background: var(--ink); opacity: .4; filter: alpha(opacity=40); }

/* Dropdown */
.dropdown-menu { padding: 6px; border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 10px 30px rgba(26, 34, 48, .12); }
.dropdown-menu > li > a { padding: 6px 10px; border-radius: 6px; color: var(--ink); }
.dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus, .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover {
    background: var(--brand-tint);
    background-image: none;
    filter: none;
    color: var(--brand);
    text-decoration: none;
}
.dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover { background: transparent; color: var(--faint); }
.dropdown-menu .divider { margin: 6px 0; background-color: var(--line); border-bottom: 0; }

/* Sekmeler ve pill'ler (view içi) */
.nav-tabs { border-bottom: 1px solid var(--line); }
.nav-tabs > li > a { margin-right: 4px; padding: 8px 12px 10px; border: 0; border-radius: 0; color: var(--muted); }
.nav-tabs > li > a:hover, .nav-tabs > li > a:focus { border: 0; background: transparent; color: var(--ink); text-decoration: none; }
.nav-tabs > .active > a, .nav-tabs > .active > a:hover, .nav-tabs > .active > a:focus {
    border: 0;
    background: transparent;
    box-shadow: inset 0 -2px 0 var(--brand);
    color: var(--ink);
    font-weight: 600;
}
.nav-pills > li > a { border-radius: var(--radius-control); color: var(--muted); }
.nav-pills > .active > a, .nav-pills > .active > a:hover { background: var(--brand-tint); color: var(--brand); }

/* Etiket, rozet, well, sayfalama */
.label, .badge { padding: 2px 7px; font-size: 11.5px; font-weight: 600; text-shadow: none; }
.badge { border-radius: 99px; }
.label-important, .badge-important { background-color: var(--bad); }
.label-success, .badge-success { background-color: var(--ok); }
.label-info, .badge-info { background-color: var(--mod); }
.well { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); box-shadow: none; }
.pagination ul { box-shadow: none; }
.pagination ul > li > a, .pagination ul > li > span { border-color: var(--line); color: var(--ink); }
.pagination ul > .active > a, .pagination ul > .active > span { background: var(--brand-tint); color: var(--brand); }

/* Ardışık tbody'ler: BS2 aralarına 2px çizgi koyuyor. Satır başına tbody kullanan bütün listeleri etkiler. */
.table tbody + tbody { border-top: 0; }

/* Sıralama okları: .table thead th'deki background kısaltması style.css'in ok ikonlarını siliyordu.
   :hover varyantı bootstrap.reset.css'teki .table th.column-sorted:hover kısaltmasını ezer. */
.table th.tablesort-up, .table th.tablesort-up:hover,
.table th.tablesort-down, .table th.tablesort-down:hover { background-repeat: no-repeat; background-position: right 6px center; padding-right: 18px; }
.table th.tablesort-up, .table th.tablesort-up:hover { background-image: url("images/icon-sort-up.png"); }
.table th.tablesort-down, .table th.tablesort-down:hover { background-image: url("images/icon-sort-down.png"); }
.table th.column-sorted:hover { background-color: #F3F5F8; }

/* Arama kutusu: style.css 20px yükseklik ve text-indent veriyordu */
input[type="text"].input-search { height: 34px; padding: 0 10px; text-indent: 0; }

/* Geri bağlantısı: style.css 20px dolgu veriyordu; ok ikonu solda dikey ortada */
.back-link, .back-link:link, .back-link:visited { padding: 0 0 0 18px; background-position: 0 50%; color: var(--muted); }
.back-link:hover { color: var(--ink); }

/* Ortak kart yüzeyi (yeni markup için) */
.card { border: 1px solid #E6E9EE; border-radius: var(--radius-card); background: var(--surface); }

/* 4. Üçüncü parti -------------------------------------------------------- */

/* bootstrap-datepicker */
.datepicker.dropdown-menu { padding: 8px; }
.datepicker td, .datepicker th { border-radius: 6px; }
.datepicker td.day:hover, .datepicker td span:hover { background: var(--brand-tint); }
.datepicker td.active, .datepicker td.active:hover, .datepicker td.active.disabled, .datepicker td span.active, .datepicker td span.active:hover {
    background: var(--brand);
    background-image: none;
    filter: none;
    color: #fff;
    text-shadow: none;
}
.datepicker td.today, .datepicker td.today:hover { background: #FFF7E8; background-image: none; color: var(--ink); }

/* bootstrap-multiselect: eklenti butona inline width yazar, filtre ızgarasında tam genişlik */
.btn-group > .multiselect.dropdown-toggle { text-align: left; }
/* Eklenti sayfa tamamen yüklenince çalışır; o ana kadar ham çoklu liste bütün seçenekleriyle görünüp
   sonra butona dönüşüyordu. Görünmez ama buton yüksekliğinde yer tutar, eklenti display:none yapar. */
.filter-grid select[multiple] { visibility: hidden; height: 34px; margin: 0; padding: 0; overflow: hidden; }
.filter-grid .btn-group { display: block; width: 100%; }
.filter-grid .btn-group > .multiselect.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    height: 34px;
    overflow: hidden;
    font-weight: 400;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.btn-group > .multiselect + .dropdown-menu { max-height: 280px; overflow-y: auto; }
.btn-group > .multiselect + .dropdown-menu label { color: var(--ink); font-size: 13.5px; font-weight: 400; }

/* TinyMCE (lightgray skin): genel input kuralları skin'den sonra yüklendiği için diyalog alanlarını
   bozmasın diye skin'in kendi ölçüleri daha yüksek özgüllükle geri verilir. */
.mce-container input.mce-textbox, .mce-container textarea.mce-textbox {
    box-sizing: border-box;
    height: 30px;
    padding: 0 4px;
    border: 1px solid #C5C5C5;
    border-radius: 0;
    box-shadow: none;
    font-size: 14px;
    line-height: 28px;
}
.mce-container textarea.mce-textbox { height: auto; line-height: normal; }

/* 5. Panel kabuğu -------------------------------------------------------- */
.app-shell { display: grid; grid-template-columns: 208px minmax(0, 1fr); min-height: 100vh; }
.app-shell--bare { grid-template-columns: minmax(0, 1fr); }

.app-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 18px 12px 16px;
    overflow-y: auto;
    border-right: 1px solid var(--line);
    background: var(--surface);
    box-sizing: border-box;
}

.app-brand, .app-brand:hover { display: flex; align-items: center; gap: 10px; padding: 2px 8px 22px; color: var(--ink); text-decoration: none; }
.app-brand-mark { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 7px; background: var(--logo); }
.app-brand-mark svg { width: 18px; height: 18px; }
.app-brand-name { display: block; color: var(--ink); font-size: 15px; font-weight: 700; letter-spacing: .06em; line-height: 1.1; }
.app-brand-sub { display: block; color: var(--muted); font-size: 11.5px; }

.side-nav, .side-nav ul { margin: 0; padding: 0; list-style: none; }
.side-nav > li { float: none; }
.side-nav .nav-link, .side-nav .nav-sub a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 7px;
    color: #354052;
    text-decoration: none;
}
.side-nav .nav-link:hover, .side-nav .nav-sub a:hover { background: var(--line-soft); color: var(--ink); text-decoration: none; }
.side-nav > .active > .nav-link, .side-nav .nav-sub > .active > a { background: var(--brand-tint); color: var(--brand); font-weight: 600; }
.side-nav .nav-group { display: flex; align-items: center; gap: 10px; padding: 14px 10px 4px; color: var(--faint); font-size: 12.5px; }
.side-nav .nav-sub a { padding-left: 36px; }
.side-nav .nav-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side-nav .nav-icon { flex: none; width: 16px; height: 16px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.side-nav > .active > .nav-link .nav-icon { stroke: var(--brand); }
.side-nav .badge { margin-left: auto; }
.side-nav .badge:empty { display: none; }

.app-sidebar-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }

.app-main { display: flex; flex-direction: column; min-width: 0; }

.app-topbar { display: flex; align-items: flex-start; gap: 16px; padding: 22px 20px 18px; }
.app-title h1 { margin: 0; color: var(--ink); font-size: 22px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.app-title p { margin: 3px 0 0; color: var(--muted); }

.app-user { position: relative; margin-left: auto; }
.app-user > a, .app-user > a:hover { display: flex; align-items: center; gap: 9px; padding: 5px 10px 5px 5px; border-radius: 99px; color: var(--ink); text-decoration: none; }
.app-user > a:hover { background: var(--line-soft); }
.app-user .caret { border-top-color: var(--faint); }
.app-avatar { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); font-size: 12px; font-weight: 600; }

/* Eski style.css sabit 1000px genişliğini ve float'larını sıfırla. #page ve #content id'leri JS için korunuyor. */
#page { width: auto; margin: 0; padding: 0 20px 32px; background: transparent; color: var(--ink); }
#content { float: none; width: auto; margin-top: 0; padding-bottom: 0; }
#notificationContainer:empty { display: none; }

/* Fuar duyurusu (_FairBanner.cshtml) */
.fair-banner { display: flex; align-items: center; gap: 14px; margin: 16px 20px 0; padding: 8px 10px 8px 8px; border: 1px solid var(--line); border-left: 3px solid #E30A17; border-radius: var(--radius-card); background: var(--surface); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.fair-banner[hidden] { display: none; }
.fair-banner-thumb { flex: none; width: 88px; height: 52px; border-radius: 6px; object-fit: cover; object-position: 78% 72%; }
.fair-banner-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fair-banner-text strong { color: var(--ink); font-size: 14px; font-weight: 600; }
.fair-banner-text span { color: var(--muted); font-size: 13px; }
.fair-banner-cta { flex: none; margin-left: auto; }
.fair-banner-close { flex: none; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--faint); font-size: 18px; line-height: 28px; cursor: pointer; }
.fair-banner-close:hover { background: var(--line-soft); color: var(--ink); }

.fair-modal { top: 5%; width: 600px; margin-left: -300px; overflow: hidden; border: 0; }
.fair-modal img { display: block; width: 100%; height: auto; }
.fair-modal .close { position: absolute; top: 10px; right: 12px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); opacity: 1; font-size: 20px; line-height: 1; text-shadow: none; }
.fair-modal .close:hover { background: #fff; opacity: 1; }

/* 6. Giriş ekranları ----------------------------------------------------- */
body.auth { background: var(--surface); }

.auth-shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }

.auth-main { display: flex; flex-direction: column; padding: 40px 56px; }
.auth-main .app-brand { padding: 0; }

.auth-body { width: 100%; max-width: 380px; margin: auto; padding: 40px 0; }
.auth-title { margin: 0 0 6px; color: var(--ink); font-size: 28px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.auth-lead { margin: 0 0 28px; color: var(--muted); }

.auth-shell #loginForm { padding-top: 0 !important; }
.auth-body label { color: var(--ink); font-size: 13px; }
.auth-body input[type="text"], .auth-body input[type="password"], .auth-body input[type="email"], .auth-body select { width: 100%; height: 42px; line-height: 40px; }
.auth-body textarea { width: 100%; }
.auth-field { margin-bottom: 16px; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; }
.auth-label-row a { font-size: 13px; }
.auth-body label.checkbox { margin: 4px 0 22px; }
.auth-body .btn-primary[type="submit"], .auth-body .btn-success[type="submit"], .auth-submit { width: 100%; height: 44px; font-size: 15px; }

.auth-signup { display: flex; flex-direction: column; gap: 6px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.auth-signup span { color: var(--muted); font-size: 13px; }

.auth-legal { color: var(--faint); font-size: 12px; }

.auth-aside { display: flex; flex-direction: column; align-items: center; padding: 40px 56px; border-left: 1px solid var(--line); background: #F6F7F9; }
.auth-feature { width: 100%; margin: auto 0; }
.auth-intro { max-width: 520px; margin: 0 auto; }
.auth-intro h2 { margin: 0 0 14px; color: var(--ink); font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.auth-intro p { max-width: 460px; margin: 0; color: var(--muted); font-size: 15px; }
.auth-promo { display: block; max-width: 100%; max-height: calc(100vh - 80px); margin: 0 auto; border-radius: 12px; box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08); }

.auth-news { width: 100%; margin-top: 40px; }
.auth-news h3 { margin: 0 0 6px; color: var(--muted); font-size: 13px; font-weight: 500; }
.auth-news .news { margin: 0; padding: 0; list-style: none; }
.auth-news .news li { padding: 14px 0; border-top: 1px solid var(--line); }
.auth-news .news li a strong { display: block; margin-bottom: 3px; color: var(--ink); font-weight: 500; }
.auth-news .news li span { display: block; max-width: 540px; color: var(--muted); font-size: 13px; }
.auth-news .news .moreNews { padding-bottom: 0; }
.auth-news .news .moreNews a { font-weight: 600; }

@media (max-width: 900px) {
    .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-aside { display: none; }
    .auth-main { padding: 24px 16px; }
    .fair-banner { margin: 12px 16px 0; }
    .fair-banner-text span { display: none; }
    .fair-modal { left: 16px; right: 16px; width: auto; margin-left: 0; }
}

/* 7. Reservation List ---------------------------------------------------- */

/* Filtre */
.filter-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.15fr); gap: 14px 22px; margin: 0 0 14px; padding: 16px 18px; }
.filter-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.filter-field { min-width: 0; }
.filter-field label { display: block; }
.filter-field input[type="text"], .filter-field select { width: 100%; margin: 0; }
.filter-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.filter-search { display: flex; align-items: flex-end; gap: 10px; }
.filter-search .filter-field { flex: 1; }
.range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; }
.range-dash { color: var(--faint); }

/* Dar ekranda yalnızca tablo yatay kaydırılır. Kartın kendisinde overflow yok: olsaydı toolbar'daki
   Select menüsü (dropdown) kartın içinde kırpılırdı. */
.table-scroll { overflow-x: auto; }

/* İstatistik sayaçları sade bir özet şeridi (markup aynı: li[data-statistic-type] > .title + .count).
   app_v1.js bu öğelere tıklama olayı bağlamıyor, yalnızca sayıları güncelliyor. Bu yüzden
   tıklanabilir sekme gibi gösterilmez: imleç, hover ve alt çizgi yok. */
#reservationStatisticsContainer { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.counter-horizontal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; }
.counter-horizontal li {
    display: flex;
    align-items: baseline;
    gap: 6px;
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--muted);
    cursor: default;
}
.counter-horizontal li:hover { background: transparent; }
.counter-horizontal li .title { display: inline; font-size: 13.5px; font-weight: 500; }
.counter-horizontal li .count { display: inline; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.counter-horizontal li[data-statistic-type="All"] .title { color: var(--ink); font-weight: 600; }

/* Toolbar (Resources/ReservationToolbarTemplate.html, markup aynı) */
#reservationToolbar { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
#reservationToolbar > div, #reservationToolbar > span { float: none; }
#reservationToolbar #section3 { color: var(--muted); }
#reservationToolbar #section6 { margin-left: auto; float: none; }
#reservationToolbar .input-search { width: 250px; margin: 0; }

/* Tablo */
.reservation-table { font-size: 12.75px; }
.reservation-table thead th { padding: 10px 5px; white-space: nowrap; }
.reservation-table thead th:first-child { padding-left: 8px; }
.reservation-table thead th:last-child, .reservation-table tr[data-row-type="reservation"] td:last-child { padding-right: 12px; }
.reservation-table th.num, .reservation-table td.num { text-align: right; }
.reservation-table th.tablesort-up, .reservation-table th.tablesort-down { background-color: transparent; background-position: right 2px center; padding-right: 16px; color: var(--ink); }
.reservation-table tr[data-row-type="reservation"] td { padding: 9px 5px; white-space: nowrap; }
.reservation-table tr[data-row-type="reservation"] td:first-child { padding-left: 8px; }
.reservation-table tr[data-row-type="reservation"]:hover td { background: #FAFBFC; }
.reservation-table tbody:has(.cb-confirm:checked) tr[data-row-type="reservation"] td { background: #F2F5F9; }
.reservation-table td[data-column-type="roomType"] a, .reservation-table td[data-column-type="reservationType"] a { color: inherit; }
.reservation-table td[data-column-type="voucher"] { font-weight: 500; }
.reservation-table .cell-time { display: block; color: var(--faint); font-size: 12px; }
.reservation-table td.type-new a { color: var(--ink); }
.reservation-table td.type-modified a { color: var(--mod); }
.reservation-table td.type-cancelled a { color: var(--bad); }
.reservation-table tbody:has(td.type-cancelled) tr[data-row-type="reservation"] td:not(.type-cancelled):not(.cell-actions) { color: var(--muted); }
.reservation-table .cb-confirm { width: 16px; height: 16px; margin: 0; accent-color: var(--brand); }
.reservation-table .smart-search-select { background: #FFF3C4; }

/* Satır işlemleri: metin görsel olarak gizli (JS metni değiştirir), ikon ::before ile */
.row-actions { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.row-actions li { margin: 0; }
.row-action, .row-action:link, .row-action:visited {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    color: var(--faint);
    font-size: 0;
    line-height: 0;
    text-decoration: none;
}
.row-action:hover, .row-action:focus { background: var(--brand-tint); color: var(--brand); text-decoration: none; }
.row-action.is-disabled, .row-action.is-disabled:hover { background: transparent; color: #C9CED6; cursor: not-allowed; }
.row-action::before {
    content: "";
    width: 15px;
    height: 15px;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}
.row-action-detail { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/><path d='M14 3v5h5M9 13h6M9 17h4'/></svg>"); }
.row-action-customers { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='8' r='3.5'/><path d='M2.5 20a6.5 6.5 0 0 1 13 0M16 4.5a3.5 3.5 0 0 1 0 7M21.5 20a6.5 6.5 0 0 0-4-6'/></svg>"); }
.row-action-logs { --icon: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M8 6h12M8 12h12M8 18h12M4 6h.01M4 12h.01M4 18h.01'/></svg>"); }

/* Ek satırlar (markup aynı) */
.reservation-table tr[data-row-type="customerHeader"] th { padding: 7px 5px; border-bottom: 1px solid var(--line); background: #F7F8FA; color: var(--muted); font-size: 12px; font-weight: 500; }
.reservation-table tr[data-row-type="customer"] td { padding: 7px 5px; background: #FBFCFD; }
.reservation-table tr[data-row-type="space"] td { height: 4px; padding: 0; border: 0; }
.reservation-table tr[data-row-type="note"] td { padding: 7px 5px; background: #FFF9EB; font-size: 12.5px; }
.reservation-table tr[data-row-type="analyze"] td { padding: 6px 8px; background: #F7F8FA; color: var(--muted); font-size: 12px; }
.reservation-table tr[data-row-type="error"] td { background: var(--bad-soft); color: var(--bad); }

/* 8. Kalıplar ------------------------------------------------------------ */
/* Spec: docs/superpowers/specs/2026-10-10-webui-redesign-wave1-design.md §4 */

/* Üst bardaki sayfa işlemi (_Layout: @RenderSection("pageActions")) */
.page-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.page-actions + .app-user { margin-left: 8px; }

/* Liste kartı */
.list-card { overflow: visible; }
.list-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.list-toolbar .input-search { width: 280px; margin: 0; }
.list-search { display: flex; align-items: center; gap: 6px; }
.list-count { margin-left: auto; color: var(--muted); font-size: 13px; }
.list-table { table-layout: auto; }
.list-table th.index, .list-table td.index { width: 44px; color: var(--faint); }
.list-table th.actions, .list-table td.actions { width: 1%; white-space: nowrap; text-align: right; }
.list-table td.cell-wrap { word-break: break-all; }
.row-links { display: inline-flex; gap: 6px; }
.row-links a, .row-links a:link, .row-links a:visited {
    padding: 3px 10px;
    border: 1px solid var(--control);
    border-radius: 6px;
    color: var(--ink);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: none;
}
.row-links a:hover { background: var(--line-soft); text-decoration: none; }
.row-links a.btn-delete, .row-links a.btn-delete:link, .row-links a.btn-delete:visited { color: var(--bad); border-color: var(--bad-line); }
.row-links a.btn-delete:hover { background: var(--bad-soft); }
.list-empty { margin: 0; padding: 40px 14px; color: var(--muted); text-align: center; }
.list-back { margin: 16px 0 0; }

/* Form kartı */
.form-card { max-width: 880px; overflow: visible; }
.form-card--narrow { max-width: 560px; }
.form-card > form { margin: 0; }
.form-card-head { padding: 18px 22px 0; }
.form-card-head h2 { margin: 0; color: var(--ink); font-size: 16px; font-weight: 600; line-height: 1.3; }
.form-card-body { padding: 20px 22px 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.form-grid .form-field.wide { grid-column: span 2; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; color: var(--ink); font-size: 13px; }
.form-field input[type="text"], .form-field input[type="email"], .form-field input[type="password"],
.form-field input[type="number"], .form-field select, .form-field textarea { width: 100%; margin: 0; }
.form-field .btn-group { display: block; }
.form-field .btn-group > .multiselect.dropdown-toggle { width: 100% !important; text-align: left; }
.form-field .input-append { display: flex; margin: 0; }
.form-field .input-append input[type="text"] { flex: 1; width: auto; min-width: 0; }
.form-field .input-append .btn-group { display: inline-block; }
.form-hint { margin-top: 4px; color: var(--muted); font-size: 12.5px; }
.form-check label.checkbox { margin: 0 0 10px; }
.form-section-title { margin: 8px 0 4px; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.4; }
.form-card-footer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-top: 1px solid var(--line);
    border-radius: 0 0 var(--radius-card) var(--radius-card);
    background: #FAFBFC;
}
.form-card-footer .spacer { flex: 1; }
.form-card .validation-summary-errors { margin-bottom: 14px; color: var(--bad); }
.form-card .validation-summary-errors ul { margin: 0 0 0 18px; }
.form-card .nav-tabs { margin: 0 0 16px; }

/* Etiket ve alan satırları (çok dilli formlar, Integration/Edit) */
.pair-rows { margin: 0 0 6px; padding: 0; list-style: none; }
.pair-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.pair-row:last-child { border-bottom: 0; }
.pair-label { margin: 0; color: var(--ink); font-weight: 500; }
.pair-label small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.pair-input input[type="text"], .pair-input select { width: 100%; margin: 0; }
.pair-input label { display: block; margin: 4px 0 0; }

/* Detay listesi (Contact/Detail) */
.detail-card { max-width: 880px; }
.detail-list { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px 16px; margin: 0; padding: 20px 22px; }
.detail-list dt { color: var(--muted); font-weight: 500; }
.detail-list dd { margin: 0; color: var(--ink); }
.detail-text { white-space: pre-wrap; }

/* Hata sayfası */
.error-card { max-width: 560px; padding: 28px; }
.error-card h2 { margin: 0 0 6px; color: var(--ink); font-size: 18px; font-weight: 600; }
.error-card p { margin: 0; color: var(--muted); }

