/* Hosting Dünyası — Destek talepleri listesi + detay */

/* ---- Liste ---- */
body.hd-tkt-list .master-breadcrumb,
body.hd-tkt-detail .master-breadcrumb {
  display: none !important;
}
body.hd-tkt-list #main-body,
body.hd-tkt-detail #main-body {
  padding-top: 1.15rem !important;
}
body.hd-tkt-list #main-body > .container > .row > [class*="col-lg-4"],
body.hd-tkt-list #main-body > .container > .row > [class*="col-xl-3"],
body.hd-tkt-list .sidebar,
body.hd-tkt-detail #main-body > .container > .row > [class*="col-lg-4"],
body.hd-tkt-detail #main-body > .container > .row > [class*="col-xl-3"],
body.hd-tkt-detail .sidebar {
  display: none !important;
}
body.hd-tkt-list #main-body > .container > .row,
body.hd-tkt-detail #main-body > .container > .row {
  display: block !important;
}
body.hd-tkt-list #main-body .primary-content,
body.hd-tkt-list #main-body [class*="col-"],
body.hd-tkt-detail #main-body .primary-content,
body.hd-tkt-detail #main-body [class*="col-"] {
  flex: none !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hd-tktpage-main {
  background: #fff;
  border: 1px solid var(--hd-border, #E7EDF8);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(23, 43, 112, 0.05);
  padding: 1.15rem 1.2rem 1.2rem;
}

.hd-tktpage-toolbar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #EEF2F7;
}
.hd-tktpage-toolbar h1 {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #172B70;
  font-size: 1.25rem;
  font-weight: 800;
}
.hd-tktpage-toolbar h1 i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #EEF4FF;
  color: #2568EF;
  font-size: 0.95rem;
}
.hd-tktpage-new {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  background: #2568EF !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.7rem 1.1rem !important;
  box-shadow: 0 8px 18px rgba(37, 104, 239, 0.28);
}
.hd-tktpage-new:hover {
  background: #1B54C9 !important;
  color: #fff !important;
}

.hd-tktpage-controls {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}
.hd-tktpage-search-slot {
  flex: 0 1 260px;
  min-width: 200px;
  max-width: 280px;
  width: 100%;
}
.hd-tktpage-search-slot .dataTables_filter {
  float: none !important;
  margin: 0 !important;
  width: 100%;
}
.hd-tktpage-search-slot .dataTables_filter label {
  display: block !important;
  margin: 0 !important;
  font-size: 0 !important;
}
.hd-tktpage-search-slot .dataTables_filter input {
  width: 100% !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 999px !important;
  padding: 0.6rem 1rem 0.6rem 2.35rem !important;
  margin: 0 !important;
  background: #F8FAFC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3-3'/%3E%3C/svg%3E") no-repeat 0.9rem center / 14px !important;
  color: #172B70 !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}
.hd-tktpage-search-slot .dataTables_filter input:focus {
  outline: none !important;
  border-color: #2568EF !important;
  background-color: #fff !important;
  box-shadow: 0 0 0 3px rgba(37, 104, 239, 0.12) !important;
}

.hd-tktpage-table-wrap {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
body.hd-tkt-list .dataTables_wrapper > .row:first-child {
  display: none !important;
}
body.hd-tkt-list .dataTables_wrapper .dataTables_length,
body.hd-tkt-list .dataTables_wrapper .dataTables_info,
body.hd-tkt-list .dataTables_wrapper .dataTables_paginate {
  color: #64748B;
  font-size: 0.84rem;
  font-weight: 600;
  float: none !important;
  margin: 0 !important;
}
body.hd-tkt-list .dataTables_wrapper .dataTables_length select {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-weight: 700;
  color: #172B70;
}
body.hd-tkt-list .dataTables_wrapper > .row:last-child {
  margin: 0.85rem 0 0 !important;
  padding-top: 0.85rem;
  border-top: 1px solid #EEF2F7;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: center;
}
body.hd-tkt-list .dataTables_wrapper .paginate_button.current {
  background: #2568EF !important;
  border-color: #2568EF !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.hd-tktpage-table {
  margin: 0 !important;
  border: 0 !important;
  width: 100% !important;
}
.hd-tktpage-table thead th {
  background: #F8FAFC !important;
  border: 0 !important;
  border-bottom: 1px solid #EEF2F7 !important;
  color: #64748B !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  padding: 0.75rem 0.85rem !important;
  white-space: nowrap;
}
.hd-tktpage-table tbody td {
  border-top: 0 !important;
  border-bottom: 1px solid #F1F5F9 !important;
  vertical-align: middle !important;
  padding: 0.95rem 0.85rem !important;
  background: transparent !important;
}
.hd-tktpage-table tbody tr:hover td {
  background: #F8FAFC !important;
}
.hd-tktpage-num {
  color: #172B70;
  font-weight: 800;
  font-size: 0.92rem;
}
.hd-tktpage-dept {
  color: #475569;
  font-weight: 600;
  font-size: 0.9rem;
}
.hd-tktpage-subject {
  color: #1E293B !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  line-height: 1.4;
}
.hd-tktpage-subject.is-unread {
  color: #2568EF !important;
}
.hd-tktpage-subject:hover {
  color: #2568EF !important;
}
.hd-tktpage-date {
  color: #64748B;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
}
.hd-tktpage-status {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  background: #E2E8F0;
  color: #475569;
}
.hd-tktpage-status.status-open {
  background: #EAF1FF;
  color: #2568EF;
}
.hd-tktpage-status.status-answered,
.hd-tktpage-status.status-customer-reply {
  background: #EEF4FF;
  color: #1B54C9;
}
.hd-tktpage-status.status-in-progress {
  background: #FFF4E0;
  color: #B7690A;
}
.hd-tktpage-status.status-on-hold {
  background: #FEF3C7;
  color: #92400E;
}
.hd-tktpage-status.status-closed {
  background: #E2E8F0;
  color: #475569;
}
.hd-tktpage-status.status-custom {
  color: #fff !important;
}
.hd-tktpage-action-cell {
  text-align: right !important;
  white-space: nowrap;
}
.hd-tktpage-view {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  background: #334155 !important;
  border: 0 !important;
  color: #fff !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  padding: 0.5rem 0.85rem !important;
}
.hd-tktpage-view:hover {
  background: #1E293B !important;
  color: #fff !important;
}

/* ---- Detay (Oweb tarzı · HD marka renkleri) ---- */
.hd-tktdetail {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.8fr);
  gap: 1.25rem;
  align-items: start;
}
.hd-tktdetail-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}
.hd-tktdetail-titlebar h1 {
  margin: 0;
  color: #0F172A;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.02em;
  max-width: 760px;
}
.hd-tktdetail-tid {
  color: #2568EF;
}
.hd-tktdetail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.hd-tktdetail-btn-reply {
  display: inline-flex !important;
  align-items: center;
  gap: 0.4rem;
  background: #2568EF !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.65rem 1rem !important;
  box-shadow: 0 8px 18px rgba(37, 104, 239, 0.25);
}
.hd-tktdetail-btn-reply:hover {
  background: #1E56C9 !important;
  color: #fff !important;
}
.hd-tktdetail-btn-close {
  background: #FEE2E2 !important;
  border: 0 !important;
  color: #B91C1C !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.65rem 1rem !important;
}
.hd-tktdetail-btn-closed {
  background: #E2E8F0 !important;
  border: 0 !important;
  color: #64748B !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.65rem 1rem !important;
}
.hd-tktdetail-btn-ghost {
  background: #fff !important;
  border: 1px solid #D8E0EC !important;
  color: #475569 !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.65rem 1rem !important;
}

.hd-tktdetail-thread {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

/* Mesaj kartları — marka mavisine uygun belirgin ayrım */
.hd-tktmsg {
  border: 1px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.hd-tktmsg.is-staff {
  background: #EEF4FF;
  border-color: #D6E4FF;
}
.hd-tktmsg.is-owner {
  background: #fff;
  border-color: #E2E8F0;
}
.hd-tktmsg-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid transparent;
}
.hd-tktmsg.is-staff .hd-tktmsg-head {
  background: #E0EBFF;
  border-bottom-color: #D6E4FF;
}
.hd-tktmsg.is-owner .hd-tktmsg-head {
  background: #F1F5F9;
  border-bottom-color: #E2E8F0;
}
.hd-tktmsg-who {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.hd-tktmsg-who strong {
  color: #0F172A;
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.hd-tktmsg-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
}
.hd-tktmsg-badge.is-staff {
  background: #2568EF;
  color: #fff;
}
.hd-tktmsg-badge.is-owner {
  background: #172B70;
  color: #fff;
}
.hd-tktmsg-date {
  color: #64748B;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.hd-tktmsg-body {
  padding: 1rem 1.15rem 1.1rem;
  color: #334155;
  font-size: 0.92rem;
  line-height: 1.65;
  background: transparent;
}
.hd-tktmsg.is-owner .hd-tktmsg-body {
  background: #fff;
}
.hd-tktmsg-body p:last-child {
  margin-bottom: 0;
}
.hd-tktmsg-ip {
  margin: 0.75rem 0 0;
  color: #94A3B8;
}
.hd-tktmsg-attach {
  padding: 0 1.15rem 1rem;
  font-size: 0.86rem;
}
.hd-tktmsg-attach ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}
.hd-tktmsg-rating {
  padding: 0.55rem 1.15rem 0.95rem;
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.hd-tktmsg.is-staff .hd-tktmsg-rating {
  border-top-color: #D6E4FF;
}
.hd-tktmsg-rating .star {
  color: #CBD5E1;
  cursor: pointer;
  font-size: 1rem;
  margin-left: 0.15rem;
}
.hd-tktmsg-rating .star.active,
.hd-tktmsg-rating .rating .star:hover,
.hd-tktmsg-rating .rating .star:hover ~ .star {
  color: #F59E0B;
}

/* Yanıt formu */
.hd-tktdetail-reply {
  margin-top: 1.1rem;
  background: #fff;
  border: 1px solid #E7EDF8;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(23, 43, 112, 0.04);
  overflow: hidden;
}
.hd-tktdetail-reply-head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid #EEF2F7;
  background: #F8FAFF;
}
.hd-tktdetail-reply-head h2 {
  margin: 0;
  color: #172B70;
  font-size: 1rem;
  font-weight: 800;
}
.hd-tktdetail-reply-form {
  padding: 1.1rem 1.15rem 1.2rem;
}
.hd-tktdetail-reply-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}
.hd-tktdetail-reply-form .form-group {
  margin-bottom: 0.95rem;
}
.hd-tktdetail-reply-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #64748B;
  font-size: 0.8rem;
  font-weight: 700;
}
.hd-tktdetail-reply-form .form-control {
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  color: #172B70;
  font-weight: 600;
  box-shadow: none !important;
}
.hd-tktdetail-reply-form .form-control:focus {
  border-color: #2568EF !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(37, 104, 239, 0.12) !important;
}
.hd-tktdetail-reply-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

/* Sidebar genel bakış */
.hd-tktdetail-aside {
  position: sticky;
  top: 1rem;
}
.hd-tktdetail-card {
  background: #fff;
  border: 1px solid #E7EDF8;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(23, 43, 112, 0.05);
  padding: 1.15rem 1.15rem 1.2rem;
}
.hd-tktdetail-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #F1F5F9;
}
.hd-tktdetail-card-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #2568EF;
  color: #fff;
  flex-shrink: 0;
  font-size: 0.95rem;
  box-shadow: 0 8px 16px rgba(37, 104, 239, 0.28);
}
.hd-tktdetail-card-head > div {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.hd-tktdetail-card-head strong {
  color: #172B70;
  font-size: 0.95rem;
  font-weight: 800;
}
.hd-tktdetail-card-head > div > span {
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 600;
}
.hd-tktdetail-status {
  flex-shrink: 0;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #172B70;
  color: #fff;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hd-tktdetail-status.is-closed {
  background: #64748B;
  color: #fff;
}

.hd-tktdetail-meta {
  list-style: none;
  margin: 0 0 1.05rem;
  padding: 0;
}
.hd-tktdetail-meta li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid #F1F5F9;
}
.hd-tktdetail-meta li:last-child {
  border-bottom: 0;
}
.hd-tktdetail-meta li > div {
  flex: 1;
  min-width: 0;
}
.hd-tktdetail-meta small {
  display: block;
  color: #94A3B8;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.hd-tktdetail-meta strong {
  display: block;
  color: #172B70;
  font-size: 0.92rem;
  font-weight: 700;
}
.hd-tktdetail-meta > i {
  color: #94A3B8;
  font-size: 1rem;
  width: 1.1rem;
  text-align: center;
}

.hd-tktdetail-aside-status {
  display: block !important;
  width: 100%;
  text-align: center;
  background: #2568EF !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 11px !important;
  padding: 0.85rem 1rem !important;
  box-shadow: 0 8px 18px rgba(37, 104, 239, 0.25);
}
.hd-tktdetail-aside-status.is-closed,
.hd-tktdetail-aside-status:disabled {
  background: #94A3B8 !important;
  color: #fff !important;
  cursor: default;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .hd-tktdetail {
    grid-template-columns: 1fr;
  }
  .hd-tktdetail-aside {
    position: static;
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .hd-tktdetail-reply-grid {
    grid-template-columns: 1fr;
  }
  .hd-tktpage-toolbar-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .hd-tktpage-search-slot {
    max-width: none;
  }
  .hd-tktpage-table thead {
    display: none;
  }
  .hd-tktpage-table,
  .hd-tktpage-table tbody,
  .hd-tktpage-table tr,
  .hd-tktpage-table td {
    display: block;
    width: 100%;
  }
  .hd-tktpage-table tbody tr {
    padding: 0.75rem 0;
    border-bottom: 1px solid #EEF2F7;
  }
  .hd-tktpage-table tbody td {
    border-bottom: 0 !important;
    padding: 0.3rem 0 !important;
  }
  .hd-tktpage-action-cell {
    text-align: left !important;
  }
}

/* ---- Yeni destek talebi ---- */
body.hd-tkt-new .master-breadcrumb {
  display: none !important;
}
body.hd-tkt-new #main-body {
  padding-top: 1.15rem !important;
}
body.hd-tkt-new #main-body > .container > .row > [class*="col-lg-4"],
body.hd-tkt-new #main-body > .container > .row > [class*="col-xl-3"],
body.hd-tkt-new .sidebar {
  display: none !important;
}
body.hd-tkt-new #main-body > .container > .row {
  display: block !important;
}
body.hd-tkt-new #main-body .primary-content,
body.hd-tkt-new #main-body [class*="col-"] {
  flex: none !important;
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.hd-tktnew {
  max-width: 920px;
  margin: 0 auto;
}
.hd-tktnew-panel {
  background: #fff;
  border: 1px solid #E7EDF8;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(23, 43, 112, 0.05);
  padding: 1.25rem 1.35rem 1.4rem;
}
.hd-tktnew-head {
  margin-bottom: 1.2rem;
  padding-bottom: 0.95rem;
  border-bottom: 1px solid #EEF2F7;
}
.hd-tktnew-head h1 {
  margin: 0 0 0.35rem;
  position: relative;
  padding-left: 0.75rem;
  color: #172B70;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hd-tktnew-head h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15rem;
  bottom: 0.15rem;
  width: 3px;
  border-radius: 999px;
  background: #2568EF;
}
.hd-tktnew-head p {
  margin: 0;
  color: #64748B;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 500;
}

.hd-tktnew-grid {
  display: grid;
  gap: 0.95rem 1rem;
  margin-bottom: 0.95rem;
}
.hd-tktnew-grid.is-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.hd-tktnew-grid.is-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hd-tktnew-field {
  margin-bottom: 0.95rem;
}
.hd-tktnew-field label {
  display: block;
  margin: 0 0 0.4rem;
  color: #64748B;
  font-size: 0.8rem;
  font-weight: 700;
}
.hd-tktnew-field .form-control,
.hd-tktnew-field .custom-select {
  height: 46px;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  background: #F8FAFC !important;
  color: #172B70 !important;
  font-weight: 600;
  box-shadow: none !important;
}
.hd-tktnew-field textarea.form-control {
  height: auto;
  min-height: 180px;
}
.hd-tktnew-field .form-control:focus,
.hd-tktnew-field .custom-select:focus {
  border-color: #2568EF !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(37, 104, 239, 0.12) !important;
}
.hd-tktnew-field .form-control.disabled,
.hd-tktnew-field .form-control:disabled {
  opacity: 0.85;
  background: #EEF2F7 !important;
}
.hd-tktnew-help {
  margin: 0.45rem 0 0;
  color: #94A3B8;
  font-size: 0.78rem;
  line-height: 1.4;
}
.hd-tktnew-captcha {
  margin: 0.5rem 0 1rem;
}
.hd-tktnew-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid #EEF2F7;
}
.hd-tktnew-actions.is-center {
  justify-content: center;
  border-top: 0;
  padding-top: 0.5rem;
}
.hd-tktnew-btn-primary {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  background: #2568EF !important;
  border: 0 !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1.25rem !important;
  box-shadow: 0 8px 18px rgba(37, 104, 239, 0.25);
}
.hd-tktnew-btn-primary:hover {
  background: #1E56C9 !important;
  color: #fff !important;
}
.hd-tktnew-btn-soft {
  background: #fff !important;
  border: 1px solid #D8E0EC !important;
  color: #475569 !important;
  font-weight: 700 !important;
  border-radius: 10px !important;
  padding: 0.75rem 1.1rem !important;
}
.hd-tktnew-btn-soft:hover {
  border-color: #2568EF !important;
  color: #2568EF !important;
}

.hd-tktnew-depts {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.hd-tktnew-dept {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  border: 1px solid #E7EDF8;
  border-radius: 12px;
  background: #F8FAFF;
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
}
.hd-tktnew-dept:hover {
  border-color: #BFDBFE;
  background: #EEF4FF;
  transform: translateY(-1px);
}
.hd-tktnew-dept-ico {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: #2568EF;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(37, 104, 239, 0.25);
}
.hd-tktnew-dept-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.hd-tktnew-dept-copy strong {
  color: #172B70;
  font-size: 0.95rem;
  font-weight: 800;
}
.hd-tktnew-dept-copy span {
  color: #64748B;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.4;
}
.hd-tktnew-dept > .fa-chevron-right {
  color: #CBD5E1;
  font-size: 0.75rem;
}

.hd-tktnew-confirm {
  text-align: center;
  padding: 2rem 1.5rem;
}
.hd-tktnew-success-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #2568EF, #172B70);
  color: #fff;
  font-size: 1.25rem;
  box-shadow: 0 12px 24px rgba(37, 104, 239, 0.28);
}
.hd-tktnew-confirm h1 {
  margin: 0 0 0.5rem;
  color: #172B70;
  font-size: 1.35rem;
  font-weight: 800;
}
.hd-tktnew-confirm-lead {
  margin: 0 0 0.65rem;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
}
.hd-tktnew-confirm-lead a {
  color: #2568EF;
  font-weight: 800;
  text-decoration: none;
}
.hd-tktnew-confirm .hd-tktnew-help {
  margin-bottom: 1.15rem;
}

/* Markdown editor alanı (yeni talep + yanıt) — net ayrışan kutu */
.hd-tktnew .markdown-editor,
.hd-tktnew .EasyMDEContainer,
.hd-tktnew .editor-toolbar,
.hd-tktdetail-reply-form .markdown-editor,
.hd-tktdetail-reply-form .EasyMDEContainer,
.hd-tktdetail-reply-form .editor-toolbar {
  border-radius: 12px;
}
.hd-tktnew .EasyMDEContainer,
.hd-tktdetail-reply-form .EasyMDEContainer {
  border: 1px solid #CBD5E1 !important;
  background: #EEF2F7 !important;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}
.hd-tktnew .editor-toolbar,
.hd-tktdetail-reply-form .editor-toolbar {
  border: 0 !important;
  border-bottom: 1px solid #CBD5E1 !important;
  background: #E2E8F0 !important;
  opacity: 1 !important;
  padding: 0.35rem 0.45rem !important;
}
.hd-tktnew .EasyMDEContainer .CodeMirror,
.hd-tktdetail-reply-form .EasyMDEContainer .CodeMirror {
  border: 0 !important;
  border-radius: 0 0 12px 12px !important;
  background: #EEF2F7 !important;
  color: #0F172A !important;
  min-height: 200px;
  font-size: 0.95rem;
  padding: 0.35rem 0.25rem;
}
.hd-tktnew .EasyMDEContainer .CodeMirror-focused,
.hd-tktdetail-reply-form .EasyMDEContainer .CodeMirror-focused {
  background: #fff !important;
}
.hd-tktnew .EasyMDEContainer .CodeMirror-scroll,
.hd-tktdetail-reply-form .EasyMDEContainer .CodeMirror-scroll {
  min-height: 200px;
}
.hd-tktnew .EasyMDEContainer:focus-within,
.hd-tktdetail-reply-form .EasyMDEContainer:focus-within {
  border-color: #2568EF !important;
  box-shadow: 0 0 0 3px rgba(37, 104, 239, 0.14);
  background: #fff !important;
}
.hd-tktnew .EasyMDEContainer:focus-within .CodeMirror,
.hd-tktdetail-reply-form .EasyMDEContainer:focus-within .CodeMirror {
  background: #fff !important;
}
.hd-tktnew .EasyMDEContainer:focus-within .editor-toolbar,
.hd-tktdetail-reply-form .EasyMDEContainer:focus-within .editor-toolbar {
  background: #F1F5F9 !important;
}

/* Dosya yükleme alanı */
.hd-tktnew-upload,
.hd-tktdetail-reply-form .hd-tktnew-upload {
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.hd-tktnew-upload-file {
  flex: 1 1 260px;
  min-width: 0;
  position: relative;
  height: 46px;
}
.hd-tktnew-upload-file .custom-file-input {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 46px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.hd-tktnew-upload-file .custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 46px;
  padding: 0.7rem 6.5rem 0.7rem 0.95rem;
  margin: 0;
  overflow: hidden;
  font-weight: 600;
  line-height: 1.5;
  color: #64748B;
  background: #F8FAFC !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}
.hd-tktnew-upload-file .custom-file-label::after {
  content: attr(data-browse);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  height: 44px;
  padding: 0 1rem;
  color: #fff;
  background: #2568EF;
  border: 0;
  border-radius: 0 9px 9px 0;
  font-weight: 700;
  font-size: 0.85rem;
}
.hd-tktnew-upload-file .custom-file-input:focus ~ .custom-file-label {
  border-color: #2568EF !important;
  box-shadow: 0 0 0 3px rgba(37, 104, 239, 0.12) !important;
  background: #fff !important;
}
.hd-tktnew-upload-add {
  flex: 0 0 auto;
  height: 46px;
  white-space: nowrap;
  margin: 0 !important;
}
.hd-tktnew-upload-extra {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.65rem;
}
.hd-tktnew-upload-extra .hd-tktnew-upload,
.hd-tktnew-upload-extra .attachment-group,
.hd-tktnew-upload-extra .input-group {
  display: flex;
  gap: 0.75rem;
  margin: 0 !important;
}
.hd-tktnew-upload-extra .custom-file {
  flex: 1 1 auto;
  height: 46px;
}

@media (max-width: 575.98px) {
  .hd-tktnew-upload,
  .hd-tktdetail-reply-form .hd-tktnew-upload {
    flex-direction: column;
  }
  .hd-tktnew-upload-add {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .hd-tktnew-grid.is-2,
  .hd-tktnew-grid.is-3 {
    grid-template-columns: 1fr;
  }
  .hd-tktnew-actions {
    flex-direction: column;
  }
  .hd-tktnew-btn-primary,
  .hd-tktnew-btn-soft {
    width: 100%;
    justify-content: center;
  }
}
