/* =====================================================================
   stok.aksucorap.com — panel stili
   Tasarim onceligi: buyuk yazi, buyuk dokunma alani, az renk, net durum.

   TEMA: Tum renkler asagidaki degiskenlerden gelir. Acik tema :root'ta
   tanimlidir; koyu tema iki yerde ezilir — sistem tercihi (data-theme yokken)
   ve kullanicinin acik secimi (data-theme="dark"). Hicbir renk yalnizca
   koyu blokta tanimli degildir, boylece eksik deger olusamaz.
   ===================================================================== */

:root {
    color-scheme: light;

    --bg:         #f4f6f8;
    --card:       #ffffff;
    --surface:    #ffffff;   /* buton, kutu, hucre zemini */
    --th-bg:      #fbfcfd;   /* tablo baslik satiri */
    --row-hover:  #fafbfc;
    --line:       #dfe4ea;
    --line-soft:  #eef1f5;
    --text:       #1c2430;
    --muted:      #6b7684;

    --blue:       #1f5fd0;
    --blue-dark:  #17489e;
    --blue-soft:  #e8f0fe;

    --green:      #12813f;
    --green-soft: #e4f6ea;
    --red:        #c62828;
    --red-soft:   #fdeaea;
    --amber:      #a86400;
    --amber-soft: #fdf3e2;

    /* Platform renkleri: site pembe, Trendyol turuncu.
       --*-line accent tonu her iki temada aynidir; yazi rengi acik temada
       okunabilirlik icin koyulastirilir. */
    --site:       #c2264a;
    --site-line:  #eb3755;
    --site-soft:  #fde9ee;
    --site-tint:  rgba(235, 55, 85, .035);

    --ty:         #a85a00;
    --ty-line:    #f27a1a;
    --ty-soft:    #fdf1e3;
    --ty-tint:    rgba(242, 122, 26, .045);

    /* Satir durumlari */
    --dirty-bg:   #fffdf2;

    /* Bildirim kutulari: kenar ve yazi renkleri */
    --note-ok-bd:   #b7e3c6;  --note-ok-fg:   #0d5c2e;
    --note-err-bd:  #f0bcbc;  --note-err-fg:  #8f1f1f;
    --note-warn-bd: #f0d9a8;  --note-warn-fg: #7a4800;
    --note-info-bd: #bcd4f7;  --note-info-fg: #16407f;

    /* Sag alt mesaj kutusu (her zaman dolu zemin, beyaz yazi) */
    --toast-ok:   #12813f;
    --toast-err:  #c62828;
    --toast-info: #1f5fd0;
    --toast-fg:   #ffffff;

    --radius:  10px;
    --shadow:  0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
    --shadow-lg: 0 4px 24px rgba(16, 24, 40, .08);
    --backdrop: rgba(16, 24, 40, .45);
}

/* Sistem koyu tema — kullanici "acik" secmediyse gecerli */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        color-scheme: dark;

        --bg:         #10141a;
        --card:       #1a1f27;
        --surface:    #1f252f;
        --th-bg:      #171c24;
        --row-hover:  #222933;
        --line:       #2e3742;
        --line-soft:  #262d37;
        --text:       #e6ebf1;
        --muted:      #98a4b3;

        --blue:       #6aa5ff;
        --blue-dark:  #8fbcff;
        --blue-soft:  #1c2c45;

        --green:      #4fcb84;
        --green-soft: #14301f;
        --red:        #ff8080;
        --red-soft:   #3a1e1e;
        --amber:      #efb85f;
        --amber-soft: #382c15;

        --site:       #ff7e9b;
        --site-line:  #eb3755;
        --site-soft:  #3a1a24;
        --site-tint:  rgba(235, 55, 85, .07);

        --ty:         #f0a055;
        --ty-line:    #f27a1a;
        --ty-soft:    #33230f;
        --ty-tint:    rgba(242, 122, 26, .07);

        --dirty-bg:   #2c2716;

        --note-ok-bd:   #2c5a3c;  --note-ok-fg:   #86e0aa;
        --note-err-bd:  #6b3232;  --note-err-fg:  #ffa5a5;
        --note-warn-bd: #634c1e;  --note-warn-fg: #f3cd8c;
        --note-info-bd: #2f4870;  --note-info-fg: #a8c8ff;

        --toast-ok:   #1a8b4a;
        --toast-err:  #d13c3c;
        --toast-info: #2f6fd8;

        --shadow:    0 1px 2px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .3);
        --shadow-lg: 0 6px 28px rgba(0, 0, 0, .5);
        --backdrop:  rgba(0, 0, 0, .62);
    }
}

/* Kullanici acikca "koyu" sectiyse — sistem ne derse desin */
:root[data-theme="dark"] {
    color-scheme: dark;

    --bg:         #10141a;
    --card:       #1a1f27;
    --surface:    #1f252f;
    --th-bg:      #171c24;
    --row-hover:  #222933;
    --line:       #2e3742;
    --line-soft:  #262d37;
    --text:       #e6ebf1;
    --muted:      #98a4b3;

    --blue:       #6aa5ff;
    --blue-dark:  #8fbcff;
    --blue-soft:  #1c2c45;

    --green:      #4fcb84;
    --green-soft: #14301f;
    --red:        #ff8080;
    --red-soft:   #3a1e1e;
    --amber:      #efb85f;
    --amber-soft: #382c15;

    --site:       #ff7e9b;
    --site-line:  #eb3755;
    --site-soft:  #3a1a24;
    --site-tint:  rgba(235, 55, 85, .07);

    --ty:         #f0a055;
    --ty-line:    #f27a1a;
    --ty-soft:    #33230f;
    --ty-tint:    rgba(242, 122, 26, .07);

    --dirty-bg:   #2c2716;

    --note-ok-bd:   #2c5a3c;  --note-ok-fg:   #86e0aa;
    --note-err-bd:  #6b3232;  --note-err-fg:  #ffa5a5;
    --note-warn-bd: #634c1e;  --note-warn-fg: #f3cd8c;
    --note-info-bd: #2f4870;  --note-info-fg: #a8c8ff;

    --toast-ok:   #1a8b4a;
    --toast-err:  #d13c3c;
    --toast-info: #2f6fd8;

    --shadow:    0 1px 2px rgba(0, 0, 0, .4), 0 1px 3px rgba(0, 0, 0, .3);
    --shadow-lg: 0 6px 28px rgba(0, 0, 0, .5);
    --backdrop:  rgba(0, 0, 0, .62);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 17px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--blue); }

/* ---------- Ust cubuk ---------- */

.topbar {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 50;
}

.topbar-inner {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.brand {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -.01em;
    padding: 16px 14px 16px 0;
    margin-right: 6px;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
}
.brand span { color: var(--blue); }

.nav { display: flex; gap: 2px; flex: 1; flex-wrap: wrap; }

.nav a {
    display: block;
    padding: 16px 18px;
    font-size: 17px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}
.nav a:hover { color: var(--text); background: var(--line-soft); }
.nav a.on    { color: var(--blue); border-bottom-color: var(--blue); }

.nav .badge {
    display: inline-block;
    min-width: 20px;
    padding: 1px 6px;
    margin-left: 6px;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    vertical-align: 2px;
}

.topbar .who { color: var(--muted); font-size: 15px; white-space: nowrap; }

/* Tema degistirme dugmesi */
.theme-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.theme-btn:hover { background: var(--line-soft); }
.theme-btn svg { width: 17px; height: 17px; flex: none; }

/* Simgeler: acik temada ay, koyu temada gunes gorunur */
.theme-btn .i-moon { display: block; }
.theme-btn .i-sun  { display: none; }
.theme-btn .t-dark  { display: inline; }
.theme-btn .t-light { display: none; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
    :root:not([data-theme="light"]) .theme-btn .i-sun  { display: block; }
    :root:not([data-theme="light"]) .theme-btn .t-dark  { display: none; }
    :root:not([data-theme="light"]) .theme-btn .t-light { display: inline; }
}
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun  { display: block; }
:root[data-theme="dark"] .theme-btn .t-dark  { display: none; }
:root[data-theme="dark"] .theme-btn .t-light { display: inline; }

/* ---------- Yerlesim ---------- */

.wrap { max-width: 1500px; margin: 0 auto; padding: 22px 20px 60px; }

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.page-head h1 { margin: 0; font-size: 26px; letter-spacing: -.02em; }
.page-head p  { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.card + .card { margin-top: 18px; }
.card-pad { padding: 18px 20px; }

/* ---------- Ozet kutulari ---------- */

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-bottom: 18px;
}
.tile {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px 16px;
    box-shadow: var(--shadow);
}
.tile .k { font-size: 14px; color: var(--muted); font-weight: 600; }
.tile .v { font-size: 27px; font-weight: 700; letter-spacing: -.02em; margin-top: 2px; }
.tile.warn .v { color: var(--amber); }
.tile.bad  .v { color: var(--red); }
.tile.good .v { color: var(--green); }

/* ---------- Butonlar ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover:not(:disabled) { background: var(--line-soft); }
.btn:disabled { opacity: .55; cursor: default; }

.btn-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-primary:hover:not(:disabled) { background: var(--blue-dark); }

.btn-lg { min-height: 52px; font-size: 18px; padding: 0 24px; }
.btn-sm { min-height: 38px; font-size: 15px; padding: 0 12px; }

/* Koyu temada mavi butonun yazisi koyu olmali (mavi acik tonda) */
:root[data-theme="dark"] .btn-primary { color: #0e1620; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .btn-primary { color: #0e1620; }
}

/* ---------- Form ogeleri ---------- */

.input, .select {
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    font: inherit;
    color: var(--text);
    width: 100%;
}
.input:focus, .select:focus {
    outline: 3px solid var(--blue-soft);
    border-color: var(--blue);
}

.toolbar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
}
.toolbar .grow { flex: 1; min-width: 220px; }
.toolbar .search { position: relative; flex: 1; min-width: 240px; }
.toolbar .search .input { padding-left: 40px; font-size: 18px; }
.toolbar .search::before {
    content: "";
    position: absolute; left: 14px; top: 50%;
    width: 16px; height: 16px; margin-top: -8px;
    border: 2px solid var(--muted);
    border-radius: 50%;
    box-shadow: 7px 7px 0 -6px var(--muted);
    transform: rotate(-45deg);
    pointer-events: none;
}

/* ---------- Tablo ---------- */

.table-scroll { overflow-x: auto; }

table.grid { width: 100%; border-collapse: collapse; }

table.grid th {
    text-align: left;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--th-bg);
    white-space: nowrap;
}
table.grid td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line-soft);
    vertical-align: middle;
}
table.grid tbody tr:hover { background: var(--row-hover); }
table.grid tbody tr:last-child td { border-bottom: 0; }

.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Platform sutun gruplari.
   Site pembe, Trendyol turuncu. Her grup kendi renginde bir cerceve icinde
   durur; boylece hangi fiyatin nereye gittigi bir bakista anlasilir. */
table.grid th.grp {
    text-align: center;
    font-size: 12.5px;
    letter-spacing: .06em;
    border-bottom: 0;
    padding-bottom: 8px;
}
table.grid th.grp-site { background: var(--site-soft); color: var(--site); }
table.grid th.grp-ty   { background: var(--ty-soft);   color: var(--ty); }

/* Grup kenarlari: solda baslar, sagda kapanir */
table.grid th.gb-site,
table.grid td.gb-site { border-left:  2px solid var(--site-line); }
table.grid th.ge-site,
table.grid td.ge-site { border-right: 2px solid var(--site-line); }
table.grid th.gb-ty,
table.grid td.gb-ty   { border-left:  2px solid var(--ty-line); }
table.grid th.ge-ty,
table.grid td.ge-ty   { border-right: 2px solid var(--ty-line); }

/* Grup ici hucrelere cok hafif renk tonu */
table.grid td.g-site, table.grid th.g-site { background: var(--site-tint); }
table.grid td.g-site, table.grid td.g-ty { padding-left: 8px; padding-right: 8px; }
table.grid td.g-ty,   table.grid th.g-ty   { background: var(--ty-tint); }

/* Alt baslik satirindaki sutun adlari da grup renginde */
table.grid thead tr + tr th.g-site { color: var(--site); }
table.grid thead tr + tr th.g-ty   { color: var(--ty); }

table.grid th .sub {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    opacity: .7;
    margin-top: 1px;
}

.price-in:disabled {
    background: var(--line-soft);
    color: var(--muted);
    cursor: not-allowed;
    border-style: dashed;
}

/* ---------- Urun hucresi ---------- */

.prod { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.prod img {
    width: 52px; height: 52px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: var(--line-soft);
    flex: none;
}
.prod .ph {
    width: 52px; height: 52px; flex: none;
    border-radius: 8px;
    background: var(--line-soft);
    border: 1px solid var(--line);
}
.prod .t { min-width: 0; }
.prod .n {
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.prod .s { font-size: 14px; color: var(--muted); font-family: ui-monospace, Menlo, Consolas, monospace; }

/* ---------- Duzenlenebilir alanlar ---------- */

.stepper { display: inline-flex; align-items: center; gap: 0; }
.stepper button {
    width: 40px; height: 46px;
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    color: var(--text);
    cursor: pointer;
}
.stepper button:first-child { border-radius: 8px 0 0 8px; }
.stepper button:last-child  { border-radius: 0 8px 8px 0; }
.stepper button:hover { background: var(--line-soft); }

.stepper input {
    width: 78px; height: 46px;
    border: 1px solid var(--line);
    border-left: 0; border-right: 0;
    text-align: center;
    font: inherit;
    font-weight: 700;
    font-size: 18px;
    font-variant-numeric: tabular-nums;
    color: var(--text);
    background: var(--surface);
}
.stepper input:focus { outline: 3px solid var(--blue-soft); position: relative; z-index: 1; }

.price-in {
    width: 94px; height: 46px;
    padding: 0 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    font: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    background: var(--surface);
    color: var(--text);
}
.price-in:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.price-in::placeholder { color: var(--muted); opacity: .65; }

tr.dirty  td { background: var(--dirty-bg) !important; }
tr.saving td { background: var(--blue-soft) !important; }
tr.saved  td { background: var(--green-soft) !important; transition: background .8s ease-out; }
tr.failed td { background: var(--red-soft) !important; }

/* ---------- Durum rozetleri ---------- */

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.pill.ok      { background: var(--green-soft); color: var(--green); }
.pill.pending { background: var(--blue-soft);  color: var(--blue); }
.pill.err     { background: var(--red-soft);   color: var(--red); }
.pill.none    { background: var(--line-soft);  color: var(--muted); }
.pill.warn    { background: var(--amber-soft); color: var(--amber); }

.dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }

.plat { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.plat b { font-weight: 700; }

/* ---------- Bildirim ---------- */

.note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: var(--radius);
    border: 1px solid;
    margin-bottom: 16px;
    font-size: 16px;
}
.note.ok   { background: var(--green-soft); border-color: var(--note-ok-bd);   color: var(--note-ok-fg); }
.note.err  { background: var(--red-soft);   border-color: var(--note-err-bd);  color: var(--note-err-fg); }
.note.warn { background: var(--amber-soft); border-color: var(--note-warn-bd); color: var(--note-warn-fg); }
.note.info { background: var(--blue-soft);  border-color: var(--note-info-bd); color: var(--note-info-fg); }
.note a { color: inherit; }

/* Sag altta beliren kisa mesaj */
#toast {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(420px, calc(100vw - 40px));
}
#toast .t {
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--toast-fg);
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    animation: pop .18s ease-out;
}
#toast .t.ok  { background: var(--toast-ok); }
#toast .t.err { background: var(--toast-err); }
#toast .t.info{ background: var(--toast-info); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Sayfalama ---------- */

.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid var(--line);
    flex-wrap: wrap;
}
.pager .links { display: flex; gap: 6px; flex-wrap: wrap; }
.pager a, .pager span.cur {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    background: var(--surface);
}
.pager a:hover { background: var(--line-soft); }
.pager span.cur { background: var(--blue); border-color: var(--blue); color: #fff; }
.pager .info { color: var(--muted); font-size: 15px; }

:root[data-theme="dark"] .pager span.cur { color: #0e1620; }
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .pager span.cur { color: #0e1620; }
}

/* ---------- Bos durum ---------- */

.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty b { display: block; font-size: 19px; color: var(--text); margin-bottom: 6px; }

/* ---------- Gorsel buyutme ---------- */

.prod img.zoomable { cursor: zoom-in; transition: transform .12s ease, box-shadow .12s ease; }
.prod img.zoomable:hover {
    transform: scale(1.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .28);
    border-color: var(--blue);
}
.prod img.zoomable:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 400;
    background: rgba(0, 0, 0, .82);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 28px;
    cursor: zoom-out;
}
.lightbox img {
    max-width: min(760px, 92vw);
    max-height: 76vh;
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .6);
}
.lightbox .cap {
    color: #fff;
    text-align: center;
    max-width: min(760px, 92vw);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.lightbox .cap .n { font-weight: 600; font-size: 18px; line-height: 1.35; }
.lightbox .cap .s {
    font-size: 15px;
    opacity: .72;
    font-family: ui-monospace, Menlo, Consolas, monospace;
}
.lightbox .hint { color: #fff; opacity: .5; font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
    .prod img.zoomable { transition: none; }
    .prod img.zoomable:hover { transform: none; }
}

/* ---------- Pencere (gecmis) ---------- */

.modal-back {
    position: fixed;
    inset: 0;
    background: var(--backdrop);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* ---------- Kod / on bicimli ---------- */

pre, code {
    background: var(--line-soft);
    color: var(--text);
}
pre { border: 1px solid var(--line); }
code { padding: 1px 5px; border-radius: 4px; }

/* ---------- Giris ekrani ---------- */

.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}
.login-theme { position: absolute; top: 18px; right: 18px; }
.login-box {
    width: 100%;
    max-width: 400px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    padding: 32px;
}
.login-box h1 { margin: 0 0 4px; font-size: 24px; text-align: center; }
.login-box .sub { text-align: center; color: var(--muted); margin: 0 0 24px; font-size: 15px; }
.login-box label { display: block; font-weight: 600; margin: 0 0 6px; font-size: 15px; }
.login-box .field { margin-bottom: 16px; }

/* ---------- Kucuk ekran ---------- */

@media (max-width: 900px) {
    .wrap { padding: 16px 12px 50px; }
    .topbar-inner { padding: 0 12px; }
    .brand { padding: 14px 10px 14px 0; font-size: 17px; }
    .nav a { padding: 12px 12px; font-size: 16px; }
    .topbar .who { display: none; }
    .theme-btn span.txt { display: none; }
    table.grid th, table.grid td { padding: 10px 8px; }
}

@media print {
    .topbar, .toolbar, .pager, .btn, .theme-btn { display: none !important; }
}
