@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

:root {
  --rq-bg: #f7f8fb;
  --rq-panel: #fff;
  --rq-text: #182942;
  --rq-muted: #6b7a90;
  --rq-border: #e3e8ef;
  --rq-blue: #004fbd;
  --rq-pink: #ff4998;
  --rq-gold: #c5a44d;
  --rq-gold-hover: #b89542;
  --rq-orange: #f5a623;
  --rq-radius: 12px;
}

* {
  box-sizing: border-box;
}

body.DoorLoop.request {
  margin: 0;
  min-height: 100vh;
  font-family: "Lato", system-ui, sans-serif;
  background: var(--rq-bg);
  color: var(--rq-text);
}

.rq-header {
  background: var(--rq-panel);
  border-bottom: 1px solid var(--rq-border);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.rq-logo {
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--rq-blue);
}

.rq-logo span {
  color: var(--rq-pink);
}

.rq-header a {
  color: var(--rq-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.rq-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
}

.rq-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 900;
}

.rq-hero p {
  margin: 0 0 1.75rem;
  color: var(--rq-muted);
  line-height: 1.5;
}

.rq-card {
  background: var(--rq-panel);
  border: 1px solid var(--rq-border);
  border-radius: var(--rq-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 2px 8px rgba(24, 41, 66, 0.05);
}

.rq-card h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
}

.rq-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-weight: 700;
}

.rq-form input,
.rq-form textarea,
.rq-form select {
  font: inherit;
  font-weight: 400;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--rq-border);
  border-radius: 8px;
}

.rq-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 560px) {
  .rq-row {
    grid-template-columns: 1fr;
  }
}

.rq-submit {
  margin-top: 0.5rem;
  width: 100%;
  border: none;
  background: var(--rq-gold);
  color: #1e2a12;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.rq-submit:disabled {
  opacity: 0.6;
  cursor: wait;
}

.rq-success {
  border-left: 4px solid #1a8f4a;
  background: #f3fbf6;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
}

.rq-success h2 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.rq-error {
  color: #c62828;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.rq-track {
  margin-top: 2rem;
}

.rq-track h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}

.rq-ticket {
  border: 1px solid var(--rq-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  margin-bottom: 0.65rem;
  background: #fff;
}

.rq-ticket-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

.rq-status {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  white-space: nowrap;
}

.rq-status.open {
  background: #fff4e5;
  color: #b36a00;
}

.rq-status.inprogress {
  background: #e8f0ff;
  color: var(--rq-blue);
}

.rq-status.done {
  background: #e8f7ee;
  color: #1a8f4a;
}

.rq-meta {
  font-size: 0.82rem;
  color: var(--rq-muted);
  margin: 0.35rem 0 0;
}

.hidden {
  display: none !important;
}