/* Copied from bikariyer-html-css-js/css/common.css */
@import url('https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=swap');

:root {
  --color-primary: #004482;
  --color-primary-container: #005cab;
  --color-secondary: #48626e;
  --color-surface: #ffffff;
  --color-surface-low: #f8fafc;
  --color-surface-highest: #e0e3e5;
  --color-border: rgba(226, 232, 240, 0.9);
  --color-border-strong: #eceef0;
  --color-text: #0f172a;
  --color-text-strong: #191c1e;
  --color-muted: #64748b;
  --color-danger: #ba1a1a;
  --color-danger-bg: #fff3f3;
  --color-danger-border: #ffd0d0;
  --color-danger-text: #8a1f1f;
  --color-success: #15803d;
  --color-success-bg: #f0fdf4;
  --color-success-border: #bbf7d0;
  --color-warning: #b45309;
  --color-warning-bg: #fffbeb;
  --color-warning-border: #fde68a;
  --color-info: #005cab;
  --color-info-bg: #eff6ff;
  --color-info-border: #bfdbfe;
  --admin-gutter: 24px;
  --admin-sidebar-width: 288px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 14px;
  --radius-xl: 16px;
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.06);
  /* Katmanlı yumuşak gölge: yakın kenar + geniş dağılım */
  --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-lift: 0 2px 4px rgba(15, 23, 42, 0.06), 0 10px 24px rgba(15, 23, 42, 0.08);
  --ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Public Sans', system-ui, sans-serif;
  background-color: #f7f9fb;
  color: var(--color-text-strong);
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  -webkit-font-smoothing: antialiased;
}

.material-symbols-outlined.fill-1 {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.adminRoot {
  min-height: 100vh;
  background: #f7f9fb;
  color: #191c1e;
}

.adminAside {
  height: 100vh;
  width: var(--admin-sidebar-width);
  position: fixed;
  left: 0;
  top: 0;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  z-index: 50;
  border-right: 1px solid rgba(193, 198, 211, 0.35);
}

.adminNav {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #c5ced6 transparent;
}

.adminNav::-webkit-scrollbar {
  width: 6px;
}

.adminNav::-webkit-scrollbar-thumb {
  background: #c5ced6;
  border-radius: 999px;
}

.adminNav {
  padding: 0 12px;
}

.adminNavLink {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: #48626e;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}

.adminNavLink .material-symbols-outlined {
  font-size: 21px;
  flex-shrink: 0;
  transition: font-variation-settings 200ms ease;
}

/* Aktif göstergesi: soldan kayarak açılan vurgu çubuğu */
.adminNavLink::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 0 3px 3px 0;
  background: var(--color-primary);
  transform: translateY(-50%);
  transition: height 200ms var(--ease-out);
}

.adminNavLink:hover {
  color: #004482;
  background: #eef2f6;
}

.adminNavLinkActive {
  color: #004482;
  font-weight: 700;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 12px rgba(0, 68, 130, 0.07);
}

.adminNavLinkActive::before {
  height: 22px;
}

/* Aktif sayfada ikon dolgulu hale geçer */
.adminNavLinkActive .material-symbols-outlined {
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 24;
}

.adminMain {
  margin-left: var(--admin-sidebar-width);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.adminHeader {
  position: fixed;
  top: 0;
  right: 0;
  left: var(--admin-sidebar-width);
  height: 64px;
  z-index: 40;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(193, 198, 211, 0.28);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px 0 var(--admin-gutter);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* Kullanıcı baş harfleri rozeti */
.adminAvatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 68, 130, 0.25);
  user-select: none;
}

.adminContent {
  flex: 1;
  padding: 96px 32px 48px var(--admin-gutter);
}

.adminFooter {
  width: 100%;
  padding: 24px 32px 24px var(--admin-gutter);
  background: #f7f9fb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(226, 232, 240, 0.45);
}

.adminFooterBrand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.adminFooterBrandName {
  font-weight: 700;
  color: var(--color-primary);
}

.adminFooterCopy {
  font-size: 12px;
  color: var(--color-secondary);
}

.adminFooterLinks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.adminFooterLinks a {
  font-size: 12px;
  color: var(--color-secondary);
  text-decoration: none;
}

.adminFooterLinks a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.adminCard {
  background: #ffffff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(193, 198, 211, 0.22);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms var(--ease-out);
}

.adminCardHoverBorder:hover {
  border-color: #a6c8ff;
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}

.adminCard--padded {
  padding: 16px 20px;
}

.adminPageWrap {
  max-width: 1600px;
  margin: 0;
}

.adminPageWrap--medium {
  max-width: 1400px;
}

.adminPageWrap--wide {
  max-width: 1760px;
}

.adminPageWrap--narrow {
  max-width: 960px;
}

.adminSplitLayout {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 20px;
  align-items: start;
}

.adminSplitLayout--resume {
  grid-template-columns: 1.35fr 1fr;
}

@media (max-width: 1280px) {
  .adminSplitLayout,
  .adminSplitLayout--resume {
    grid-template-columns: 1fr;
  }
}

.adminPanelHeader--stacked {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.adminPanelHeader--stacked .sectionTitle {
  margin-bottom: 0;
}

.adminFilterBar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
}

.adminFilterField {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.adminFilterLabel {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-secondary);
}

.adminFilterField select,
.adminFilterField input {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid var(--color-border-strong);
  font-size: 12px;
  font-family: inherit;
  color: var(--color-text-strong);
  background: #fff;
  min-width: 140px;
}

.adminFilterField--grow {
  flex: 1;
  min-width: 140px;
}

.adminFilterField--grow input {
  width: 100%;
  min-width: 0;
}

.adminFilterCard {
  background: #fff;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(193, 198, 211, 0.22);
  box-shadow: var(--shadow-soft);
  padding: 16px 20px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.adminPanelActions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.adminDetailMeta {
  font-size: 12px;
  color: var(--color-secondary);
  margin-bottom: 16px;
  display: grid;
  gap: 4px;
  line-height: 1.5;
}

.adminSubTitle {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 900;
  color: var(--color-text-strong);
}

.adminHistoryWrap {
  overflow: auto;
  max-height: 36vh;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
}

.adminHistoryTable {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 12px;
}

.adminHistoryTable thead {
  background: #f7f9fb;
}

.adminHistoryTable th {
  text-align: left;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--color-secondary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.adminHistoryTable td {
  padding: 8px 10px;
  border-top: 1px solid var(--color-border-strong);
  color: var(--color-text-strong);
}

.adminInfoBox {
  padding: 12px;
  background: #f7fbff;
  border: 1px solid #d6e8f5;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.adminInfoBoxTitle {
  font-weight: 900;
  font-size: 13px;
  color: var(--color-text-strong);
}

.adminInfoBoxText {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--color-secondary);
  line-height: 1.45;
}

.adminTabBar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tabBtn,
.tabBtnActive {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 999px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid #dce4ec;
  background: #f7f9fb;
  color: #33475b;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease,
    transform 120ms var(--ease-out), box-shadow 150ms ease;
}

.tabBtn:hover {
  background: #eef4fb;
  border-color: #a6c8ff;
  color: var(--color-primary);
  transform: translateY(-1px);
}

.tabBtnActive {
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(0, 68, 130, 0.22);
}

.btnSecondary.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.linkBtn + .linkBtn {
  margin-left: 8px;
}

.adminPanel {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(193, 198, 211, 0.22);
  overflow: hidden;
}

.adminPanel--standalone {
  padding: 16px 24px;
}

.adminPanelHeader {
  padding: 16px 24px 20px;
  border-bottom: 1px solid var(--color-border-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.adminPanelBody {
  padding: 16px 24px;
}

.adminPanelIntro {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--color-secondary);
  line-height: 1.5;
}

.adminGrid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 24px;
  align-items: start;
}

.adminCallout {
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(193, 198, 211, 0.22);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.adminCallout--narrow {
  max-width: 640px;
}

.adminCallout--wide {
  max-width: 980px;
}

.adminCalloutTitle {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: var(--color-text-strong);
}

.adminPickRow {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 12px;
  border: none;
  border-bottom: 1px solid var(--color-border-strong);
  background: #fff;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  color: var(--color-text-strong);
}

.adminPickRow:hover {
  background: #f7f9fb;
}

.adminCalloutText {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--color-secondary);
  line-height: 1.5;
}

.adminCalloutGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.adminCalloutCard {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 10px 12px;
}

.adminCalloutCardTitle {
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 6px;
  color: var(--color-text-strong);
}

.fieldRequired {
  color: var(--color-danger);
}

.adminModalTitle {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text-strong);
}

.adminFormStack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13px;
}

.adminFormGrid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.adminFormRow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.adminFormRow .adminInput {
  flex: 1;
  min-width: 180px;
}

.reportsStatGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

@media (max-width: 1200px) {
  .reportsStatGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .reportsStatGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reportsStatCard {
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.reportsStatIcon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.reportsStatIcon .material-symbols-outlined {
  font-size: 22px;
}

.reportsStatBody {
  min-width: 0;
}

.reportsStatusList {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reportsStatusRow {
  display: grid;
  grid-template-columns: minmax(140px, 1.2fr) 1fr auto;
  gap: 12px;
  align-items: center;
}

.reportsStatusLabel {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-strong);
}

.reportsStatusBarTrack {
  height: 8px;
  background: #eef2f6;
  border-radius: 999px;
  overflow: hidden;
}

.reportsStatusBarFill {
  height: 100%;
  background: linear-gradient(90deg, #004482, #005cab);
  border-radius: 999px;
  min-width: 2px;
}

.reportsStatusCount {
  font-size: 14px;
  font-weight: 800;
  color: var(--color-text-strong);
  min-width: 2.5rem;
  text-align: right;
}

@media (max-width: 640px) {
  .reportsStatusRow {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .reportsStatusBarTrack {
    grid-column: 1 / -1;
  }
}

.errorBoundaryBox {
  padding: 24px;
  max-width: 640px;
  margin: 24px auto;
}

.errorBoundaryBox .errBox {
  margin-bottom: 12px;
}

.errorBoundaryBox p {
  margin: 0;
  font-size: 13px;
  color: var(--color-secondary);
  line-height: 1.55;
}

.adminBrandTitle {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.adminBrandSub {
  margin: 0;
  margin-top: 4px;
  font-size: 12px;
  color: var(--color-secondary);
  font-weight: 600;
}

.adminBrandWrap {
  padding: 0 24px;
  margin-bottom: 32px;
}

.adminHeaderSearch {
  display: flex;
  align-items: center;
  background: #f2f4f6;
  border: 1px solid transparent;
  padding: 8px 16px;
  border-radius: 999px;
  width: min(384px, 100%);
  flex: 1;
  max-width: 384px;
  min-width: 0;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

/* Arama kutusu odaklandığında tüm hap parlar */
.adminHeaderSearch:focus-within {
  background: #fff;
  border-color: rgba(0, 92, 171, 0.35);
  box-shadow: 0 0 0 3px rgba(0, 92, 171, 0.1);
}

.adminHeaderSearch:focus-within .material-symbols-outlined {
  color: var(--color-primary);
}

.adminHeaderSearch .material-symbols-outlined {
  color: #727783;
  flex-shrink: 0;
}

.adminHeaderSearch input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 8px 10px;
  margin-left: 8px;
  flex: 1;
  color: #0f172a;
  outline: none;
  box-shadow: none;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}

.adminHeaderSearch input::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.adminHeaderActions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.adminIconBtn {
  color: var(--color-secondary);
  border: none;
  background: transparent;
  border-radius: 999px;
  padding: 8px;
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 150ms ease, color 150ms ease;
}

.adminIconBtn:hover {
  background: #f2f4f6;
  color: var(--color-primary);
}

.adminIconBtn:focus-visible {
  outline: 2px solid rgba(0, 68, 130, 0.35);
  outline-offset: 2px;
}

.adminUserBlock {
  display: flex;
  align-items: center;
  gap: 12px;
}

.adminUserName {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #191c1e;
}

.adminUserRole {
  margin: 0;
  margin-top: 2px;
  font-size: 10px;
  color: var(--color-secondary);
  font-weight: 600;
}

.adminNotifyDot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: var(--color-danger);
  border-radius: 999px;
  border: 2px solid #fff;
}

.pageHeader,
.adminPageHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.pageTitle,
.adminPageTitle {
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  line-height: 1.15;
}

.pageSubtitle,
.adminPageSub {
  margin: 0;
  margin-top: 6px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 760px;
  font-size: 14px;
}

.sectionTitle {
  margin: 0;
  font-size: 18px;
  font-weight: 900;
  color: var(--color-text);
}

.statusBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 5px 10px;
  min-height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(193, 198, 211, 0.25);
  box-sizing: border-box;
  font-size: 11px;
  font-weight: 800;
  line-height: 14px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Renk kodlu durum noktası; varyant sınıfı rengi devralır */
.statusBadge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
  flex-shrink: 0;
}

.statusBadge--plain::before {
  display: none;
}

.statusBadge--success {
  color: var(--color-success);
  background: var(--color-success-bg);
  border-color: var(--color-success-border);
}

.statusBadge--warning {
  color: var(--color-warning);
  background: var(--color-warning-bg);
  border-color: var(--color-warning-border);
}

.statusBadge--danger {
  color: var(--color-danger);
  background: var(--color-danger-bg);
  border-color: var(--color-danger-border);
}

.statusBadge--info {
  color: var(--color-info);
  background: var(--color-info-bg);
  border-color: var(--color-info-border);
}

.statusBadge--neutral {
  color: var(--color-secondary);
  background: #f1f5f9;
  border-color: #e2e8f0;
}

/* Shared actions */
.btnPrimary,
.btnMini {
  background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-container) 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-family: inherit;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.16);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 6px rgba(0, 68, 130, 0.12);
  transition: filter 150ms ease, opacity 150ms ease, transform 120ms ease;
  text-decoration: none;
}

.btnPrimary {
  padding: 9px 14px;
}

.btnMini {
  padding: 6px 12px;
  font-size: 11px;
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.btnPrimary:hover:not(:disabled),
.btnMini:hover:not(:disabled) {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 68, 130, 0.22);
}

.btnPrimary:active:not(:disabled),
.btnMini:active:not(:disabled) {
  transform: translateY(0);
  filter: brightness(0.97);
  box-shadow: 0 1px 3px rgba(0, 68, 130, 0.18);
}

.btnSecondary {
  background: #f0f4f8;
  color: #1a2b3c;
  padding: 8px 14px;
  font-size: 12px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-family: inherit;
  border: 1px solid #dce4ec;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease, transform 120ms var(--ease-out), box-shadow 150ms ease;
}

.btnSecondary:hover:not(:disabled) {
  background: #e8eef4;
  border-color: #cfd9e4;
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.08);
}

.btnSecondary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: none;
  background: #dfe7ef;
}

.btnPrimary:disabled,
.btnSecondary:disabled,
.btnMini:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
  transform: none;
  box-shadow: none;
}

/* Klavye ile gezinirken net odak halkası (fare tıklamasında görünmez) */
.btnPrimary:focus-visible,
.btnSecondary:focus-visible,
.btnMini:focus-visible,
.btnAction:focus-visible,
.btnIcon:focus-visible,
.linkBtn:focus-visible {
  outline: 2px solid var(--color-primary-container);
  outline-offset: 2px;
}

/* ---- Tablo satırı aksiyon butonları (outline + ikon) ---- */
.rowActions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.btnAction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 5px 10px;
  min-height: 30px;
  font-size: 11.5px;
  font-weight: 700;
  font-family: inherit;
  line-height: 1;
  white-space: nowrap;
  color: #33475b;
  background: #fbfcfd;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease,
    transform 120ms var(--ease-out), box-shadow 140ms ease;
}

.btnAction .material-symbols-outlined {
  font-size: 15px;
  font-variation-settings: 'FILL' 0, 'wght' 500, 'GRAD' 0, 'opsz' 20;
}

.btnAction:hover:not(:disabled) {
  color: var(--color-primary);
  background: #fff;
  border-color: #a6c8ff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 68, 130, 0.12);
}

.btnAction:active:not(:disabled) {
  transform: translateY(0);
  background: #eef4fb;
  box-shadow: none;
}

/* Birincil vurgu: satırdaki ana aksiyon */
.btnAction--primary {
  color: var(--color-primary);
  background: #eff5fc;
  border-color: #c9dcf3;
}

.btnAction--primary:hover:not(:disabled) {
  background: #e4eefa;
  border-color: #8fb9ee;
}

.btnAction--danger {
  color: var(--color-danger);
  background: #fffafa;
  border-color: #f3d3d3;
}

.btnAction--danger:hover:not(:disabled) {
  color: #8a1f1f;
  background: #fff5f5;
  border-color: #f0aeae;
  box-shadow: 0 3px 8px rgba(186, 26, 26, 0.14);
}

.btnAction--danger:active:not(:disabled) {
  background: #ffecec;
}

.btnAction--success {
  color: var(--color-success);
  background: #f7fdf9;
  border-color: #c8ecd5;
}

.btnAction--success:hover:not(:disabled) {
  background: #f0fdf4;
  border-color: #97dcb1;
  box-shadow: 0 3px 8px rgba(21, 128, 61, 0.14);
}

.btnAction:disabled,
.btnIcon:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Yalnızca ikon taşıyan kare varyant */
.btnIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  color: #33475b;
  background: #fbfcfd;
  border: 1px solid #dbe3ec;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease,
    transform 120ms var(--ease-out), box-shadow 140ms ease;
}

.btnIcon .material-symbols-outlined {
  font-size: 17px;
}

.btnIcon:hover:not(:disabled) {
  color: var(--color-primary);
  border-color: #a6c8ff;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0, 68, 130, 0.12);
}

.btnIcon--danger {
  color: var(--color-danger);
  border-color: #f3d3d3;
}

.btnIcon--danger:hover:not(:disabled) {
  color: #8a1f1f;
  border-color: #f0aeae;
  box-shadow: 0 3px 8px rgba(186, 26, 26, 0.14);
}

/* İşlem sürerken butonun içinde dönen gösterge */
.btnSpinner {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 999px;
  animation: btnSpin 600ms linear infinite;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

.linkBtn {
  background: none;
  border: none;
  color: var(--color-primary-container);
  cursor: pointer;
  font-weight: 700;
  font-size: 12px;
  font-family: inherit;
  padding: 0;
  text-decoration: none;
}

.linkBtn:hover {
  text-decoration: underline;
}

.linkBtn.danger,
.linkBtn--danger {
  color: var(--color-danger);
}

.errBox {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--color-danger-bg);
  border: 1px solid var(--color-danger-border);
  color: var(--color-danger-text);
  font-weight: 700;
  font-size: 12px;
}

/* Shared table */
.adminTable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 640px;
}

.adminTable thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #f4f7fa;
  text-align: left;
  padding: 11px 12px;
  font-size: 11px;
  color: var(--color-secondary);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid #dfe6ee;
}

.adminTable td {
  padding: 11px 12px;
  font-size: 13px;
  color: var(--color-text-strong);
  border-top: 1px solid var(--color-border-strong);
  vertical-align: middle;
  transition: background-color 140ms ease;
}

/* Satır hover'ında sol kenarda ince vurgu çizgisi */
.adminTable tbody tr td:first-child {
  box-shadow: inset 3px 0 0 transparent;
  transition: background-color 140ms ease, box-shadow 140ms ease;
}

.adminTable tbody tr:hover td {
  background: #f5f9fd;
}

.adminTable tbody tr:hover td:first-child {
  box-shadow: inset 3px 0 0 var(--color-primary-container);
}

/* Master-detail listelerde seçili satır */
.adminTable tbody tr.rowSelected td {
  background: #eaf2fb;
}

.adminTable tbody tr.rowSelected td:first-child {
  box-shadow: inset 3px 0 0 var(--color-primary);
}

.adminTableWrap {
  overflow: auto;
  max-height: 68vh;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

/* Boş durum bloğu */
.adminEmpty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 24px;
  text-align: center;
}

.adminEmptyIcon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 4px;
  border-radius: 999px;
  background: #eff4f9;
  color: #94a9bd;
}

.adminEmptyIcon .material-symbols-outlined {
  font-size: 28px;
}

.adminEmptyTitle {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: var(--color-text);
}

.adminEmptyText {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-muted);
  max-width: 420px;
  line-height: 1.55;
}

/* Yükleniyor: iskelet satırlar */
.adminSkeletonList {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.adminSkeletonRow {
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, #eef2f6 25%, #f6f9fc 37%, #eef2f6 63%);
  background-size: 400% 100%;
  animation: adminShimmer 1.4s ease-in-out infinite;
}

@keyframes adminShimmer {
  from {
    background-position: 100% 50%;
  }
  to {
    background-position: 0 50%;
  }
}

/* Shared modal */
body.adminBodyScrollLock {
  overflow: hidden;
}

.adminModalBackdrop {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(15, 23, 42, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.adminModal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.adminModal--wide {
  max-width: 880px;
}

.adminModal--xlarge {
  max-width: 1140px;
}

.adminModalBody--scroll {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.adminModalHeader {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--color-border-strong);
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 1;
}

.adminModalBody {
  padding: 16px 20px 20px;
}

.adminModalFooter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding: 12px 20px 18px;
  border-top: 1px solid var(--color-border-strong);
  position: sticky;
  bottom: 0;
  background: #fff;
}

/* Form field helpers */
.adminField {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.adminField label {
  font-weight: 700;
  color: var(--color-text-strong);
  font-size: 12px;
}

.adminInput,
.adminField input,
.adminField textarea,
.adminField select {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-strong);
  font-size: 12px;
  font-family: inherit;
  color: var(--color-text-strong);
  background: #fff;
  width: 100%;
}

.adminInput:focus,
.adminField input:focus,
.adminField textarea:focus,
.adminField select:focus {
  outline: none;
  border-color: rgba(0, 92, 171, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 92, 171, 0.12);
}

.adminToolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.adminMuted {
  font-size: 12px;
  color: var(--color-secondary);
  opacity: 0.9;
}

.visuallyHidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Blazor circuit error banner — hidden until blazor.server.js shows it */
#blazor-error-ui {
  background: #fff8dc;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

/* Responsive shell */
@media (max-width: 1100px) {
  .adminHeaderSearch {
    max-width: 280px;
  }
}

@media (max-width: 900px) {
  :root {
    --admin-sidebar-width: 72px;
    --admin-gutter: 16px;
  }

  .adminBrandTitle,
  .adminBrandSub,
  .adminNavLink > span:not(.material-symbols-outlined) {
    display: none;
  }

  .adminBrandWrap {
    padding: 0 12px;
    margin-bottom: 20px;
    text-align: center;
  }

  .adminBrandWrap::after {
    content: 'BK';
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: -0.02em;
  }

  .adminNav {
    padding: 0 8px;
  }

  .adminNavLink {
    justify-content: center;
    padding: 12px 0;
    gap: 0;
  }

  .adminNavLink::before {
    display: none;
  }

  .adminHeader {
    padding: 0 16px 0 var(--admin-gutter);
  }

  .adminHeaderSearch {
    max-width: none;
  }

  .adminUserName,
  .adminUserRole {
    display: none;
  }

  .adminContent {
    padding: 88px 16px 32px var(--admin-gutter);
  }

  .pageTitle,
  .adminPageTitle {
    font-size: 24px;
  }

  .adminFooter {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .adminHeaderSearch {
    display: none;
  }

  .adminFooterLinks {
    gap: 14px;
  }
}

.bk-combo { position: relative; width: 100%; min-width: 0; }
.bk-combo-input {
  width: 100%;
  padding: 8px 28px 8px 10px;
  border-radius: 10px;
  border: 1px solid #eceef0;
  box-sizing: border-box;
  font-size: 12px;
  font-family: inherit;
  color: #191c1e;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2348626e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
}
.bk-combo-input:focus {
  outline: none;
  border-color: rgba(0, 92, 171, 0.45);
  box-shadow: 0 0 0 3px rgba(0, 92, 171, 0.12);
}
.bk-combo-input:disabled {
  background: #fafbfc;
  color: #64748b;
  cursor: not-allowed;
}
.bk-combo-menu {
  position: fixed;
  z-index: 10050;
  max-height: 240px;
  overflow: auto;
  margin: 0;
  padding: 4px 0;
  background: #fff;
  border: 1px solid #dce4ec;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.bk-combo-option {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 12px;
  font-family: inherit;
  color: #191c1e;
}
.bk-combo-option:hover,
.bk-combo-option.is-active { background: #f0f4f8; }
.bk-combo-empty { padding: 8px 12px; font-size: 12px; color: #6b7c8a; }

