/* Demo CSS-inə toxunmadan əlavə edilən stillər:
   giriş səhifəsi, istifadəçi menyusu, link halına gətirilmiş elementlər. */

/* ── linkə çevrilmiş demo elementləri ── */
.open-btn { display: inline-flex; align-items: center; text-decoration: none; }
.wrisk-row { text-decoration: none; color: inherit; }
.top-crumbs a { color: var(--n700); text-decoration: none; }
.top-crumbs a:hover { color: var(--accent); }
.byline a { color: var(--accent); text-decoration: none; font-weight: 600; }
.byline a:hover { color: var(--accent-700); text-decoration: underline; }
a.btn-back { text-decoration: none; }

/* ── başlıqdakı şirkət adı (statik — panel içində şirkət dəyişmir) ── */
.company-btn.company-static { cursor: default; background: var(--n200); }
.company-btn.company-static:hover { border-color: var(--n300); box-shadow: none; }
#userBtn { font-weight: 600; font-size: 12.5px; max-width: 220px; }
#userBtn span.caret { flex: none; }
.company-menu form { margin: 0; }
.company-menu form button { width: 100%; }

/* ── kiçik boş hallar ── */
.empty-mini { padding: 12px 16px; font-size: 12px; color: var(--n600); }
.posts.is-loading { opacity: .55; transition: opacity .12s; }
.detail-image { border-radius: var(--radius); margin-bottom: 14px; }

/* ── linkə çevrilmiş sol naviqasiya (Axın/Analitika/Hesabatlar) ── */
a.nav-item { text-decoration: none; }

/* ── sol panel: sticky-dir (app.css), amma məzmun ekrandan uzun olanda
   heç bir overflow təyin olunmadığı üçün əsas səhifə ilə birgə sürüşürdü.
   Nəticədə "Monitorinq" bloku görünməz olurdu və ona çatmaq mümkün deyildi.
   Öz overflow-u olan sahə kimi kəsib, əsas axından asılı olmadan sürüşdürürük. */
.navcol {
  max-height: calc(100vh - 82px - 24px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
}

/* ── filtr başlığındakı "Hamısı" sıfırlama linki ── */
.nav-sect-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-left: 12px; padding-right: 4px; margin-bottom: 10px;
}
.nav-sect-head .label { margin-bottom: 0; padding-left: 0; }
.reset-link {
  font-family: var(--font); font-size: 10.5px; font-weight: 700; letter-spacing: .04em;
  color: var(--n600); background: none; border: none; cursor: pointer; padding: 2px 4px;
  transition: color .12s;
}
.reset-link:hover { color: var(--accent); }

/* ═══ Analitika ekranı ═══ */
.analytics-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px;
}
@media (max-width: 900px) { .analytics-grid { grid-template-columns: 1fr; } }
.analytics-grid .panel-head h2 { font-size: 13.5px; }

/* ═══ Hesabatlar ekranı ═══ */
.report-row { display: block; text-decoration: none; color: inherit; }
.report-row .post-head { padding-bottom: 15px; }
.detail-shell.single { grid-template-columns: minmax(0, 1fr); max-width: 780px; }

/* ═══ Giriş səhifəsi ═══ */
.auth-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--bg);
}
.auth-shell { width: 100%; max-width: 420px; padding: 32px 20px; }
.auth-card {
  background: var(--card-bg);
  border: 1px solid var(--n300);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 34px 32px 28px;
}
.auth-brand { margin-bottom: 26px; }
.auth-title { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.auth-sub { font-size: 13px; color: var(--n600); margin: 6px 0 22px; line-height: 1.5; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; gap: 6px; }
.auth-field input {
  font-family: var(--font); font-size: 14px; color: var(--text);
  border: 1px solid var(--n300); border-radius: var(--radius-sm);
  background: var(--bg);
  padding: 10px 12px;
  transition: border-color .15s, box-shadow .15s;
}
.auth-field input:focus { border-color: var(--n600); box-shadow: var(--shadow-sm); outline: none; }
.auth-submit { justify-content: center; padding: 10px 14px; font-size: 14px; }
.auth-error {
  background: var(--neg-tint); color: var(--neg);
  border: 1px solid var(--neg); border-radius: var(--radius-sm);
  padding: 10px 12px; font-size: 12.5px; font-weight: 600;
  margin-bottom: 18px;
}
.auth-note { font-size: 11.5px; color: var(--n600); margin-top: 20px; line-height: 1.5; }
