/* Page service client */
.support-hero {
  padding: 48px 0 40px;
  background:
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(22, 163, 74, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 0% 100%, rgba(102, 101, 221, 0.08), transparent),
    var(--bg, #f8fafc);
}

.support-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 600;
}

.support-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--navy, #0f172a);
}

.support-hero p {
  margin: 0;
  max-width: 640px;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.6;
}

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  margin-top: 32px;
}

.support-channels {
  display: grid;
  gap: 14px;
}

.support-channel {
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.support-channel h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  color: var(--navy, #0f172a);
}

.support-channel p {
  margin: 0;
  font-size: 0.9rem;
  color: #475569;
}

.support-channel a {
  color: #4338ca;
  font-weight: 600;
  text-decoration: none;
}

.support-form-card {
  padding: 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.support-form-card h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}

.support-form-card > p {
  margin: 0 0 20px;
  font-size: 0.88rem;
  color: #64748b;
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-form label {
  display: grid;
  gap: 6px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
}

.support-form input,
.support-form select,
.support-form textarea {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  font-size: 0.9rem;
}

.support-form textarea {
  min-height: 120px;
  resize: vertical;
}

.support-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.support-success {
  padding: 16px;
  border-radius: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  font-size: 0.9rem;
}

.support-tickets {
  margin-top: 48px;
}

.support-tickets h2 {
  margin: 0 0 16px;
  font-size: 1.25rem;
}

.support-ticket-list {
  display: grid;
  gap: 12px;
}

.support-ticket {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.support-ticket__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.support-ticket__id {
  font-weight: 700;
  font-size: 0.88rem;
  color: #4338ca;
}

.support-ticket__status {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.support-ticket__status--ouvert {
  background: #dbeafe;
  color: #1d4ed8;
}

.support-ticket__status--en-cours {
  background: #fef3c7;
  color: #b45309;
}

.support-ticket__status--resolu {
  background: #dcfce7;
  color: #166534;
}

.support-ticket__meta {
  font-size: 0.8rem;
  color: #64748b;
}

.support-empty {
  padding: 24px;
  text-align: center;
  color: #64748b;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
}

.support-privacy-note {
  margin-top: 14px !important;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  font-size: 0.92rem !important;
  color: #5b21b6 !important;
}

.support-privacy-note a {
  color: #4338ca;
  font-weight: 600;
}

.support-form__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
}

.support-form__check input {
  margin-top: 3px;
}

.support-diagnostic {
  margin-top: 40px;
}

.support-diagnostic__card {
  padding: 28px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.support-diagnostic__head h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.support-diagnostic__head p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.support-diagnostic__consent {
  margin-top: 20px;
}

.support-diagnostic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.support-diagnostic__feedback {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.support-diagnostic__feedback--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.support-diagnostic__feedback--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.support-diagnostic__legal {
  margin: 16px 0 0;
  font-size: 0.82rem;
  color: #64748b;
}

.support-diagnostic__legal a {
  color: #4338ca;
  font-weight: 600;
}

@media (max-width: 900px) {
  .support-grid {
    grid-template-columns: 1fr;
  }

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