/* ── Recom page ─────────────────────────────────────────── */

.recom-content {
  min-height: 100%;
}

.content-area {
  max-width: 860px;
  margin: 0 auto;
}

.rec-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
}

/* ── Request Info Panel ─────────────────────────────────── */

.rec-info-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 100%),
    var(--bg-surface);
  backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--sp-6);
  overflow: hidden;
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.rec-info-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 8px;
}

.rec-info-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}

.rec-info-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.rec-info-chevron {
  font-size: 10px;
  color: var(--text-dim);
  flex-shrink: 0;
}

.rec-info-body {
  padding: 0 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.rec-info-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.rec-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  flex-shrink: 0;
  width: 72px;
}

.rec-info-value {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.rec-info-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 100px;
  background: rgba(232, 168, 124, 0.12);
  color: var(--accent);
}

.rec-info-delete-row {
  padding-top: 4px;
  align-items: center;
}

/* Shared sizing for the two action buttons in the info panel */
.btn-danger,
.rec-info-delete-row .btn-rerun {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid;
  background: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-danger {
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.btn-danger:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: #f87171;
}

/* Re-run button — same shape as Delete, neutral tone */
.rec-info-delete-row .btn-rerun {
  border-color: var(--border);
  color: var(--text-muted);
}

.rec-info-delete-row .btn-rerun:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-strong);
  color: var(--text);
}

.error-state {
  color: var(--text-muted);
}

.error-state h2 {
  color: var(--red);
  margin-bottom: 8px;
}

.error-state p {
  margin-bottom: 16px;
}

@media (max-width: 720px) {
  .content-area {
    max-width: 100%;
  }

  .rec-info-row {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .rec-info-label {
    width: auto;
  }

  .rec-info-delete-row {
    gap: 10px;
  }
}
