.dk {
  --brand: var(--blue);
  --dark:  #0A3FC0;
  --light: #9DB4F5;
  --pale:  var(--tint);
  --pale2: var(--soft);
  --text:  var(--ink);

  background: var(--soft); color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding: 34px 0 80px;
}
.dk * { box-sizing: border-box; }
.dk a { text-decoration: none; }

.dk-bildirim {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 13px 16px; border-radius: 14px;
  font-size: 14.5px; line-height: 1.55; margin-bottom: 20px;
}
.dk-bildirim i { margin-top: 2px; }
.dk-basarili { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.dk-hatali   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

.dk-giris {
  max-width: 520px; margin: 0 auto; text-align: center; background: #fff;
  border: 1px solid var(--line); border-radius: 22px; padding: 44px 34px;
}
.dk-giris-ic {
  width: 62px; height: 62px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pale); color: var(--brand);
  border-radius: 20px; font-size: 25px;
}
.dk-giris h2 { font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.dk-giris p { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0 0 22px; }

.dk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--brand); color: #fff; border: 1px solid var(--brand);
  font-size: 14.5px; font-weight: 600; font-family: inherit;
  padding: 11px 22px; border-radius: 12px; cursor: pointer;
  transition: background .16s ease, box-shadow .16s ease, transform .16s ease;
}
.dk-btn:hover { background: var(--dark); border-color: var(--dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(11,87,245,.28); }
.dk-btn-sade {
  background: #fff; color: var(--ink-2); border-color: var(--line);
}
.dk-btn-sade:hover { background: var(--pale2); color: var(--dark); border-color: var(--light); box-shadow: none; }
.dk-btn-yesil { background: #059669; border-color: #059669; }
.dk-btn-yesil:hover { background: #047857; border-color: #047857; box-shadow: 0 8px 18px rgba(5,150,105,.26); }

.dk-stat {
  display: grid; gap: 14px; margin-bottom: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.dk-stat-k {
  border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 16px; text-align: center; background: #fff;
}
.dk-stat-k b { display: block; font-size: 27px; font-weight: 700; line-height: 1.1; }
.dk-stat-k span {
  display: block; font-size: 11.5px; font-weight: 600; margin-top: 5px;
  text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
}
.dk-stat-k.s-toplam  b { color: var(--brand); }
.dk-stat-k.s-bekleyen b { color: #e11d48; }
.dk-stat-k.s-islemde  b { color: #0050c9; }
.dk-stat-k.s-cozulen  b { color: #059669; }

.dk-arac {
  display: flex; align-items: center; justify-content: space-between;
  gap: 14px; flex-wrap: wrap; margin-bottom: 18px;
}
.dk-sekme { display: flex; gap: 7px; flex-wrap: wrap; }
.dk-sekme a {
  font-size: 13px; font-weight: 600; color: var(--ink-2);
  border: 1px solid var(--line); background: #fff;
  padding: 7px 15px; border-radius: 999px;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.dk-sekme a:hover { background: var(--pale2); border-color: var(--light); color: var(--dark); }
.dk-sekme a.dk-secili { background: var(--brand); border-color: var(--brand); color: #fff; }

.dk-sekme a { display: inline-flex; align-items: center; gap: 7px; }
.dk-sayi {
  min-width: 19px; padding: 0 5px; height: 19px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--line-2); color: var(--muted);
  font-size: 11px; font-weight: 700; line-height: 1;
  transition: background .16s ease, color .16s ease;
}
.dk-sekme a:hover .dk-sayi { background: #fff; color: var(--dark); }
.dk-sekme a.dk-secili .dk-sayi { background: rgba(255,255,255,.24); color: #fff; }

.dk-form-kutu {
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  margin-bottom: 22px; overflow: hidden;
}
.dk-form-kutu[hidden] { display: none; }
.dk-form-ust {
  background: var(--pale2); border-bottom: 1px solid var(--line);
  padding: 15px 22px; display: flex; align-items: center; gap: 9px; flex-wrap: wrap;
}
.dk-form-ust h3 { font-size: 16px; font-weight: 700; margin: 0; }
.dk-form-ust > i { color: var(--brand); }

.dk-adimlar { display: flex; align-items: center; gap: 7px; margin-left: auto; }
.dk-adimlar i {
  width: 22px; height: 2px; background: var(--line); border-radius: 2px; display: block;
}
.dk-adim-nokta {
  width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700;
  background: #fff; color: #7F89A8; border: 1px solid var(--line);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.dk-adim-nokta.dk-aktif { background: var(--brand); color: #fff; border-color: var(--brand); }
.dk-adim-nokta.dk-bitti { background: #059669; color: #fff; border-color: #059669; }

.dk-adim { padding: 24px 22px 6px; }
.dk-adim[hidden] { display: none; }
.dk-soru { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: var(--text); }
.dk-soru-alt { font-size: 13.5px; color: var(--muted); margin: 0 0 18px; }

.dk-secim {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
}
.dk-sec {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 13px 14px; cursor: pointer; text-align: left;
  font-family: inherit; color: var(--text);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease, background .16s ease;
}
.dk-sec:hover {
  border-color: var(--light); background: var(--pale2);
  transform: translateY(-2px); box-shadow: 0 8px 18px rgba(11,87,245,.12);
}
.dk-sec.dk-secili { border-color: var(--brand); background: var(--pale); }
.dk-sec-ic {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pale2); color: var(--brand); font-size: 15px;
  transition: background .16s ease, color .16s ease;
}
.dk-sec:hover .dk-sec-ic, .dk-sec.dk-secili .dk-sec-ic { background: var(--brand); color: #fff; }
.dk-sec-tx { flex: 1; min-width: 0; }
.dk-sec-tx b { display: block; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.dk-sec-tx small { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dk-sec-ok { font-size: 11px; color: #cbd5e1; flex: 0 0 auto; transition: transform .16s ease, color .16s ease; }
.dk-sec:hover .dk-sec-ok { color: var(--brand); transform: translateX(3px); }

.dk-ornekler { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 9px; }
.dk-ornekler > span { font-size: 12.5px; color: var(--muted); }
.dk-ornek {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 5px 12px; font-size: 12.5px; color: var(--ink-2); cursor: pointer;
  font-family: inherit;
  transition: background .16s ease, border-color .16s ease, color .16s ease;
}
.dk-ornek:hover { background: var(--pale); border-color: var(--light); color: var(--dark); }

.dk-secilenler { font-size: 12.5px; color: var(--muted); margin-right: auto; }
.dk-secilenler b { color: var(--dark); font-weight: 600; }

.dk-alan { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.dk-alan label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dk-alan input, .dk-alan select, .dk-alan textarea {
  width: 100%; font-family: inherit; font-size: 14.5px; color: var(--text);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 11px 13px; background: #fff; outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.dk-alan textarea { resize: vertical; min-height: 130px; line-height: 1.6; }
.dk-alan input:focus, .dk-alan select:focus, .dk-alan textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11,87,245,.14);
}
.dk-form-alt {
  padding: 15px 22px; border-top: 1px solid var(--line); background: #fcfdff;
  display: flex; justify-content: flex-end; gap: 10px;
}

.dk-liste {
  --dk-sutun: minmax(0, 1fr) 150px 72px 130px 128px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 20px; overflow: hidden;
}
.dk-tbaslik {
  display: grid; grid-template-columns: var(--dk-sutun);
  gap: 14px; align-items: center;
  padding: 11px 18px 11px 21px;
  background: var(--soft); border-bottom: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; letter-spacing: .4px;
  text-transform: uppercase; color: #7F89A8;
}
.dk-tbaslik span:nth-child(3) { text-align: center; }
.dk-tbaslik span:last-child { text-align: right; }

.dk-satir {
  display: grid; grid-template-columns: var(--dk-sutun);
  gap: 14px; align-items: center;
  padding: 13px 18px 13px 21px;
  border-bottom: 1px solid var(--line-2);
  border-left: 3px solid transparent;
  color: inherit; text-decoration: none;
  transition: background .14s ease, border-left-color .14s ease;
}
.dk-satir:last-child { border-bottom: 0; }
.dk-satir:hover { background: var(--soft); text-decoration: none; color: inherit; }
.dk-satir.dk-d-bekliyor  { border-left-color: #e11d48; }
.dk-satir.dk-d-cozuldu   { border-left-color: #059669; }
.dk-satir.dk-d-islemde   { border-left-color: #0050c9; }
.dk-satir.dk-d-yonlendi  { border-left-color: #d97706; }

.dk-h-konu { min-width: 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.dk-h-konu b {
  font-size: 14.5px; font-weight: 600; color: var(--text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%;
}
.dk-satir:hover .dk-h-konu b { color: var(--dark); }
.dk-h-konu small { font-size: 12px; color: #b6c2d4; font-weight: 600; }
.dk-h-dep   { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dk-h-mesaj { font-size: 13px; color: var(--muted); text-align: center; }
.dk-h-zaman { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dk-h-durum { text-align: right; }

.dk-rozet {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 11px;
  border-radius: 999px; white-space: nowrap;
}
.dk-rozet.dk-d-bekliyor { background: #ffe4e6; color: #be123c; }
.dk-rozet.dk-d-cozuldu  { background: #d1fae5; color: #047857; }
.dk-rozet.dk-d-islemde  { background: #dfecff; color: #0042a4; }
.dk-rozet.dk-d-yonlendi { background: #fef3c7; color: #b45309; }
.dk-yeni {
  background: #fef3c7; color: #b45309; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 6px; margin-left: 7px; white-space: nowrap;
}

.dk-bos { text-align: center; padding: 62px 20px; background: #fff; border: 1px solid var(--line); border-radius: 20px; }

.dk-bos > i { font-size: 40px; color: #cbd5e1; display: block; margin-bottom: 14px; }
.dk-bos h3 { font-size: 17px; font-weight: 700; margin: 0 0 7px; }
.dk-bos p { font-size: 14.5px; color: var(--muted); margin: 0 0 18px; }

.dk-sayfalama {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 26px; flex-wrap: wrap;
}
.dk-sayfalama a, .dk-sayfalama span {
  min-width: 38px; text-align: center;
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 8px 12px;
}
.dk-sayfalama a:hover { background: var(--pale2); border-color: var(--light); color: var(--dark); }
.dk-sayfalama .dk-secili { background: var(--brand); border-color: var(--brand); color: #fff; }
.dk-sayfalama .dk-pasif { color: #cbd5e1; }

.dk-detay { display: grid; grid-template-columns: minmax(0, 1fr) 292px; gap: 26px; align-items: start; }

.dk-geri {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 16px;
}
.dk-geri:hover { color: var(--brand); }

.dk-mesajlar { display: flex; flex-direction: column; gap: 14px; }
.dk-mesaj { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: #fff; }
.dk-mesaj.dk-yetkili { border-color: #fcd9a5; }
.dk-mesaj-ust {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 18px; border-bottom: 1px solid var(--line-2); background: #fcfdff;
}
.dk-mesaj.dk-yetkili .dk-mesaj-ust { background: #fffbf2; border-bottom-color: #fdeed6; }
.dk-avatar {
  width: 38px; height: 38px; border-radius: 12px; overflow: hidden;
  background: var(--pale); flex: 0 0 38px;
}
.dk-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dk-kim { flex: 1; min-width: 0; }
.dk-kim b { display: block; font-size: 14.5px; font-weight: 700; line-height: 1.3; }
.dk-kim small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.dk-etiket-yetkili {
  font-size: 10px; font-weight: 700; letter-spacing: .3px;
  background: #fef3c7; color: #b45309; border: 1px solid #fde68a;
  padding: 2px 7px; border-radius: 5px; margin-left: 7px; vertical-align: middle;
}
.dk-mesaj-zaman { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.dk-mesaj-govde {
  padding: 17px 18px; font-size: 14.5px; line-height: 1.72; color: var(--ink-2);
  white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere;
}

.dk-yanit { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin-top: 20px; }
.dk-yanit-ust {
  padding: 13px 18px; background: var(--pale2); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 700;
}
.dk-yanit-ust i { color: var(--brand); }
.dk-yanit textarea {
  width: 100%; border: 0; outline: none; resize: vertical;
  min-height: 132px; padding: 16px 18px;
  font-family: inherit; font-size: 14.5px; line-height: 1.7; color: var(--text);
}
.dk-yanit-alt {
  padding: 13px 18px; background: #fcfdff; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.dk-sayac { font-size: 12.5px; color: var(--muted); }
.dk-sayac.dk-dolu { color: #e11d48; font-weight: 700; }

.dk-kapali {
  display: flex; align-items: center; gap: 15px; flex-wrap: wrap;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 20px;
  padding: 20px 22px; margin-top: 20px;
}
.dk-kapali-ic {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 46px;
  background: #059669; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.dk-kapali h4 { font-size: 16px; font-weight: 700; color: #047857; margin: 0 0 3px; }
.dk-kapali p { font-size: 14px; color: #059669; margin: 0; }
.dk-kapali .dk-btn { margin-left: auto; }

.dk-yan { position: sticky; top: calc(var(--header-h) + 18px); display: flex; flex-direction: column; gap: 14px; }
.dk-yan-kutu { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 18px; }
.dk-yan-kutu h4 {
  font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px;
}
.dk-bilgi { display: flex; flex-direction: column; gap: 12px; }
.dk-bilgi-s { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.dk-bilgi-s i { width: 15px; text-align: center; color: var(--light); margin-top: 3px; flex: 0 0 auto; }
.dk-bilgi-s div { min-width: 0; }
.dk-bilgi-s small { display: block; font-size: 11.5px; color: var(--muted); }
.dk-bilgi-s b { font-weight: 600; color: var(--text); word-break: break-word; }

@media (max-width: 991px) {
  .dk { padding: 36px 0 58px; }
  .dk-detay { grid-template-columns: 1fr; gap: 20px; }
  .dk-yan { position: static; }
  .dk-stat { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .dk { padding: 28px 0 46px; }
  .dk-adim { padding: 20px 18px 4px; }
  .dk-secim { grid-template-columns: 1fr; }
  .dk-form-ust { gap: 8px; }
  .dk-adimlar { margin-left: 0; width: 100%; justify-content: center; padding-top: 4px; }
  .dk-secilenler { display: none; }
  .dk-form-alt { flex-wrap: wrap; }

  .dk-tbaslik { display: none; }
  .dk-satir {
    grid-template-columns: 1fr auto; gap: 6px 10px;
    padding: 14px 15px 14px 17px;
  }
  .dk-h-konu { grid-column: 1 / -1; }
  .dk-h-konu b { white-space: normal; }
  .dk-h-dep, .dk-h-mesaj, .dk-h-zaman {
    grid-column: 1 / -1; text-align: left; font-size: 12.5px;
  }
  .dk-h-dep::before, .dk-h-mesaj::before, .dk-h-zaman::before {
    content: attr(data-etiket) ': '; color: #b6c2d4; font-weight: 600;
  }
  .dk-h-durum { grid-column: 1 / -1; text-align: left; margin-top: 4px; }
  .dk-arac { flex-direction: column; align-items: stretch; }
  .dk-arac .dk-btn { width: 100%; }
  .dk-sekme { justify-content: space-between; }
}

.dk-bc-link { color: #fff; opacity: .85; }
.dk-ml8 { margin-left: 8px; }
.dk-w100 { width: 100%; }
