/**
 * ResiHub Tenant + Move-In Experience — Spike-branded stylesheet
 * Owner: Spike (design authority) | Content: Hawk (GraphRAG/Milvus)
 * Load after: Poppins + Orbitron fonts, Font Awesome
 */
:root {
  --rh-teal: #18b090;
  --rh-teal-deep: #089aa0;
  --rh-teal-blue: #3c8c9a;
  --rh-gold: #eeae47;
  --rh-cyan: #04bfe1;
  --rh-navy: #0d4c65;
  --rh-deep: #105d75;
  --rh-sage: #8eabb4;
  --rh-green: #369d42;
  --rh-bg: #f0f9f7;
  --rh-surface: #ffffff;
  --rh-text: #0f172a;
  --rh-muted: #64748b;
  --rh-border: rgba(24, 176, 144, 0.25);
  --rh-shadow: 0 8px 24px rgba(13, 76, 101, 0.08);
  --rh-radius: 12px;
  --rh-radius-lg: 16px;
  --rh-font-display: 'Orbitron', sans-serif;
  --rh-font-body: 'Poppins', sans-serif;
}

.rh-movein-page {
  margin: 0;
  font-family: var(--rh-font-body);
  background: var(--rh-bg);
  color: var(--rh-text);
  line-height: 1.5;
}

.rh-movein-page h1,
.rh-movein-page h2,
.rh-movein-page h3,
.rh-movein-page h4 {
  font-family: var(--rh-font-display);
  color: var(--rh-navy);
  margin: 0 0 0.5rem;
}

.rh-movein-header {
  background: linear-gradient(135deg, var(--rh-navy), var(--rh-teal-blue));
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--rh-radius-lg);
  margin-bottom: 1rem;
  box-shadow: var(--rh-shadow);
}

.rh-movein-header h2 {
  color: #fff;
  font-size: 1.15rem;
}

.rh-movein-header .rh-meta {
  font-size: 0.85rem;
  opacity: 0.92;
  margin-top: 0.35rem;
}

.rh-badge {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.2);
}

.rh-badge.draft { background: #e2e8f0; color: var(--rh-navy); }
.rh-badge.submitted { background: #fef3c7; color: #92400e; }
.rh-badge.finalized { background: #d1fae5; color: #065f46; }

.rh-card {
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  padding: 1rem;
  box-shadow: var(--rh-shadow);
}

.rh-card-gold {
  border-left: 4px solid var(--rh-gold);
}

.rh-grid-rooms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.65rem;
}

.rh-room-card {
  background: var(--rh-surface);
  border: 2px solid #e2e8f0;
  border-radius: var(--rh-radius);
  padding: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}

.rh-room-card:hover,
.rh-room-card.active {
  border-color: var(--rh-teal);
  transform: translateY(-1px);
}

.rh-room-card.done {
  border-color: #86efac;
  background: linear-gradient(180deg, #fff, #f0fdf4);
}

.rh-room-name { font-weight: 600; font-size: 0.88rem; }
.rh-room-state { font-size: 0.72rem; color: var(--rh-muted); margin-top: 0.25rem; }

.rh-detail-panel {
  display: none;
  margin-top: 1rem;
}

.rh-detail-panel.open { display: block; }

.rh-field { margin-bottom: 0.65rem; }
.rh-field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rh-deep);
  margin-bottom: 0.25rem;
}

.rh-field select,
.rh-field textarea,
.rh-field input {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
}

.rh-btn {
  background: var(--rh-teal);
  color: #fff;
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  margin: 0.35rem 0.35rem 0 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.rh-btn:hover:not(:disabled) {
  background: var(--rh-teal-deep);
  box-shadow: 0 4px 12px rgba(24, 176, 144, 0.35);
}

.rh-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.rh-btn-secondary {
  background: rgba(60, 140, 154, 0.12);
  color: var(--rh-navy);
  border: 1px solid var(--rh-teal-blue);
}

.rh-btn-gold {
  background: linear-gradient(135deg, var(--rh-gold), #fd7e14);
  color: var(--rh-navy);
}

.rh-resi-tip {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(24, 176, 144, 0.12), rgba(238, 174, 71, 0.1));
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius);
  padding: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
}

.rh-resi-tip img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rh-photos { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.rh-photos img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--rh-border);
}

.rh-feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--rh-surface);
  border: 1px solid #e2e8f0;
  border-radius: var(--rh-radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.rh-feature-row.done { border-color: #86efac; }

.rh-credits {
  font-size: 0.85rem;
  color: var(--rh-muted);
  margin: 0.5rem 0 1rem;
}

.rh-error { color: #dc2626; font-size: 0.85rem; }

/* Index — Moving Services Directory */
.rh-moving-services {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, var(--rh-bg) 0%, #fff 100%);
}

.rh-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}

.rh-directory-category {
  background: var(--rh-surface);
  border-radius: var(--rh-radius-lg);
  padding: 1.1rem 1.25rem;
  border: 1px solid #e2e8f0;
  box-shadow: var(--rh-shadow);
  transition: border-color 0.2s;
}

.rh-directory-category:hover {
  border-color: var(--rh-teal);
}

.rh-directory-category h3 {
  font-size: 1rem;
  margin-bottom: 0.65rem;
}

.rh-directory-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
  line-height: 2;
}

.rh-directory-category a {
  color: var(--rh-teal-blue);
  font-weight: 500;
}

.rh-directory-category a:hover { color: var(--rh-teal); }

.rh-directory-cta {
  text-align: center;
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: rgba(24, 176, 144, 0.1);
  border-radius: var(--rh-radius);
  border: 1px dashed var(--rh-teal);
}

.rh-directory-cta a {
  color: var(--rh-teal);
  font-weight: 600;
}

.rh-provider-blurb {
  font-size: 0.8rem;
  color: var(--rh-muted);
  margin-top: 0.25rem;
  font-style: italic;
}

.rh-spike-credit {
  font-size: 0.7rem;
  color: var(--rh-sage);
  text-align: right;
  margin-top: 1rem;
}

/* Index — Professional inspection CTA */
.rh-movein-cta-section {
  padding: 3.5rem 0;
  background: linear-gradient(180deg, #fff 0%, var(--rh-bg) 100%);
}

.rh-movein-cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.rh-movein-cta-card {
  background: var(--rh-surface);
  border: 1px solid var(--rh-border);
  border-radius: var(--rh-radius-lg);
  padding: 1.35rem;
  box-shadow: var(--rh-shadow);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rh-movein-cta-card.pro {
  border-left: 4px solid var(--rh-gold);
  background: linear-gradient(135deg, #fff 0%, rgba(238, 174, 71, 0.06) 100%);
}

.rh-movein-cta-card h3 {
  font-family: var(--rh-font-display);
  font-size: 1.05rem;
  color: var(--rh-navy);
  margin: 0;
}

.rh-movein-cta-card p {
  font-size: 0.88rem;
  color: var(--rh-muted);
  margin: 0;
  flex: 1;
}

.rh-movein-token-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(238, 174, 71, 0.2);
  color: #92400e;
}

.rh-movein-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
}