
/* ── Hesabım Destek Ana Sarmalayıcı ── */
.dct-acct-wrap {
    max-width: 800px;
}

/* ── Destek Listesi Başlık ── */
.dct-acct-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.dct-acct-header--ticket {
    margin-bottom: 16px;
}

.dct-acct-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}

.dct-acct-sub {
    font-size: .82rem;
    color: #94a3b8;
    margin: 0;
}

/* ── Boş durum ── */
.dct-acct-empty {
    text-align: center;
    padding: 48px 24px;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 14px;
}
.dct-acct-empty__icon { margin-bottom: 16px; }
.dct-acct-empty h3 { font-size: 1rem; font-weight: 700; color: #374151; margin: 0 0 6px; }
.dct-acct-empty p  { font-size: .85rem; color: #94a3b8; margin: 0 0 16px; }

/* DevCom Ticket — Account + SMS CSS v1.0.0 */

/* ════════════════════════════════════════
   HESABIM — Ticket bildirimi
   ════════════════════════════════════════ */
.devcom-account__ticket-notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  margin: 0 0 20px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1.5px solid #93c5fd;
  border-radius: 12px;
  text-decoration: none;
  color: #1e40af;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.devcom-account__ticket-notice:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 20px rgba(59,130,246,.2);
  transform: translateY(-1px);
  color: #1e40af;
}
.devcom-account__ticket-notice__icon {
  position: relative;
  width: 44px; height: 44px;
  background: #2563eb;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.devcom-account__ticket-pulse {
  position: absolute;
  top: -3px; right: -3px;
  width: 14px; height: 14px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #fff;
  animation: dct-pulse-ring 1.4s ease infinite;
}
@keyframes dct-pulse-ring {
  0%   { transform: scale(1); opacity: 1; }
  50%  { transform: scale(1.35); opacity: .6; }
  100% { transform: scale(1); opacity: 1; }
}
.devcom-account__ticket-notice__text {
  display: flex; flex-direction: column; gap: 2px;
}
.devcom-account__ticket-notice__text strong {
  font-size: .95rem; font-weight: 700; color: #1e3a8a;
}
.devcom-account__ticket-notice__text span {
  font-size: .8rem; color: #3b82f6;
}

/* Hesabım sidebar'da destek badge */
.dct-account-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  border-radius: 10px;
  margin-left: 6px;
}
.dct-account-badge--pulse {
  animation: dct-badge-pulse 1.6s ease infinite;
}
@keyframes dct-badge-pulse {
  0%,100% { opacity: 1; } 50% { opacity: .65; }
}

/* ════════════════════════════════════════
   HESABIM — Destek bölümü
   ════════════════════════════════════════ */
.dct-account-wrap { padding: 4px 0; }
.dct-account-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f1f5f9;
  flex-wrap: wrap;
}
.dct-account-header--ticket .dct-account-title { font-size: 1.2rem; }
.dct-account-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 1.35rem; font-weight: 800; color: #0f172a;
  margin: 0 0 4px;
}
.dct-account-title svg { color: #0078d4; }
.dct-account-sub { font-size: .85rem; color: #64748b; margin: 0; }
.dct-acct-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; color: #0078d4; text-decoration: none;
  margin-bottom: 8px;
}
.dct-acct-back:hover { color: #005fa3; }
.dct-acct-ticket-meta-row {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap; margin-top: 6px;
}
.dct-acct-tnum { font-size: .75rem; background: #f1f5f9; padding: 2px 8px; border-radius: 4px; font-family: monospace; color: #475569; }
.dct-acct-time { font-size: .78rem; color: #94a3b8; }

/* Butonlar */
.dct-acct-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border: 1.5px solid transparent; border-radius: 8px;
  font-size: .85rem; font-weight: 700; cursor: pointer;
  text-decoration: none; font-family: inherit; transition: all .18s;
}
.dct-acct-btn--primary { background: #0078d4; color: #fff; border-color: #0078d4; }
.dct-acct-btn--primary:hover { background: #005fa3; color: #fff; }
.dct-acct-btn--ghost {
  background: #fff; color: #475569; border-color: #e2e8f0;
}
.dct-acct-btn--ghost:hover { border-color: #0078d4; color: #0078d4; }
.dct-acct-btn--lg { padding: 12px 22px; font-size: .925rem; }

/* Ticket listesi */
.dct-acct-list { display: flex; flex-direction: column; gap: 10px; }
.dct-acct-ticket {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 18px;
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px;
  transition: border-color .18s, box-shadow .18s;
  flex-wrap: wrap;
}
.dct-acct-ticket:hover { border-color: #0078d4; box-shadow: 0 4px 16px rgba(0,120,212,.08); }
.dct-acct-ticket--unread { border-left: 3px solid #0078d4; background: #eff6ff; }
.dct-acct-ticket__left { flex: 1; min-width: 0; }
.dct-acct-ticket__badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.dct-acct-ticket__subject {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.dct-acct-ticket__num { font-family: monospace; font-size: .72rem; color: #94a3b8; flex-shrink: 0; }
.dct-acct-ticket__subject a { font-size: .92rem; font-weight: 600; color: #0f172a; text-decoration: none; }
.dct-acct-ticket__subject a:hover { color: #0078d4; }
.dct-acct-ticket__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dct-acct-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .72rem; color: #64748b; background: #f1f5f9;
  padding: 2px 8px; border-radius: 4px;
}
.dct-acct-time { display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; color: #94a3b8; }

/* Yeni yanıt badge */
.dct-acct-badge--new {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .7rem; font-weight: 800;
  background: #0078d4; color: #fff;
  padding: 2px 10px; border-radius: 20px;
}
.dct-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #fff;
  animation: dct-pulse-ring 1.2s ease infinite;
  flex-shrink: 0;
}

/* Durum + öncelik */
.dct-acct-status, .dct-acct-priority {
  display: inline-block; padding: 2px 9px; border-radius: 20px;
  font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.dct-acct-status--open        { background: #dbeafe; color: #1d4ed8; }
.dct-acct-status--in_progress { background: #fef9c3; color: #a16207; }
.dct-acct-status--waiting     { background: #fed7aa; color: #9a3412; }
.dct-acct-status--resolved    { background: #d1fae5; color: #065f46; }
.dct-acct-status--closed      { background: #f1f5f9; color: #64748b; }
.dct-acct-priority--normal    { background: #dbeafe; color: #1d4ed8; }
.dct-acct-priority--high      { background: #fef9c3; color: #a16207; }
.dct-acct-priority--critical  { background: #fee2e2; color: #991b1b; }
.dct-acct-priority--low       { background: #f1f5f9; color: #64748b; }

/* ── Form ── */
.dct-acct-form { display: flex; flex-direction: column; gap: 18px; }
.dct-acct-form-row { display: flex; gap: 16px; }
.dct-acct-form-row > * { flex: 1; }
@media (max-width: 640px) { .dct-acct-form-row { flex-direction: column; } }
.dct-acct-field { display: flex; flex-direction: column; gap: 5px; }
.dct-acct-label { font-size: .8rem; font-weight: 700; color: #475569; }
.dct-acct-label--req::after { content: ' *'; color: #ef4444; }
.dct-acct-input, .dct-acct-select, .dct-acct-textarea {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: .9rem; color: #0f172a; font-family: inherit;
  transition: border-color .18s, box-shadow .18s; appearance: none;
}
.dct-acct-input:focus, .dct-acct-select:focus, .dct-acct-textarea:focus {
  border-color: #0078d4; box-shadow: 0 0 0 3px rgba(0,120,212,.1); outline: none;
}
.dct-acct-textarea { resize: vertical; min-height: 130px; }

/* Öncelik seçici */
.dct-priority-selector { display: flex; gap: 8px; flex-wrap: wrap; }
.dct-priority-option {
  display: inline-flex; align-items: center;
  padding: 6px 14px; border-radius: 20px; cursor: pointer;
  border: 1.5px solid #e2e8f0; font-size: .8rem; font-weight: 700;
  transition: all .15s;
}
.dct-priority-option input { display: none; }
.dct-priority-option--low:has(input:checked)      { background: #f1f5f9; color: #64748b; border-color: #64748b; }
.dct-priority-option--normal:has(input:checked)   { background: #dbeafe; color: #1d4ed8; border-color: #3b82f6; }
.dct-priority-option--high:has(input:checked)     { background: #fef9c3; color: #a16207; border-color: #f59e0b; }
.dct-priority-option--critical:has(input:checked) { background: #fee2e2; color: #991b1b; border-color: #ef4444; }
.dct-priority-option:hover { border-color: #0078d4; }

.dct-acct-form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.dct-acct-form-note { font-size: .78rem; color: #94a3b8; margin: 0; }

/* Bildirimler */
.dct-acct-notice {
  padding: 12px 16px; border-radius: 8px; font-size: .875rem; font-weight: 500;
  margin-bottom: 12px;
}
.dct-acct-notice--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.dct-acct-notice--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.dct-acct-notice--info    { display: flex; align-items: center; gap: 8px; background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ── Konuşma ── */
.dct-acct-conversation { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.dct-acct-msg { display: flex; gap: 12px; }
.dct-acct-msg__avatar { flex-shrink: 0; }
.dct-acct-avatar { border-radius: 50% !important; width: 36px; height: 36px; object-fit: cover; }
.dct-acct-msg__agent-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #0078d4; display: flex; align-items: center; justify-content: center; color: #fff;
}
.dct-acct-msg__content { flex: 1; min-width: 0; }
.dct-acct-msg__header {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 6px; font-size: .8rem; color: #64748b;
}
.dct-acct-msg__header strong { color: #0f172a; font-size: .875rem; }
.dct-acct-agent-label { color: #1d4ed8; }
.dct-acct-msg__bubble {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 0 12px 12px 12px;
  padding: 14px 16px; font-size: .9rem; color: #1e293b; line-height: 1.7;
}
.dct-acct-msg__bubble p { margin-bottom: 10px; }
.dct-acct-msg__bubble p:last-child { margin-bottom: 0; }
.dct-acct-msg__bubble--agent {
  background: #eff6ff; border-color: #bfdbfe; border-radius: 12px 0 12px 12px;
}
.dct-acct-msg--agent { flex-direction: row-reverse; }
.dct-acct-msg--agent .dct-acct-msg__header { flex-direction: row-reverse; }
.dct-acct-msg--agent .dct-acct-msg__bubble { border-radius: 12px 0 12px 12px; }

/* Yanıt kutusu */
.dct-acct-reply-box {
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 12px;
  padding: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.dct-acct-reply-box__title {
  display: flex; align-items: center; gap: 8px;
  font-size: .95rem; font-weight: 700; color: #0f172a;
  margin: 0 0 14px;
}
.dct-acct-reply-box__title svg { color: #0078d4; }
.dct-acct-reply-footer { margin-top: 12px; }

/* Boş durum */
.dct-acct-empty {
  text-align: center; padding: 56px 24px;
  background: #fff; border: 1.5px solid #e2e8f0; border-radius: 14px;
}
.dct-acct-empty__icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: #f1f5f9; display: flex; align-items: center; justify-content: center;
  color: #94a3b8; margin: 0 auto 16px;
}
.dct-acct-empty h3 { font-size: 1.1rem; font-weight: 700; color: #0f172a; margin: 0 0 8px; }
.dct-acct-empty p  { font-size: .875rem; color: #64748b; margin: 0 0 20px; }

/* Sayfalama */
.dct-acct-pagination { display: flex; justify-content: center; gap: 6px; margin-top: 20px; }
.dct-acct-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 8px;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  text-decoration: none; font-size: .875rem; color: #475569; background: #fff;
  transition: all .15s;
}
.dct-acct-pagination .page-numbers:hover,
.dct-acct-pagination .page-numbers.current { background: #0078d4; border-color: #0078d4; color: #fff; }

/* ════════════════════════════════════════
   SMS ADMIN SAYFASI
   ════════════════════════════════════════ */
.dct-sms-page { max-width: 1300px; }
.dct-sms-grid { display: grid; grid-template-columns: 1fr 480px; gap: 24px; align-items: start; }
@media (max-width: 1100px) { .dct-sms-grid { grid-template-columns: 1fr; } }

.dct-sms-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 22px; box-shadow: 0 2px 8px rgba(0,0,0,.05);
  margin-bottom: 20px;
}
.dct-sms-card--vars { background: #f8fafc; }
.dct-sms-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin: 0 0 16px; }

.dct-sms-card__header {
  display: flex; align-items: center; gap: 14px; margin-bottom: 22px;
  padding-bottom: 16px; border-bottom: 1px solid #f1f5f9;
}
.dct-sms-card__icon { font-size: 2rem; }
.dct-sms-card__header h3 { font-size: 1.1rem; font-weight: 800; color: #0f172a; margin: 0 0 2px; }
.dct-sms-card__header p  { font-size: .8rem; color: #64748b; margin: 0; }
.dct-sms-card__header > div:first-child { flex: 1; }
.dct-sms-status {
  padding: 4px 12px; border-radius: 20px; font-size: .78rem; font-weight: 700;
}
.dct-sms-status--on  { background: #d1fae5; color: #065f46; }
.dct-sms-status--off { background: #f1f5f9; color: #64748b; }

.dct-sms-form { display: flex; flex-direction: column; gap: 18px; }
.dct-sms-field { display: flex; flex-direction: column; gap: 6px; }
.dct-sms-field--toggle { flex-direction: row; align-items: center; justify-content: space-between; }
.dct-sms-field__info { flex: 1; }
.dct-sms-label { font-size: .82rem; font-weight: 700; color: #374151; }
.dct-sms-desc  { font-size: .75rem; color: #9ca3af; margin-top: 2px; }
.dct-sms-input {
  width: 100%; padding: 9px 13px;
  border: 1.5px solid #e2e8f0; border-radius: 8px;
  font-size: .875rem; font-family: inherit; color: #0f172a;
  transition: border-color .18s; appearance: none;
}
.dct-sms-input:focus { border-color: #0078d4; box-shadow: 0 0 0 3px rgba(0,120,212,.1); outline: none; }

.dct-provider-grid { display: flex; gap: 8px; flex-wrap: wrap; }
.dct-provider-option {
  display: inline-flex; align-items: center; padding: 8px 16px;
  border: 1.5px solid #e2e8f0; border-radius: 8px; cursor: pointer;
  font-size: .85rem; font-weight: 600; color: #374151; transition: all .15s;
}
.dct-provider-option input { display: none; }
.dct-provider-option--active { border-color: #0078d4; color: #0078d4; background: #eff6ff; }
.dct-provider-option:hover   { border-color: #0078d4; }

.dct-sms-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
@media (max-width: 768px) { .dct-sms-row { grid-template-columns: 1fr; } }

.dct-sms-divider {
  display: flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; color: #64748b; letter-spacing: .05em; text-transform: uppercase;
}
.dct-sms-divider::before, .dct-sms-divider::after {
  content: ''; flex: 1; height: 1px; background: #e2e8f0;
}

.dct-sms-actions {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 8px;
}
.dct-sms-test-group { display: flex; gap: 8px; flex: 1; }
.dct-sms-test-group .dct-sms-input { flex: 1; }

.dct-sms-notice {
  padding: 10px 14px; border-radius: 8px; font-size: .875rem; font-weight: 500;
}
.dct-sms-notice--success { background: #d1fae5; color: #065f46; }
.dct-sms-notice--error   { background: #fee2e2; color: #991b1b; }

/* Değişkenler */
.dct-vars-list { display: flex; flex-direction: column; gap: 6px; }
.dct-var-item  { display: flex; align-items: baseline; gap: 8px; }
.dct-var-code  {
  font-size: .75rem; background: #fff; border: 1px solid #e2e8f0; border-radius: 4px;
  padding: 2px 6px; cursor: pointer; flex-shrink: 0; color: #0078d4; font-family: monospace;
  transition: background .15s;
}
.dct-var-code:hover { background: #eff6ff; }
.dct-var-desc  { font-size: .78rem; color: #64748b; }

/* Şablonlar */
.dct-templates-list { display: flex; flex-direction: column; gap: 14px; }
.dct-template-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px; }
.dct-template-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.dct-template-header__left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dct-template-name { font-size: .85rem; font-weight: 700; color: #0f172a; }
.dct-template-target { font-size: .7rem; font-weight: 700; padding: 2px 8px; border-radius: 20px; }
.dct-template-target--customer { background: #dbeafe; color: #1d4ed8; }
.dct-template-target--admin    { background: #fef9c3; color: #a16207; }
.dct-template-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.dct-char-count { font-size: .75rem; color: #94a3b8; }
.dct-char-num   { font-weight: 700; color: #374151; }

/* SMS Log */
.dct-sms-empty { text-align: center; padding: 24px; color: #94a3b8; font-size: .875rem; }
.dct-sms-log { overflow-x: auto; }
.dct-sms-log-table { width: 100%; border-collapse: collapse; font-size: .8rem; }
.dct-sms-log-table th {
  padding: 8px 10px; text-align: left; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em; color: #64748b;
  border-bottom: 1px solid #e2e8f0;
}
.dct-sms-log-table td { padding: 8px 10px; border-bottom: 1px solid #f1f5f9; color: #374151; }
.dct-log-phone { font-family: monospace; font-size: .78rem; }
.dct-log-msg   { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dct-log-time  { font-size: .72rem; color: #94a3b8; white-space: nowrap; }
.dct-log-status { font-size: .72rem; font-weight: 700; white-space: nowrap; }
.dct-log-status--sent   { color: #065f46; }
.dct-log-status--failed { color: #991b1b; }
.dct-log-status--queued { color: #92400e; }

/* Toggle küçük */
.dct-toggle--sm .dct-toggle__slider { width: 36px; height: 20px; }
.dct-toggle--sm .dct-toggle__slider::after { width: 14px; height: 14px; }
.dct-toggle--sm input:checked + .dct-toggle__slider::after { transform: translateX(16px); }


/* ════════════════════════════════════════
   YENİ TALEP FORMU — Profesyonel Tasarım
   ════════════════════════════════════════ */

/* Sayfa başlık */
.dct-wrap { padding: 0; }
.dct-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}
.dct-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color .15s;
}
.dct-back-link:hover { color: #0078d4; }
.dct-page-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.dct-page-title svg { color: #0078d4; }
.dct-page-desc { font-size: .85rem; color: #64748b; margin: 0; }

/* Alert */
.dct-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    margin-bottom: 20px;
}
.dct-alert--success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.dct-alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* İki kolon layout */
.dct-form-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 900px) {
    .dct-form-layout { grid-template-columns: 1fr; }
    .dct-help-sidebar { order: -1; }
}

/* Form kartı */
.dct-form-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Alan */
.dct-field { display: flex; flex-direction: column; gap: 7px; }
.dct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .dct-field-row { grid-template-columns: 1fr; } }
.dct-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: #374151;
    letter-spacing: .01em;
}
.dct-label svg { color: #0078d4; }
.dct-label--req::after { content: " *"; color: #ef4444; font-size: .85em; }
.dct-field-hint { font-size: .72rem; color: #94a3b8; }
.dct-field-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.dct-char-counter { font-size: .72rem; color: #94a3b8; }
#dct-msg-count { font-weight: 700; color: #374151; }

/* Input / Select / Textarea */
.dct-input,
.dct-textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    color: #0f172a;
    font-family: inherit;
    background: #fafbfc;
    transition: border-color .18s, box-shadow .18s, background .18s;
    box-sizing: border-box;
}
.dct-input:focus,
.dct-textarea:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0,120,212,.1);
    background: #fff;
    outline: none;
}
.dct-input::placeholder,
.dct-textarea::placeholder { color: #c0ccda; font-size: .875rem; }
.dct-textarea { resize: vertical; min-height: 160px; line-height: 1.7; }

.dct-select-wrap { position: relative; }
.dct-select {
    width: 100%;
    padding: 11px 38px 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    color: #0f172a;
    font-family: inherit;
    background: #fafbfc;
    appearance: none;
    cursor: pointer;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}
.dct-select:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0,120,212,.1);
    outline: none;
}
.dct-select-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94a3b8;
}

/* Öncelik kartları */
.dct-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
@media (max-width: 640px) { .dct-priority-grid { grid-template-columns: 1fr 1fr; } }

.dct-priority-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 10px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    transition: all .2s;
    background: #fafbfc;
}
.dct-priority-card input { display: none; }
.dct-priority-card:hover { border-color: #94a3b8; transform: translateY(-1px); }
.dct-priority-card__icon { font-size: 1.5rem; line-height: 1; }
.dct-priority-card__name { font-size: .78rem; font-weight: 700; color: #374151; }
.dct-priority-card__desc { font-size: .68rem; color: #94a3b8; }

.dct-priority-card--low:has(input:checked)      { border-color: #22c55e; background: #f0fdf4; }
.dct-priority-card--normal:has(input:checked)   { border-color: #3b82f6; background: #eff6ff; }
.dct-priority-card--high:has(input:checked)     { border-color: #f59e0b; background: #fffbeb; }
.dct-priority-card--critical:has(input:checked) { border-color: #ef4444; background: #fff1f2; }

.dct-priority-card--low:has(input:checked) .dct-priority-card__name      { color: #15803d; }
.dct-priority-card--normal:has(input:checked) .dct-priority-card__name   { color: #1d4ed8; }
.dct-priority-card--high:has(input:checked) .dct-priority-card__name     { color: #d97706; }
.dct-priority-card--critical:has(input:checked) .dct-priority-card__name { color: #dc2626; }

/* Gönder butonu */
.dct-form-submit {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 6px;
    border-top: 1.5px solid #f1f5f9;
}
.dct-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: linear-gradient(135deg, #0078d4, #0055a0);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    box-shadow: 0 4px 14px rgba(0,120,212,.3);
}
.dct-submit-btn:hover {
    background: linear-gradient(135deg, #0066b8, #004488);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,120,212,.4);
}
.dct-submit-btn:active { transform: translateY(0); }
.dct-submit-btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.dct-submit-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .75rem;
    color: #94a3b8;
    margin: 0;
}
.dct-submit-note svg { color: #10b981; }

/* Yardım Sidebar */
.dct-help-sidebar { display: flex; flex-direction: column; gap: 14px; }

.dct-help-card {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}
.dct-help-card--hours { border-color: #a7f3d0; background: #f0fdf9; }

.dct-help-card__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}
.dct-help-card__head h4 {
    font-size: .9rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.dct-help-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dct-help-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: .8rem;
    color: #374151;
}
.dct-help-badge {
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}
.dct-help-badge--critical { background: #fee2e2; color: #991b1b; }
.dct-help-badge--high     { background: #fef9c3; color: #a16207; }
.dct-help-badge--normal   { background: #dbeafe; color: #1d4ed8; }
.dct-help-badge--low      { background: #d1fae5; color: #065f46; }

.dct-tips-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.dct-tips-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .8rem;
    color: #374151;
    line-height: 1.5;
}
.dct-tips-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

.dct-hours { display: flex; flex-direction: column; gap: 8px; }
.dct-hours__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    color: #374151;
}
.dct-hours__row strong { font-weight: 700; color: #0f172a; }
.dct-hours__row--off strong { color: #94a3b8; }


/* ── Dosya yükleme alanı ── */
.dct-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    transition: border-color .2s, background .2s;
    min-height: 80px;
}

.dct-upload-area--drag {
    border-color: #0078d4;
    background: #eff6ff;
}

.dct-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    color: #64748b;
    cursor: pointer;
    gap: 6px;
    transition: background .15s;
}

.dct-upload-placeholder:hover { background: #f8fafc; }
.dct-upload-placeholder p { margin: 0; font-size: .9rem; font-weight: 600; }
.dct-upload-placeholder small { font-size: .78rem; color: #94a3b8; }

.dct-file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px;
}

.dct-file-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: .8rem;
    color: #374151;
    max-width: 220px;
}

.dct-file-item span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.dct-file-item small { color: #94a3b8; flex-shrink: 0; }

/* ── Ekler görüntüleme ── */
.dct-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.dct-attachment-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: .8rem;
    text-decoration: none;
    color: #0078d4;
    transition: background .15s;
}

.dct-attachment-item:hover { background: #eff6ff; }
.dct-attachment-item img { border-radius: 4px; }

/* ══════════════════════════════════════════
   YENİ DESTEK TALEBİ — Profesyonel Form
   ══════════════════════════════════════════ */

.dct-new-ticket { max-width: 1000px; }

.dct-new-ticket__header {
    margin-bottom: 24px;
}

.dct-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: .83rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 14px;
    transition: color .15s;
}
.dct-back-btn:hover { color: #0078d4; }

.dct-new-ticket__title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dct-new-ticket__icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, #0078d4, #0ea5e9);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}

.dct-new-ticket__title {
    font-size: 1.3rem; font-weight: 800;
    color: #0f172a; margin: 0 0 3px;
}
.dct-new-ticket__sub { font-size: .85rem; color: #64748b; margin: 0; }

/* Layout */
.dct-new-ticket__body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}
@media (max-width: 768px) {
    .dct-new-ticket__body { grid-template-columns: 1fr; }
}

/* Form kartı */
.dct-new-ticket__form {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* Alanlar */
.dct-field { display: flex; flex-direction: column; gap: 6px; }
.dct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .dct-field-row { grid-template-columns: 1fr; } }

.dct-field__label {
    display: flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 700; color: #374151;
}
.dct-field__label--req .dct-req { color: #ef4444; margin-left: 2px; }

.dct-field__input,
.dct-field__select,
.dct-field__textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    color: #0f172a;
    background: #fff;
    font-family: inherit;
    transition: border-color .18s, box-shadow .18s;
    box-sizing: border-box;
}
.dct-field__input:focus,
.dct-field__select:focus,
.dct-field__textarea:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0,120,212,.1);
    outline: none;
}
.dct-field__textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.dct-field__select-wrap { position: relative; }
.dct-field__select { appearance: none; padding-right: 36px; cursor: pointer; }
.dct-field__select-arrow {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    pointer-events: none; color: #64748b;
}

.dct-field__footer { display: flex; justify-content: space-between; }
.dct-field__hint { font-size: .75rem; color: #94a3b8; }
.dct-char-count { font-size: .75rem; color: #64748b; font-weight: 600; }

/* Öncelik kartları */
.dct-priority-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}
@media (max-width: 600px) { .dct-priority-grid { grid-template-columns: repeat(2, 1fr); } }

.dct-prio-card {
    display: flex; flex-direction: column; align-items: center;
    gap: 4px; padding: 12px 8px;
    border: 2px solid #e2e8f0;
    border-radius: 12px; cursor: pointer;
    transition: border-color .18s, background .18s, transform .15s;
    text-align: center;
    background: #f8fafc;
}
.dct-prio-card:hover { border-color: #cbd5e1; background: #fff; transform: translateY(-1px); }
.dct-prio-card--selected { border-color: #0078d4 !important; background: #eff6ff !important; box-shadow: 0 0 0 3px rgba(0,120,212,.1); }

.dct-prio-card__icon { font-size: 1.5rem; }
.dct-prio-card__name { font-size: .8rem; font-weight: 700; color: #0f172a; }
.dct-prio-card__desc { font-size: .72rem; color: #64748b; }
.dct-prio-card__time { font-size: .68rem; color: #94a3b8; }

/* Dosya yükleme */
.dct-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    transition: border-color .2s, background .2s;
    overflow: hidden;
}
.dct-upload--drag { border-color: #0078d4; background: #eff6ff; }

.dct-upload__placeholder {
    display: flex; flex-direction: column; align-items: center;
    gap: 8px; padding: 28px 20px;
    color: #64748b; text-align: center;
}
.dct-upload__placeholder p { margin: 0; font-size: .88rem; }
.dct-upload__placeholder small { font-size: .75rem; color: #94a3b8; }

.dct-upload__browse {
    background: none; border: none; color: #0078d4;
    font-weight: 700; cursor: pointer; padding: 0;
    font-size: inherit; text-decoration: underline;
}

.dct-upload__preview {
    display: flex; flex-wrap: wrap; gap: 10px;
    padding: 12px;
}

.dct-upload__item {
    display: flex; align-items: center; gap: 8px;
    background: #f1f5f9; border: 1px solid #e2e8f0;
    border-radius: 8px; padding: 6px 10px;
    font-size: .8rem; max-width: 200px;
}
.dct-upload__thumb { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex-shrink: 0; }
.dct-upload__icon { font-size: 1.4rem; flex-shrink: 0; }
.dct-upload__item-info { display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.dct-upload__item-name { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #374151; }
.dct-upload__item-size { font-size: .72rem; color: #94a3b8; }

/* Gönder butonu */
.dct-new-ticket__submit { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.dct-submit-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #0078d4, #0055a0);
    color: #fff; border: none;
    padding: 14px 28px; border-radius: 12px;
    font-size: 1rem; font-weight: 700; cursor: pointer;
    transition: transform .15s, box-shadow .15s, opacity .15s;
    box-shadow: 0 4px 12px rgba(0,120,212,.3);
}
.dct-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,120,212,.4); }
.dct-submit-btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }

.dct-new-ticket__kvkk {
    display: flex; align-items: center; gap: 5px;
    font-size: .75rem; color: #94a3b8; margin: 0;
}

/* Alertler */
.dct-alert {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 18px; border-radius: 10px;
    margin-bottom: 16px; font-size: .9rem; font-weight: 600;
}
.dct-alert--success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.dct-alert--error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* Sidebar yardım kartları */
.dct-new-ticket__sidebar { display: flex; flex-direction: column; gap: 14px; }

.dct-help-card {
    background: #fff; border: 1.5px solid #e2e8f0;
    border-radius: 12px; padding: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.dct-help-card__head {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 12px; font-size: .88rem;
}

.dct-help-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dct-help-list li { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; gap: 8px; }
.dct-badge { padding: 2px 8px; border-radius: 20px; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.dct-help-list li span:last-child { color: #374151; font-weight: 600; }

.dct-tips-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dct-tips-list li { font-size: .82rem; color: #374151; }

.dct-hours { display: flex; flex-direction: column; gap: 6px; }
.dct-hours__row { display: flex; justify-content: space-between; font-size: .82rem; }
.dct-hours__row span { color: #64748b; }
.dct-hours__row strong { color: #0f172a; }
.dct-hours__row--closed strong { color: #ef4444; }

@keyframes dct-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── Detay kartı ── */
.dct-acct-detail-card {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}
.dct-acct-detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .83rem;
}
.dct-acct-detail-label {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-weight: 600;
}
.dct-acct-tag {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 5px;
    padding: 2px 8px;
    font-size: .78rem;
    font-weight: 700;
}
/* ── Mesaj meta ── */
.dct-acct-ticket__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}
.dct-acct-meta-sep { color: #cbd5e1; }
.dct-acct-time, .dct-acct-date {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: .78rem;
    color: #94a3b8;
}

/* ── Agent badge ── */
.dct-acct-agent-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: #eff6ff;
    color: #2563eb;
    font-size: .72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
}

/* ── Dosya önizleme (yanıt) ── */
.dct-acct-reply-upload {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 4px;
}
.dct-acct-reply-files {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.dct-acct-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: .75rem;
    color: #374151;
}
.dct-acct-file-chip small { color: #94a3b8; }

/* ── Reply textarea ── */
.dct-acct-reply-textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: .9rem;
    font-family: inherit;
    resize: vertical;
    min-height: 100px;
    box-sizing: border-box;
    transition: border-color .18s;
}
.dct-acct-reply-textarea:focus {
    border-color: #0078d4;
    box-shadow: 0 0 0 3px rgba(0,120,212,.08);
    outline: none;
}

/* ── Yanıt kutusu ── */
.dct-acct-reply-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dct-acct-reply-box__title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .88rem;
    font-weight: 700;
    color: #374151;
}
.dct-acct-reply-box__footer {
    display: flex;
    justify-content: flex-end;
}

/* ── Kapalı talep ── */
.dct-acct-closed-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    margin-top: 16px;
    font-size: .88rem;
    color: #64748b;
}

/* ── Ekler ── */
.dct-acct-attachments {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.dct-acct-attachment {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: .8rem;
    color: #0078d4;
    text-decoration: none;
    transition: background .15s;
}
.dct-acct-attachment:hover { background: #eff6ff; }
.dct-acct-attachment img {
    width: 48px; height: 48px;
    object-fit: cover;
    border-radius: 5px;
}
.dct-acct-attachment__icon { font-size: 1.2rem; }

/* ── btn ghost sm ── */
.dct-acct-btn--ghost {
    background: #fff;
    border: 1.5px solid #e2e8f0;
    color: #374151;
}
.dct-acct-btn--ghost:hover { background: #f8fafc; border-color: #cbd5e1; }
.dct-acct-btn--sm { padding: 6px 12px; font-size: .8rem; }

/* ── Ticket link ── */
.dct-acct-ticket__link { color: #0f172a; font-weight: 600; text-decoration: none; }
.dct-acct-ticket__link:hover { color: #0078d4; }
