/* Page « Ma quarantaine » — cartes, boutons visibles, clair seulement (comme tout le site).
   Palette : variables globales de style.css (--indigo, --border, --text…). */

.qt-page {
  --qt-bg: var(--white);
  --qt-text: var(--text);
  --qt-muted: var(--text-secondary);
  --qt-border: var(--border);
  padding-top: 120px; /* dégage la barre fixe (comme .auth-page) */
  padding-bottom: 60px;
}

.qt-page [hidden] {
  display: none !important;
}

.qt-intro,
.qt-status,
.qt-count,
.qt-list,
.qt-empty,
#qt-retry {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.qt-intro {
  margin-bottom: 20px;
  text-align: center;
}

.qt-intro h1 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 8px;
}

.qt-intro p {
  color: var(--qt-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.qt-status:empty {
  display: none;
}

.qt-status {
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.qt-ok {
  background: rgba(5, 150, 105, 0.14);
  color: #059669;
}

.qt-erreur {
  background: rgba(220, 38, 38, 0.12);
  color: #dc2626;
}

.qt-info {
  background: rgba(124, 58, 237, 0.1);
  color: var(--qt-text);
}

.qt-count {
  color: var(--qt-muted);
  margin-bottom: 12px;
}

.qt-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qt-item,
.qt-empty {
  background: var(--qt-bg);
  color: var(--qt-text);
  border: 1px solid var(--qt-border);
  border-radius: var(--radius-lg);
  padding: 18px;
  overflow-wrap: anywhere;
}

.qt-empty {
  text-align: center;
}

.qt-from {
  font-weight: 600;
}

.qt-subject {
  margin-top: 2px;
}

.qt-meta,
.qt-reason {
  margin-top: 6px;
  color: var(--qt-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.qt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.qt-btn {
  min-height: 44px;
  min-width: 120px;
  font-size: 16px;
  flex: 1 1 120px;
  justify-content: center;
}

.qt-btn-danger {
  border-color: #dc2626;
  color: #dc2626;
}

.qt-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#qt-retry {
  display: flex;
  margin-bottom: 16px;
}

@media (max-width: 560px) {
  .qt-item,
  .qt-empty {
    padding: 14px;
  }
}
