/* ==========================================================================
   RUANG THERAPY — MODULE 3: OOHC & FOSTER/RESI CARE STATUTORY GATEWAY
   Statutory Compliance (Section 16A), Caseworker Intake & NDIS Agreement Engine
   ========================================================================== */

.oohc-gateway-section {
  padding: 100px 0;
  background: var(--c-cream);
  border-top: 1px solid var(--c-border);
}

.oohc-header-block {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 56px;
}
.oohc-header-block p {
  color: var(--c-muted);
  font-size: 1.08rem;
  margin-top: 14px;
  line-height: 1.8;
}

.oohc-main-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 52px;
  align-items: start;
}

/* LEFT COLUMN: STATUTORY TRUST & LIVED EXPERTISE */
.oohc-trust-panel {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 40px 34px;
  box-shadow: var(--shadow-medium);
}

.oohc-statutory-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--c-matcha-pale);
  color: var(--c-matcha);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.oohc-commitments-list {
  list-style: none;
  margin: 24px 0 32px;
}

.oohc-commitment-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.oohc-commitment-item:last-child { border-bottom: none; }

.commitment-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-matcha-pale);
  color: var(--c-matcha);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.commitment-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--c-charcoal);
  margin-bottom: 3px;
}

.commitment-desc {
  font-size: 0.84rem;
  color: var(--c-muted);
  line-height: 1.6;
}

/* RIGHT COLUMN: 3-STEP FAST-TRACK CASEWORKER INTAKE FORM */
.caseworker-wizard-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  padding: 40px 36px;
  box-shadow: var(--shadow-elevated);
}

.wizard-steps-track {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.wizard-step-dot {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: rgba(32, 29, 26, 0.12);
  transition: background 0.3s ease;
}
.wizard-step-dot.active {
  background: var(--c-primary-dark);
}

.wizard-step-container {
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wizard-step-header {
  margin-bottom: 22px;
}
.wizard-step-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-charcoal);
}
.wizard-step-header p {
  font-size: 0.84rem;
  color: var(--c-muted);
  margin-top: 4px;
}

.sec16a-notice-box {
  background: #F4EFE6;
  border-left: 3px solid var(--c-primary-dark);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--c-charcoal-light);
  line-height: 1.5;
  margin-top: 14px;
}

/* SCHEDULE OF SUPPORTS MODAL PREVIEW */
.supports-contract-modal {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.82);
  backdrop-filter: blur(16px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.supports-contract-modal.active {
  display: flex;
}

.contract-document-sheet {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  box-shadow: var(--shadow-dark-card);
  font-family: var(--font-sans);
  color: var(--c-charcoal);
  position: relative;
}

.contract-official-header {
  border-bottom: 2px solid var(--c-charcoal);
  padding-bottom: 20px;
  margin-bottom: 28px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.contract-meta-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.86rem;
}
.contract-meta-table td, .contract-meta-table th {
  padding: 10px 14px;
  border: 1px solid var(--c-border);
}
.contract-meta-table th {
  background: var(--c-sand);
  text-align: left;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .oohc-main-grid { grid-template-columns: 1fr; }
  .contract-document-sheet { padding: 32px 20px; }
}
