/* ═══════════════════════════════════════════════════════════
   TICKET DETAIL PAGE
═══════════════════════════════════════════════════════════ */

.ticket-detail-container {
  max-width: 900px;
  margin: 0 auto;
}

.ticket-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 12px;
  color: var(--text-mute);
}

.ticket-breadcrumb a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-colors);
}

.ticket-breadcrumb a:hover {
  color: var(--accent-h);
}

.ticket-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-soft);
}

.ticket-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.ticket-id {
  font-family: 'Geist Mono', monospace;
  font-size: 11px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticket-title {
  font-family: 'Fraunces', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.ticket-meta-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ticket-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-mute);
}

.ticket-meta strong {
  color: var(--text);
}

/* ═══════════════════════════════════════════════════════════
   TICKET CONTENT
═══════════════════════════════════════════════════════════ */

.ticket-body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 24px;
}

.ticket-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ticket-description {
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
}

.ticket-description .md-body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

.ticket-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket-sidebar-card {
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
}

.ticket-sidebar-title {
  font-weight: 600;
  font-size: 12px;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-soft);
}

.ticket-sidebar-value {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-sidebar-field {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ticket-sidebar-label {
  font-size: 11px;
  color: var(--text-mute);
  font-weight: 500;
}

.ticket-sidebar-content {
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
}

.ticket-action-btn {
  width: 100%;
  padding: 10px;
  font-size: 13px;
}

/* ═══════════════════════════════════════════════════════════
   COMMENTS & DISCUSSION
═══════════════════════════════════════════════════════════ */

.ticket-comments {
  margin-top: 24px;
}

.ticket-comments-title {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 16px;
}

.comment {
  padding: 16px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
  margin-bottom: 12px;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.comment-author {
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}

.comment-time {
  font-size: 11px;
  color: var(--text-mute);
  margin-left: auto;
}

.comment-body {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

.comment-form {
  margin-top: 20px;
  padding: 20px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: 9px;
}

.comment-form-title {
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 12px;
}

.comment-form textarea {
  margin-bottom: 12px;
}

.comment-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .ticket-body {
    grid-template-columns: 1fr;
  }

  .ticket-title {
    font-size: 20px;
  }

  .ticket-header-row {
    flex-direction: column;
  }

  .ticket-meta-row {
    gap: 16px;
  }

  .ticket-sidebar {
    margin-top: 24px;
  }
}
