/* Destek'e özgü birkaç sınıf. PDKSV9'dan kopyalanan tema dosyaları (theme-industry, app, cloudpdks, mobile) değiştirilmez;
   fark burada durur (Borina.Crm'deki crm.css ile aynı ilke). */
.destek-setup-code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; }
.destek-divider { border: 0; border-top: 1px solid var(--bs-border, #e5e7eb); margin: 1.25rem 0; }
.destek-muted { color: var(--bs-text-muted, #6b7280); font-size: .875rem; }
.destek-field-hint { display: block; margin-top: .25rem; color: var(--bs-text-muted, #6b7280); font-size: .8125rem; }
.destek-form-actions { display: flex; gap: .5rem; justify-content: flex-end; margin-top: 1rem; }
.destek-setup { margin-top: 1.25rem; border-top: 1px solid var(--bs-border, #e5e7eb); padding-top: 1rem; }
.destek-setup > summary { cursor: pointer; margin-bottom: .5rem; }
.destek-filter { width: auto; min-width: 12rem; }
.destek-textarea { min-height: 7rem; resize: vertical; font-family: inherit; }
.destek-attachments { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .875rem; }
.destek-status { display: inline-block; padding: .1rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 600; background: #e5e7eb; color: #374151; }
.destek-status-New { background: #dbeafe; color: #1e40af; }
.destek-status-Open { background: #ccfbf1; color: #115e59; }
.destek-status-WaitingCustomer, .destek-status-WaitingThirdParty { background: #fef3c7; color: #92400e; }
.destek-status-Resolved { background: #dcfce7; color: #166534; }
.destek-status-Closed { background: #e5e7eb; color: #4b5563; }
.destek-desk-head h1 { margin: .25rem 0; }
.destek-diagnostics { margin: .5rem 0 0; font-size: .875rem; }
.destek-diagnostics dl { display: grid; grid-template-columns: max-content 1fr; gap: .25rem 1rem; margin: .5rem 0 0; }
.destek-diagnostics dt { color: var(--pdks-muted, #64748b); }
.destek-diagnostics dd { margin: 0; overflow-wrap: anywhere; }
.destek-desk { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 1rem; align-items: start; margin-top: 1rem; }
@media (max-width: 960px) { .destek-desk { grid-template-columns: 1fr; } }
.destek-thread { display: flex; flex-direction: column; gap: .75rem; }
.destek-message { background: var(--bs-surface, #fff); border: 1px solid var(--bs-border, #e5e7eb); border-radius: .75rem; padding: .75rem 1rem; }
.destek-message header { display: flex; gap: .5rem; align-items: baseline; margin-bottom: .35rem; }
.destek-message header time { margin-left: auto; color: var(--bs-text-muted, #6b7280); font-size: .8125rem; }
.destek-message-agent { border-left: 3px solid var(--bs-primary, #0f766e); }
.destek-message-internal { background: #fffbeb; border-color: #fcd34d; }
.destek-message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.destek-badge { font-size: .7rem; font-weight: 700; text-transform: uppercase; color: #92400e; background: #fde68a; border-radius: .25rem; padding: 0 .35rem; }
.destek-reply { background: var(--bs-surface, #fff); border: 1px solid var(--bs-border, #e5e7eb); border-radius: .75rem; padding: .75rem 1rem; }
.destek-reply-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-top: .5rem; }
.destek-check { display: inline-flex; gap: .35rem; align-items: center; font-size: .875rem; }
.destek-side { padding: 1rem; }
.destek-facts { display: grid; grid-template-columns: auto 1fr; gap: .25rem .75rem; margin-top: 1rem; font-size: .8125rem; }
.destek-facts dt { color: var(--bs-text-muted, #6b7280); }
.destek-table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.destek-table th, .destek-table td { text-align: left; padding: .4rem .5rem; border-bottom: 1px solid var(--bs-border, #e5e7eb); }
.destek-inline-form { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-top: .75rem; }
.destek-inline-form .bs-input { width: auto; flex: 1 1 12rem; }
.destek-inline-form .destek-narrow { flex: 0 0 5rem; }
.destek-members { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .5rem; }
.destek-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 1rem; margin-top: 1rem; }
.destek-tile { display: flex; flex-direction: column; gap: .25rem; padding: 1rem; border-radius: .75rem; background: var(--bs-surface, #fff); border: 1px solid var(--bs-border, #e5e7eb); text-decoration: none; color: inherit; }
.destek-tile strong { font-size: 1.75rem; }
.destek-picker { list-style: none; margin: .25rem 0 0; padding: 0; border: 1px solid var(--bs-border, #e5e7eb); border-radius: .5rem; max-height: 14rem; overflow: auto; }
.destek-picker-item { display: flex; justify-content: space-between; width: 100%; text-align: left; padding: .4rem .6rem; border: 0; background: none; cursor: pointer; }
.destek-picker-item:hover, .destek-picker-item:focus { background: var(--bs-hover, #f3f4f6); }
.destek-secret code { word-break: break-all; }
/* Yardım merkezi (herkese açık) */
.destek-help { min-height: 100vh; display: flex; flex-direction: column; background: var(--bs-bg, #f6f8f8); }
.destek-help-head { background: linear-gradient(135deg, #0f766e, #134e4a); color: #fff; padding: 1rem 1rem 2rem; }
.destek-help-bar { max-width: 64rem; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.destek-help-brand { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.destek-help-brand img { width: 28px; height: 28px; background: #fff; border-radius: 6px; padding: 2px; }
.destek-help-nav { display: flex; gap: .75rem; align-items: center; }
.destek-help-nav a { color: #fff; text-decoration: none; font-size: .9rem; opacity: .9; }
.destek-help-nav a.active { font-weight: 700; opacity: 1; }
.destek-help-search { max-width: 40rem; margin: 1.5rem auto 0; display: flex; gap: .5rem; }
.destek-help-search .bs-input { flex: 1; }
.destek-help-main { flex: 1; width: 100%; max-width: 64rem; margin: 0 auto; padding: 1.5rem 1rem; }
.destek-help-foot { display: flex; justify-content: space-between; max-width: 64rem; width: 100%; margin: 0 auto; padding: 1rem; color: #6b7280; font-size: .8rem; }
.destek-help-hero { text-align: center; margin-bottom: 1.5rem; }
.destek-help-section { margin-bottom: 2rem; }
.destek-help-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .75rem; }
.destek-help-list li { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: .75rem 1rem; }
.destek-help-list a { font-weight: 600; text-decoration: none; color: #0f766e; }
.destek-help-list p { margin: .25rem 0 0; }
.destek-help-article { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; padding: 1.5rem; }
.destek-help-body img { max-width: 100%; height: auto; }
.destek-help-body pre { overflow: auto; background: #f3f4f6; padding: .75rem; border-radius: .5rem; }
.destek-help-cta { margin-top: 1.5rem; padding: 1.25rem; background: #fff; border: 1px dashed #99f6e4; border-radius: .75rem; }
.destek-help-form { max-width: 40rem; }
.destek-widget-shell { padding: 1rem; font-size: .95rem; }
.destek-widget h1 { font-size: 1.1rem; margin: 0 0 .75rem; }

/* Memnuniyet anketi (D5) */
.destek-survey { margin: 1rem 0; padding: 1rem; border: 1px solid var(--pdks-border, #e2e8f0); border-radius: .5rem; }
.destek-survey fieldset { border: 0; margin: 0; padding: 0; }
.destek-survey legend { font-weight: 600; margin-bottom: .5rem; }
.destek-survey-scores { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .75rem; }
.destek-survey-scores label { display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; }

/* Hizmet kuralları ve raporlar (D5) */
.destek-inline-fields { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-end; }
.destek-input-number { max-width: 8rem; }
.destek-weekdays { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .75rem; }
.destek-clip { max-width: 28rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.destek-num { text-align: right; font-variant-numeric: tabular-nums; }
.destek-report-range { margin-bottom: 1rem; }
.destek-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); gap: .75rem; margin-bottom: 1rem; }
.destek-card { display: flex; flex-direction: column; gap: .25rem; padding: .85rem 1rem; border: 1px solid var(--bs-border, #e5e7eb); border-radius: .5rem; background: var(--bs-surface, #fff); }
.destek-card-label { font-size: .8rem; color: var(--pdks-muted, #64748b); }
.destek-card-value { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.destek-card-attention { border-color: #f59e0b; }
.destek-card-attention .destek-card-value { color: #b45309; }
.destek-report-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1rem; }
.destek-report-box h2 { font-size: .95rem; margin: 0 0 .5rem; }
.destek-sla { display: flex; flex-wrap: wrap; gap: .25rem .75rem; font-size: .8rem; margin-top: .35rem; }
.destek-sla-breached { color: #b91c1c; font-weight: 600; }
.destek-canned { max-width: 16rem; }
