body.app:not(.auth-page) .support-hero {
  border: 0;
  border-left: 4px solid var(--primary-bg-color);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

body.app:not(.auth-page) .support-hero .card-body {
  padding: 26px;
}

.support-kicker {
  color: var(--primary-bg-color);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.support-title {
  color: #17233c;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 6px 0 8px;
}

.support-subtitle {
  color: #60718f;
  font-size: 15px;
  margin: 0;
}

.support-filter-card,
.support-card {
  border: 0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

.support-filter-card .card-body {
  padding: 18px 20px;
}

.support-filter-card .form-label {
  color: #17233c;
  font-weight: 600;
}

.support-ticket-card {
  border: 1px solid rgba(91, 111, 156, 0.16);
  border-left: 4px solid var(--primary-bg-color);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.support-ticket-item {
  margin-bottom: 18px;
}

.support-ticket-card .card-body {
  padding: 16px;
}

.support-ticket-card:hover {
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}

.support-ticket-title {
  color: #17233c;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  margin: 10px 0;
}

.support-ticket-meta {
  color: #6c7a92;
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  gap: 7px 14px;
  margin-bottom: 14px;
}

.support-badge {
  align-items: center;
  background: var(--primary02);
  border: 1px solid var(--primary01);
  border-radius: 999px;
  color: var(--primary-bg-color);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 6px 10px;
}

.support-badge-muted {
  background: #f1f4f9;
  border-color: #e2e8f0;
  color: #5f6f89;
}

.support-empty {
  border: 1px dashed rgba(91, 111, 156, 0.3);
  color: #60718f;
  padding: 36px 20px;
  text-align: center;
}

.support-conversation {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-message {
  background: #fff;
  border: 1px solid rgba(91, 111, 156, 0.15);
  border-radius: 8px;
  padding: 18px;
}

.support-message-admin {
  border-left: 4px solid var(--primary-bg-color);
}

.support-message-user {
  background: #f8fafd;
}

.support-message-header {
  align-items: flex-start;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.support-avatar {
  align-items: center;
  background: var(--primary02);
  border-radius: 50%;
  color: var(--primary-bg-color);
  display: inline-flex;
  flex: 0 0 38px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.support-message-name {
  color: #17233c;
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.support-message-date {
  color: #74839a;
  font-size: 13px;
  margin: 2px 0 0;
}

.support-message-body {
  color: #344155;
  line-height: 1.55;
}

.support-attachments {
  gap: 12px 0;
}

.support-attachments img {
  border: 1px solid #e6ebf3;
  border-radius: 8px;
  max-height: 180px;
  object-fit: cover;
  width: 100%;
}

.support-form-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-incident-hero {
  margin-bottom: 18px;
}

.support-incident-card .card-body {
  padding: 20px;
}

.support-incident-header {
  align-items: center;
  min-height: 70px;
}

.support-incident-selects {
  border-bottom: 1px solid #edf1f7;
  margin-bottom: 18px;
  padding-bottom: 8px;
}

.support-incident-card .form-group {
  margin-bottom: 12px;
}

.support-incident-card .gral_from {
  background: #f8fafd;
  border: 1px solid #e8edf5;
  border-radius: 8px;
  margin-top: 12px;
  padding: 16px;
}

.support-incident-card .gral_from .row {
  margin-left: -6px;
  margin-right: -6px;
}

.support-incident-card .gral_from [class*="col-"] {
  padding-left: 6px;
  padding-right: 6px;
}

.support-incident-card .form-floating textarea.form-control {
  min-height: 88px;
}

.support-incident-card label {
  color: #5f6f89;
  font-size: 13px;
}

.support-guide-card {
  position: sticky;
  top: 90px;
}

.support-guide-card br {
  display: none;
}

.support-guide-card .card-body {
  padding: 18px !important;
}

.support-incident-selects .select2-container {
  width: 100% !important;
}

.support-incident-selects .select2-container .select2-selection--single {
  min-height: 48px;
}

.support-incident-card input[type="file"].form-control-sm {
  min-height: 36px;
}

.support-guide-card .form-group {
  margin-bottom: 0;
}

.support-guide-card h5 {
  font-size: 15px;
  font-weight: 700;
}

.support-guide-card p {
  border-top: 1px solid #edf1f7;
  color: #5f6f89;
  font-size: 13px;
  line-height: 1.55;
  margin: 12px 0 0;
  padding-top: 12px;
}

.support-guide-card b {
  color: #17233c;
}

.support-guide-card a {
  color: #344155;
  font-weight: 600;
}

.support-guide-card:not(.support-guide-loaded) .form-group:before {
  align-items: center;
  background: #f8fafd;
  border: 1px dashed rgba(91, 111, 156, 0.3);
  border-radius: 8px;
  color: #60718f;
  content: "Selecciona una guia para ver los datos del envio.";
  display: flex;
  min-height: 96px;
  padding: 18px;
}

.support-guide-card:not(.support-guide-loaded) .form-group > * {
  display: none;
}

@media (max-width: 991.98px) {
  .support-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-guide-card {
    position: static;
  }
}

@media (max-width: 575.98px) {
  .support-hero .d-flex {
    align-items: flex-start !important;
    flex-direction: column;
  }

  .support-title {
    font-size: 23px;
  }

  .support-form-grid {
    grid-template-columns: 1fr;
  }
}
