/* ===================================================================
   Venüs Onay — tasarım sistemi
   Palet ve bileşen dili temp/venusonay-ic-panel.html tasarımından alınmıştır.
   =================================================================== */

@import url("/css/fonts.css");

:root {
    --navy-950: #08122A;
    --navy-900: #0D1B38;
    --navy-800: #14264C;
    --navy-600: #22407C;

    --gold: #C9A24A;
    --gold-soft: #E4C77E;

    --paper: #F2F3F6;
    --card: #FFFFFF;
    --ink: #0E1524;
    --muted: #6E7686;
    --line: #E2E5EC;

    --amber: #B5791C;
    --green: #17795A;
    --red: #BE4034;
    --slate: #5B6478;

    --r: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Archivo', system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--paper);
    color: var(--ink);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }

a { color: var(--navy-600); text-decoration: none; }
a:hover { text-decoration: underline; }

button { font-family: inherit; font-size: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { letter-spacing: -.02em; }

/* ---------------- İskelet ---------------- */

.app { display: flex; min-height: 100vh; }

.sidebar {
    width: 216px; flex: 0 0 216px;
    background: var(--navy-950); color: #fff;
    display: flex; flex-direction: column;
    position: sticky; top: 0; height: 100vh;
}

/* Ajans paneli olduğunu ilk bakışta belli eden bant.
   Müşteri panelinde gösterilmez. */
.internal-strip {
    background: repeating-linear-gradient(135deg, rgba(201,162,74,.22) 0 7px, transparent 7px 14px);
    border-bottom: 1px solid rgba(201,162,74,.35);
    padding: 6px 20px;
    font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
    font-weight: 700; color: var(--gold-soft);
}

.client-strip {
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 6px 20px;
    font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
    font-weight: 700; color: rgba(255,255,255,.5);
}

.brand { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-mark { display: block; }
.brand-logo { display: block; width: 132px; height: auto; }
.brand-v {
    width: 30px; height: 30px; flex: 0 0 30px;
    border: 1.5px solid var(--gold); color: var(--gold);
    display: grid; place-items: center; font-weight: 800; font-size: 15px;
}
.brand-name { font-weight: 700; letter-spacing: -.02em; font-size: 15px; color: #fff; }
.brand-url {
    display: block; margin-top: 7px;
    display: block; margin-top: 2px; font-size: 10.5px;
    letter-spacing: .09em; text-transform: uppercase; color: rgba(255,255,255,.42);
}
.brand a, .brand a:hover { text-decoration: none; }

.sidebar__nav { padding: 14px 12px; flex: 1; overflow-y: auto; }
.sidebar__group {
    font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: rgba(255,255,255,.35); padding: 14px 8px 8px; font-weight: 700;
}
.sidebar__group:first-child { padding-top: 0; }

.nav-item {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 9px 10px; border-radius: 8px;
    color: rgba(255,255,255,.72); font-weight: 500; text-align: left;
    transition: background .15s, color .15s;
}
.nav-item:hover { background: rgba(255,255,255,.06); color: #fff; text-decoration: none; }
.nav-item.active { background: var(--navy-800); color: #fff; }

.nav-item__count {
    margin-left: auto; background: var(--gold); color: var(--navy-950);
    font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 20px;
}

.sidebar__footer {
    padding: 14px 20px; border-top: 1px solid rgba(255,255,255,.09);
    font-size: 11.5px; color: rgba(255,255,255,.4);
}
.sidebar__footer b { display: block; color: #fff; font-size: 12.5px; font-weight: 600; }
.sidebar__footer a { color: rgba(255,255,255,.45); }
.sidebar__footer a:hover { color: #fff; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }

.topbar {
    background: var(--card); border-bottom: 1px solid var(--line);
    padding: 0 26px; height: 60px;
    display: flex; align-items: center; gap: 14px;
    position: sticky; top: 0; z-index: 20;
}
.topbar__title { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--navy-800); color: var(--gold-soft);
    display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

.content { padding: 24px 26px; flex: 1; }
.wrap { max-width: 1120px; margin: 0 auto; }

.eyebrow {
    font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
    color: var(--muted); font-weight: 600;
}
.page-title { font-size: 25px; font-weight: 700; letter-spacing: -.03em; margin: 6px 0 0; }
.page-sub { color: var(--muted); margin-top: 5px; max-width: 60ch; }

/* ---------------- Boru hattı (durum sayaçları) ---------------- */

.pipe { display: flex; gap: 8px; margin: 20px 0; flex-wrap: wrap; }

.pipe-step {
    flex: 1; min-width: 118px;
    background: var(--card); border: 1px solid var(--line);
    border-radius: 9px; padding: 11px 12px; text-align: left;
    transition: border-color .15s, box-shadow .15s;
}
.pipe-step:hover { border-color: var(--navy-600); text-decoration: none; }
.pipe-step.is-active { border-color: var(--navy-900); box-shadow: inset 0 0 0 1px var(--navy-900); }
.pipe-step.is-mine { background: #FFFCF4; border-color: var(--gold); }
.pipe-n { font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--slate); }
.pipe-l { font-size: 11.5px; color: var(--muted); margin-top: 3px; font-weight: 500; }
.pipe-step[data-side="mus"] .pipe-n { color: var(--navy-600); }

/* Ajans tarafı ile müşteri tarafını ayıran perde */
.pipe-curtain {
    align-self: stretch; width: 1px; flex: 0 0 1px; margin: 0 6px; position: relative;
    background: repeating-linear-gradient(to bottom, var(--line) 0 5px, transparent 5px 10px);
}
.pipe-curtain span {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
    font-size: 9px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); background: var(--paper); padding: 0 6px;
    white-space: nowrap; font-weight: 700;
}

/* ---------------- Kartlar ---------------- */

.card {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--r);
}

.card__head {
    padding: 13px 16px; border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.card__title { font-weight: 600; font-size: 14px; letter-spacing: -.01em; }
.card__body { padding: 16px; }

/* ---------------- Tablolar ---------------- */

.table { width: 100%; border-collapse: collapse; }
.table th {
    text-align: left; font-size: 10.5px; text-transform: uppercase; letter-spacing: .09em;
    color: var(--muted); font-weight: 700; padding: 9px 16px;
    border-bottom: 1px solid var(--line); background: #FAFBFC;
}
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #FAFBFC; }

/* ---------------- Rozetler ---------------- */

.badge {
    display: inline-block;
    font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
    padding: 3px 8px; border-radius: 5px; white-space: nowrap;
}
.badge--draft     { background: #F4F5F7; color: var(--muted); }
.badge--internal  { background: #EEF0F4; color: var(--slate); }
.badge--client    { background: #FDF4E3; color: var(--amber); }
.badge--revision  { background: #FCEEEC; color: var(--red); }
.badge--approved  { background: #E8F4F0; color: var(--green); }
.badge--published { background: var(--navy-900); color: var(--gold-soft); }
.badge--cancelled { background: #F4F5F7; color: #A2A8B4; }

.ver-tag {
    font-size: 11px; border: 1px solid var(--line); border-radius: 4px;
    padding: 1px 5px; color: var(--muted); font-weight: 600;
}

/* ---------------- Düğmeler ---------------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    padding: 8px 14px; border-radius: 8px;
    font-weight: 600; font-size: 13px;
    border: 1px solid var(--line); background: var(--card); color: var(--ink);
    transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { border-color: var(--navy-600); text-decoration: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn--primary { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.btn--primary:hover { background: var(--navy-800); border-color: var(--navy-800); }

/* Onay ve gönderim eylemleri altın — tasarımda ilerletici eylem rengi budur. */
.btn--gold, .btn--ok { background: var(--gold); border-color: var(--gold); color: var(--navy-950); }
.btn--gold:hover, .btn--ok:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

.btn--danger { background: var(--card); border-color: var(--line); color: var(--red); }
.btn--danger:hover { border-color: var(--red); background: #FDF3F2; }

.btn--ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn--ghost:hover { background: rgba(14,21,36,.04); border-color: transparent; color: var(--ink); }

.btn--sm { padding: 6px 11px; font-size: 12.5px; }

.chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 13px; border: 1px solid var(--line); border-radius: 20px;
    background: var(--card); font-weight: 500; font-size: 13px; color: var(--muted);
}
.chip:hover { border-color: var(--navy-600); color: var(--ink); text-decoration: none; }
.chip.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* ---------------- Formlar ---------------- */

.field { margin-bottom: 15px; }
.field label { display: block; font-weight: 600; font-size: 12.5px; margin-bottom: 5px; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }

.input, .select, .textarea {
    width: 100%; padding: 9px 12px;
    border: 1px solid var(--line); border-radius: 8px;
    font-size: 14px; font-family: inherit;
    background: var(--card); color: var(--ink);
}
.input:focus, .select:focus, .textarea:focus {
    outline: none; border-color: var(--navy-600);
    box-shadow: 0 0 0 3px rgba(34,64,124,.12);
}
.input:disabled, .select:disabled { background: #F7F8FA; color: var(--muted); }
.textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.validation-message, .text-danger { color: var(--red); font-size: 12.5px; }

/* ---------------- Uyarı kutuları ---------------- */

.alert {
    padding: 11px 15px; border-radius: 8px; font-size: 13.5px;
    margin-bottom: 16px; border: 1px solid;
}
.alert--ok     { background: #E8F4F0; border-color: #BFE0D5; color: #0F5A43; }
.alert--danger { background: #FCEEEC; border-color: #F2CFCA; color: #8E2F26; }
.alert--info   { background: #EEF1F6; border-color: #D5DDE9; color: var(--navy-800); }
.alert--warn   { background: #FDF4E3; border-color: #EBD9AE; color: #8A5A12; }

/* ---------------- Giriş ekranı ---------------- */

.auth {
    min-height: 100vh; display: flex; align-items: center; justify-content: center;
    padding: 24px; background: var(--navy-950);
    background-image:
        radial-gradient(900px 500px at 50% -10%, rgba(34,64,124,.55), transparent 65%),
        repeating-linear-gradient(135deg, rgba(201,162,74,.05) 0 8px, transparent 8px 16px);
}

.auth__card {
    width: 100%; max-width: 400px; background: var(--card);
    border-radius: 12px; padding: 32px;
    box-shadow: 0 20px 50px rgba(8,18,42,.35);
}

.auth__brand { text-align: center; margin-bottom: 20px; }
.auth__logo { display: block; width: 168px; height: auto; margin: 0 auto 6px; }
.auth__brand-name { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.auth__sub {
    text-align: center; color: var(--muted); font-size: 11px;
    letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 24px;
}

/* ---------------- Yardımcılar ---------------- */

.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toolbar { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; flex-wrap: wrap; }
.spacer { margin-left: auto; }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.dot-sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line); display: inline-block; }

.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 16px; align-items: start; }
@media (max-width: 1100px) { .detail-layout { grid-template-columns: 1fr; } }

.filter-bar {
    display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end;
    padding: 14px 16px; border-bottom: 1px solid var(--line);
}
.filter-bar .field { margin-bottom: 0; }
.filter-bar .input, .filter-bar .select { min-width: 160px; }

@media (max-width: 860px) {
    .sidebar { display: none; }
    .content { padding: 16px; }
}

/* ===================================================================
   İçerik ekranları
   =================================================================== */

/* ---- İçerik kartı (kuyruk listesi) ---- */

.cards { display: flex; flex-direction: column; gap: 10px; }

.post-card {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
    display: flex; overflow: hidden;
    transition: box-shadow .16s, border-color .16s;
}
.post-card:hover { box-shadow: 0 4px 18px rgba(8,18,42,.07); text-decoration: none; }

/* Sol kenardaki renk şeridi, durumu listeye bakarken okutur. */
.post-card__rail { width: 5px; flex: 0 0 5px; background: var(--line); }
.post-card[data-s="Draft"] .post-card__rail { background: var(--line); }
.post-card[data-s="AwaitingInternal"] .post-card__rail { background: var(--slate); }
.post-card[data-s="InternalRejected"] .post-card__rail,
.post-card[data-s="ClientRevisionRequested"] .post-card__rail { background: var(--red); }
.post-card[data-s="AwaitingClient"] .post-card__rail { background: var(--amber); }
.post-card[data-s="Approved"] .post-card__rail { background: var(--green); }
.post-card[data-s="Published"] .post-card__rail { background: var(--navy-600); }

.post-card__thumb {
    width: 96px; flex: 0 0 96px; height: 96px; margin: 14px 0 14px 14px;
    border-radius: 8px; overflow: hidden; position: relative;
    display: grid; place-items: center; color: #fff;
    background: linear-gradient(145deg, var(--navy-600), var(--navy-950));
}
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card__kind {
    position: absolute; top: 6px; left: 6px; background: rgba(8,18,42,.72);
    font-size: 9.5px; letter-spacing: .09em; text-transform: uppercase;
    padding: 2px 6px; border-radius: 4px; font-weight: 600; color: #fff;
}

.post-card__body { flex: 1; min-width: 0; padding: 14px 16px; }
.post-card__meta {
    display: flex; align-items: center; gap: 9px; margin-bottom: 6px; flex-wrap: wrap;
}
.post-card__client { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; }
.post-card__when { font-size: 12px; color: var(--muted); }
.post-card__title { font-weight: 600; letter-spacing: -.01em; margin-bottom: 3px; color: var(--ink); }
.post-card__cap {
    color: var(--muted); font-size: 13px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.post-card__who {
    margin-top: 8px; font-size: 12px; color: var(--muted);
    display: flex; align-items: center; gap: 6px;
}
.post-card__note {
    margin-top: 8px; font-size: 12.5px; background: #F6F7F9;
    border-left: 3px solid var(--slate); border-radius: 0 6px 6px 0;
    padding: 7px 10px; color: var(--slate);
}
.post-card__note b { color: var(--ink); }
.post-card__acts {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    padding: 14px 16px; border-left: 1px solid var(--line); flex: 0 0 176px;
}

.mini-av {
    width: 18px; height: 18px; border-radius: 50%;
    background: var(--navy-800); color: #fff;
    display: grid; place-items: center; font-size: 9px; font-weight: 700;
}

/* ---- İnceleme düzeni: sol sahne, sağ panel ---- */

.review {
    display: flex; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--line); background: var(--card); margin-top: 18px;
}
.review__stage {
    flex: 1; min-width: 0; background: var(--navy-950);
    padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.review__side { flex: 0 0 340px; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
@media (max-width: 1000px) { .review { flex-direction: column; } .review__side { flex: 1; border-left: 0; border-top: 1px solid var(--line); } }

.ver-tabs { display: flex; gap: 6px; }
.ver-tab {
    padding: 5px 11px; border-radius: 7px; font-size: 12px; font-weight: 600;
    background: rgba(255,255,255,.08); color: rgba(255,255,255,.72); text-align: center; line-height: 1.3;
}
.ver-tab:hover { background: rgba(255,255,255,.14); color: #fff; text-decoration: none; }
.ver-tab.is-active { background: var(--gold); color: var(--navy-950); }
.ver-tab small { display: block; font-size: 10px; font-weight: 500; opacity: .8; }

/* Sosyal medya gönderi önizlemesi */
.preview {
    width: 100%; max-width: 380px; background: var(--card);
    border-radius: 10px; overflow: hidden;
}
.preview__head { display: flex; align-items: center; gap: 9px; padding: 11px 13px; }
.preview__avatar {
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--navy-800); color: var(--gold-soft);
    display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.preview__handle { font-size: 13px; font-weight: 600; line-height: 1.2; }
.preview__sub { font-size: 11px; color: var(--muted); }
.preview__media { background: #0B1120; aspect-ratio: 4 / 5; display: grid; place-items: center; }
.preview__media img, .preview__media video { width: 100%; height: 100%; object-fit: contain; }
.preview__icons { display: flex; gap: 13px; padding: 10px 13px 6px; color: var(--ink); font-size: 15px; }
.preview__caption { padding: 0 13px 14px; font-size: 12.5px; line-height: 1.55; }
.preview__caption b { font-weight: 600; }
.preview__tags { color: var(--navy-600); }

.stage-meta { font-size: 11.5px; color: rgba(255,255,255,.45); letter-spacing: .04em; }
.stage-lock {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.72); border-radius: 8px; padding: 7px 12px; font-size: 12px;
}

/* Müşteriye görünmeyen bölgeyi ayıran perde */
.curtain {
    display: flex; align-items: center; gap: 8px; margin: 14px 0 10px;
    font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); font-weight: 700;
}
.curtain::before, .curtain::after {
    content: ""; flex: 1; height: 1px;
    background: repeating-linear-gradient(to right, var(--line) 0 5px, transparent 5px 10px);
}

.internal-zone {
    background: repeating-linear-gradient(135deg, rgba(110,118,134,.05) 0 8px, transparent 8px 16px);
    border: 1px solid var(--line); border-radius: 9px; padding: 12px;
}

/* ---- Medya kılavuzu ---- */

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }

.media-tile { border: 1px solid var(--line); border-radius: 9px; overflow: hidden; background: var(--card); position: relative; }
.media-tile__frame { aspect-ratio: 1/1; background: #F7F8FA; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.media-tile__frame img { width: 100%; height: 100%; object-fit: cover; }
.media-tile__frame video { width: 100%; height: 100%; object-fit: cover; background: #000; }
.media-tile__bar {
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
    padding: 7px 9px; border-top: 1px solid var(--line); font-size: 11.5px;
}
.media-tile__order {
    position: absolute; top: 7px; left: 7px; background: rgba(8,18,42,.78); color: #fff;
    width: 21px; height: 21px; border-radius: 6px;
    display: grid; place-items: center; font-size: 11px; font-weight: 700;
}
.media-tile__kind {
    position: absolute; top: 7px; right: 7px; background: rgba(8,18,42,.78); color: #fff;
    padding: 2px 6px; border-radius: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em;
}

.icon-btn {
    border: 1px solid var(--line); background: var(--card); border-radius: 6px;
    width: 24px; height: 24px; display: inline-grid; place-items: center;
    font-size: 12px; color: var(--muted); padding: 0;
}
.icon-btn:hover { background: var(--paper); color: var(--ink); }
.icon-btn--danger:hover { background: #FDF3F2; color: var(--red); border-color: #F2CFCA; }

/* ---- Metin ---- */

.post-text { white-space: pre-wrap; font-size: 14px; line-height: 1.65; }
.post-hashtags { margin-top: 12px; color: var(--navy-600); font-size: 13px; word-break: break-word; }

/* ---- Yorumlar ---- */

.comment { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.comment:last-child { border-bottom: 0; }
.comment__avatar {
    flex: 0 0 30px; height: 30px; border-radius: 50%;
    background: var(--navy-800); color: #fff;
    display: grid; place-items: center; font-weight: 700; font-size: 11px;
}
.comment__avatar--client { background: var(--gold); color: var(--navy-950); }
.comment__body { flex: 1; min-width: 0; }
.comment__head { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.comment__author { font-weight: 600; font-size: 13px; }
.comment__time { font-size: 11.5px; color: var(--muted); }
.comment__text { margin-top: 3px; white-space: pre-wrap; font-size: 13.5px; }

/* ---- Geçmiş ---- */

.timeline { position: relative; padding-left: 18px; }
.timeline::before {
    content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px;
    width: 2px; background: var(--line);
}
.timeline__item { position: relative; padding: 6px 0; }
.timeline__dot {
    position: absolute; left: -18px; top: 11px; width: 10px; height: 10px;
    border-radius: 50%; background: var(--card); border: 2px solid var(--muted);
}
.timeline__dot--ok { border-color: var(--green); background: var(--green); }
.timeline__dot--bad { border-color: var(--red); background: var(--red); }
.timeline__title { font-size: 13px; font-weight: 600; }
.timeline__meta { font-size: 11.5px; color: var(--muted); }
.timeline__note {
    font-size: 12.5px; color: var(--slate); margin-top: 3px;
    background: #F6F7F9; padding: 6px 10px; border-radius: 6px;
}

/* ---- Dosya bırakma alanı ---- */

.dropzone {
    border: 2px dashed var(--line); border-radius: 10px; padding: 22px;
    text-align: center; color: var(--muted); background: #FAFBFC;
    cursor: pointer; transition: border-color .15s, background .15s;
    display: block;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--gold); background: #FFFCF4; color: var(--amber); }
.dropzone input { display: none; }
.dropzone__list { margin-top: 10px; font-size: 12.5px; color: var(--ink); text-align: left; }
.dropzone__list div { padding: 2px 0; }

/* ---- Özet sayaçlar ---- */

.grid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.stat__label { font-size: 11.5px; color: var(--muted); font-weight: 500; }
.stat__value { font-size: 24px; font-weight: 700; letter-spacing: -.03em; margin-top: 2px; }

/* ---- Gönderi önizlemesi (carousel) ---- */

.preview__media { position: relative; }
.preview__slide { display: none; width: 100%; height: 100%; }
.preview__slide.is-active { display: block; }
.preview__slide img, .preview__slide video { width: 100%; height: 100%; object-fit: contain; }
.preview__empty { color: rgba(255,255,255,.4); font-size: 12.5px; }

.preview__nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 28px; height: 28px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.85); color: var(--navy-950);
    font-size: 17px; line-height: 1; display: grid; place-items: center;
}
.preview__nav:hover { background: #fff; }
.preview__nav--prev { left: 8px; }
.preview__nav--next { right: 8px; }

.preview__count {
    position: absolute; top: 8px; right: 8px;
    background: rgba(8,18,42,.72); color: #fff;
    padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600;
}

.preview__dots { display: flex; justify-content: center; gap: 5px; padding: 8px 0 0; }
.preview__dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--line); cursor: pointer;
}
.preview__dot.is-active { background: var(--navy-600); }


/* ---------------- Satır içi işlem düğmeleri ---------------- */

.row-acts {
    display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
    justify-content: flex-end;
}
.row-acts form { display: inline-flex; margin: 0; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; padding: 0;
    border: 1px solid var(--line); border-radius: 7px;
    background: #fff; color: var(--slate); cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
}
.icon-btn svg { width: 15px; height: 15px; display: block; }
.icon-btn:hover { border-color: var(--navy-800); color: var(--navy-800); text-decoration: none; }
.icon-btn--danger:hover { border-color: var(--red); color: var(--red); background: #FFF7F6; }
.icon-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
