/* ============================================================================
   DM Guardian Gate portal -- Module 2, Phase 9
   Same "one plain card, centered, no chrome" layout as consent-portal/
   style.css, kept intentionally small since this page does ONE thing
   (show a request, take one decision) unlike the multi-stage consent
   portal it's modeled after.
   ============================================================================ */
* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111827;
  padding: 24px 16px;
}

.portal-card {
  width: 100%;
  max-width: 460px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 28px 26px;
}

h1 {
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px 0;
  color: #111827;
}

p {
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  margin: 0 0 14px 0;
}

.preview-box {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 0 0 18px 0;
}

.preview-box .label {
  font-size: 12px;
  color: #6B7280;
  margin: 0 0 4px 0;
}

.preview-box .text {
  font-size: 14px;
  color: #111827;
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

button {
  flex: 1;
  padding: 13px 16px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-approve {
  background: #16A34A;
  color: #FFFFFF;
}

.btn-decline {
  background: #FEE2E2;
  color: #B91C1C;
}

.state-message {
  text-align: center;
  padding: 12px 0;
}

.state-message .icon {
  font-size: 34px;
  margin-bottom: 10px;
}

.error-text {
  color: #B91C1C;
  font-size: 13px;
  margin-top: 10px;
}