/**
* e-İzin Başvuru Rehberi — sayfaya özel stiller
* main.css (Impact) değişkenleri üzerine kuruludur. Tema renkleri buradan değiştirilmez.
*/

:root {
  --rb-line: #e6e6e6;
  --rb-muted: #6b6b6b;
  --rb-soft: #f7f8f9;
}

/* --------------------------------------------------
# Genel düzeltmeler (sticky header ile uyum)
-------------------------------------------------- */
.page-title .heading {
  padding: 70px 0 60px 0;
  border-top: 0;
}

.page-title .heading h1 {
  font-size: 40px;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 767px) {
  .page-title .heading h1 {
    font-size: 28px;
  }

  .page-title .heading {
    padding: 45px 0 40px 0;
  }
}

section,
.section {
  scroll-margin-top: 96px;
}

.rb-eyebrow {
  font-family: var(--nav-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 10px;
  display: block;
}

.page-title .rb-eyebrow {
  color: rgba(255, 255, 255, 0.75);
}

.rb-lead {
  font-size: 17px;
  line-height: 1.7;
  max-width: 62ch;
}

.page-title .rb-lead {
  color: rgba(255, 255, 255, 0.9);
}

.rb-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--nav-font);
  font-size: 13px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 30px;
  color: #fff;
  margin: 0 8px 8px 0;
}

.rb-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--accent-color);
  font-family: var(--nav-font);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 26px;
  border-radius: 4px;
  transition: 0.3s;
}

.rb-hero-btn:hover {
  background: #060606;
  color: #fff;
}

.rb-hero-btn.rb-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.rb-hero-btn.rb-ghost:hover {
  background: #fff;
  color: var(--accent-color);
}

/* --------------------------------------------------
# Süre panosu
-------------------------------------------------- */
.rb-limit {
  background: var(--surface-color);
  border: 1px solid var(--light-gray);
  border-top: 3px solid var(--accent-color);
  padding: 22px 20px;
  height: 100%;
  transition: 0.3s;
}

.rb-limit:hover {
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);
}

.rb-limit .rb-val {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: var(--heading-color);
  display: block;
  margin-bottom: 8px;
}

.rb-limit .rb-val small {
  font-size: 16px;
  font-weight: 600;
  margin-left: 3px;
}

.rb-limit .rb-lbl {
  font-family: var(--nav-font);
  font-size: 13px;
  line-height: 1.55;
  color: var(--rb-muted);
  margin: 0;
}

/* --------------------------------------------------
# İçindekiler (yan menü)
-------------------------------------------------- */
.rb-toc .services-list {
  padding: 14px 26px;
}

.rb-toc h4 {
  font-size: 14px;
  font-family: var(--nav-font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-muted);
  margin: 16px 0 0 0;
}

@media (min-width: 992px) {
  .rb-toc {
    position: sticky;
    top: 100px;
  }

  .rb-toc .services-list {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
  }
}

.rb-toc .services-list a {
  font-size: 14.5px;
  line-height: 1.4;
}

/* --------------------------------------------------
# Adım rayı
-------------------------------------------------- */
.rb-step {
  position: relative;
  padding: 0 0 34px 66px;
}

.rb-step::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: var(--rb-line);
}

.rb-step:last-child::before {
  display: none;
}

.rb-step .rb-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rb-step h3 {
  font-size: 23px;
  font-weight: 700;
  margin: 8px 0 14px 0;
}

.rb-step h4 {
  font-size: 17px;
  font-weight: 700;
  margin: 26px 0 10px 0;
}

.rb-step p,
.rb-step li {
  font-size: 15.5px;
  line-height: 1.75;
}

@media (max-width: 575px) {
  .rb-step {
    padding-left: 0;
    padding-bottom: 40px;
  }

  .rb-step::before {
    display: none;
  }

  .rb-step .rb-num {
    position: static;
    margin-bottom: 14px;
  }
}

/* --------------------------------------------------
# Kutular: not / uyarı / kart / liste
-------------------------------------------------- */
.rb-note,
.rb-warn {
  padding: 16px 20px;
  margin: 20px 0;
  font-size: 15px;
  line-height: 1.7;
  border-left: 4px solid;
}

.rb-note {
  background: var(--rb-soft);
  border-color: #adb5bd;
}

.rb-warn {
  background: var(--pink-color);
  border-color: var(--accent-color);
}

.rb-note strong,
.rb-warn strong {
  font-family: var(--nav-font);
  font-weight: 600;
}

.rb-warn strong {
  color: var(--accent-color);
}

.rb-note p:last-child,
.rb-warn p:last-child {
  margin-bottom: 0;
}

.rb-card {
  background: var(--surface-color);
  border: 1px solid var(--light-gray);
  padding: 26px 24px;
  height: 100%;
  transition: 0.3s;
}

.rb-card:hover {
  box-shadow: 0 0 29px 0 rgba(0, 0, 0, 0.08);
  border-color: color-mix(in srgb, var(--accent-color), transparent 60%);
}

.rb-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rb-card p,
.rb-card li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--rb-muted);
}

.rb-card .rb-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--pink-color);
  color: var(--accent-color);
  font-size: 22px;
  margin-bottom: 16px;
}

.rb-list,
.rte ul,
.rte ol,
.rte ul li::marker {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rb-list li,
.rte ul li,
.rte ol li {
  position: relative;
  padding: 6px 0 6px 28px;
  font-size: 15.5px;
  line-height: 1.7;
}

.rb-list li::before,
.rte ul li::before {
  content: "\F26B";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 6px;
  font-size: 15px;
  color: var(--accent-color);
}


.rb-list.rb-list-dash li::before,
.rte ul li::before {
  content: "\F2E8" !important;
}

ol.rb-list,
.rte ol {
  counter-reset: rb-counter;
}

ol.rb-list li,
.rte ol li {
  counter-increment: rb-counter;
  padding-left: 34px;
}

ol.rb-list li::before,
.rte ol li::before {
  content: counter(rb-counter);
  font-family: var(--heading-font);
  font-weight: 700;
  position: absolute;
  left: 0;
  top: 8px;
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 12px;
  text-align: center;
  border-radius: 50%;
  background: var(--pink-color);
  color: var(--accent-color);
}

/* --------------------------------------------------
# Tablolar
-------------------------------------------------- */
.rb-table {
  border: 1px solid var(--light-gray);
  background: var(--surface-color);
}

.rb-table thead th {
  background: #f3f3f3;
  font-family: var(--nav-font);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--heading-color);
  border-bottom: 2px solid var(--accent-color);
  white-space: nowrap;
}

.rb-table td {
  font-size: 15px;
  vertical-align: middle;
}

.rb-table td strong {
  color: var(--accent-color);
}

/* --------------------------------------------------
# SSS (Bootstrap accordion, tema rengiyle)
-------------------------------------------------- */
.rb-accordion .accordion-item {
  border: 1px solid var(--light-gray);
  margin-bottom: 12px;
  border-radius: 0;
}

.rb-accordion .accordion-button {
  font-family: var(--heading-font);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--heading-color);
  background: var(--surface-color);
  border-radius: 0;
  box-shadow: none;
}

.rb-accordion .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background: var(--pink-color);
}

.rb-accordion .accordion-button::after {
  filter: none;
}

.rb-accordion .accordion-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--rb-muted);
}

/* --------------------------------------------------
# İletişim
-------------------------------------------------- */
.rb-contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--surface-color);
  border: 1px solid var(--light-gray);
  height: 100%;
}

.rb-contact-item i {
  font-size: 24px;
  color: var(--accent-color);
  line-height: 1;
  margin-top: 3px;
}

.rb-contact-item h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.rb-contact-item p {
  margin: 0;
  font-size: 15px;
  color: var(--rb-muted);
}

/* --------------------------------------------------
# Alt bilgi
-------------------------------------------------- */
.rb-footer {
  background: #0e0e0f;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.rb-footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
  font-family: var(--nav-font);
  letter-spacing: 0.04em;
}

.rb-footer a {
  color: rgba(255, 255, 255, 0.7);
}

.rb-footer a:hover {
  color: #fff;
}

.rb-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rb-footer ul li {
  padding: 6px 0;
}

.rb-footer .rb-brand {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.rb-footer .rb-brand span {
  color: var(--accent-color);
}

.rb-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  font-size: 13px;
}

/* --------------------------------------------------
# Header ek öğeleri
-------------------------------------------------- */
.header .topbar {
  background: #060606;
  color: #fff;
}

.header .topbar a,
.header .topbar span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
}

.header .topbar a:hover {
  color: #fff;
}

.header .logo .rb-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--accent-color);
  color: #fff;
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.header .logo h1 {
  font-size: 21px;
  line-height: 1.15;
}

.header .logo p {
  margin: 2px 0 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--rb-muted);
  font-family: var(--nav-font);
}

.rb-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-color);
  color: #fff !important;
  font-family: var(--nav-font);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 18px !important;
  border-radius: 4px;
  white-space: nowrap;
}

.rb-nav-cta:hover {
  background: #060606;
  color: #fff !important;
}

.rb-nav-cta::before {
  display: none !important;
}

/* --------------------------------------------------
# Erişilebilirlik ve yazdırma
-------------------------------------------------- */
a:focus-visible,
button:focus-visible,
.accordion-button:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {

  .header,
  .rb-toc,
  .scroll-top,
  .rb-footer,
  .page-title nav {
    display: none !important;
  }

  .rb-step::before {
    display: none;
  }

  section,
  .section {
    padding: 20px 0;
  }
}
