/* DBHSOFT teması: mdBook varsayılan temasının üzerine marka renkleri ve rozetler */
.light, .rust {
  --links: #1f4fd1;
  --sidebar-active: #1f4fd1;
  --quote-bg: #fff7e8;
  --quote-border: #e79a12;
  --table-header-bg: #0e2a7a;
}
.navy, .coal, .ayu {
  --table-header-bg: #1c3a8c;
}

/* Kenar çubuğunun üstünde logo */
.sidebar .sidebar-scrollbox::before {
  content: "";
  display: block;
  height: 46px;
  margin: 4px 0 14px;
  background: url("images/logo.png") no-repeat left center / contain;
}
.navy .sidebar .sidebar-scrollbox::before,
.coal .sidebar .sidebar-scrollbox::before,
.ayu .sidebar .sidebar-scrollbox::before {
  background-color: #fff;
  border-radius: 6px;
  background-origin: content-box;
  padding: 4px 8px;
}

/* Başlıklar */
.content h1 { color: var(--links); border-bottom: 3px solid var(--links); padding-bottom: .25em; }
.content h2 { border-left: 5px solid var(--links); padding-left: .5em; }

/* Tablolar */
.content table { width: 100%; }
.content table thead th { background: var(--table-header-bg); color: #fff; text-align: left; }
.content table td:first-child code { white-space: nowrap; }

/* Uyarı kutuları (Dikkat / Warning) */
.content blockquote { border-left: 5px solid var(--quote-border); border-radius: 4px; }

/* HTTP yöntem ve zorunluluk rozetleri */
.verb { display: inline-block; font-weight: 700; font-size: .78em; letter-spacing: .04em; padding: 1px 8px; border-radius: 10px; color: #fff; }
.verb.post { background: #1f9d55; }
.verb.get { background: #1f6fd1; }
.verb.delete { background: #d14343; }
.req { display: inline-block; font-size: .8em; font-weight: 600; padding: 1px 8px; border-radius: 10px; white-space: nowrap; }
.req.yes { background: #fde8e8; color: #b42318; }
.req.no { background: #ecf3ec; color: #2f6b34; }
.req.cond { background: #fff4e0; color: #9a5b00; white-space: normal; }

/* Akış diyagramı */
.figure { margin: 1em 0 1.5em; text-align: center; }
.figure svg { width: 100%; height: auto; max-width: 760px; background: #fff; border-radius: 8px; }

/* Giriş sayfası */
.pdf-links { margin: 1em 0 1.5em; padding: .7em 1em; border-radius: 6px; background: var(--quote-bg); }
.pdf-links a { font-weight: 600; }

/* Dil seçici */
.lang-switch { display: inline-flex; gap: 2px; margin-right: 8px; font-size: 1.4rem; font-weight: 600; align-items: center; }
.lang-switch a { padding: 2px 7px; border-radius: 4px; color: var(--icons); text-decoration: none; }
.lang-switch a.active { background: var(--links); color: #fff; }
