/* Mobile Clinic Hosting v1.9.1 - fonts are served locally. */

:root {
  --ra-blue: #0b6fa4;
  --ra-blue-dark: #075e87;
  --ra-teal: #53c5c8;
  --ra-bg: #f4f8fb;
  --ra-bg-soft: #eef5f9;
  --ra-card: rgba(255, 255, 255, 0.96);
  --ra-text: #203047;
  --ra-muted: #66758b;
  --ra-border: #d9e6ee;
  --ra-border-strong: #c3d7e3;
  --ra-danger: #b42318;
  --ra-ok: #087a5b;
  --ra-warning: #a16207;
  --ra-shadow: 0 14px 34px rgba(8, 44, 78, 0.08);
  --ra-shadow-soft: 0 8px 24px rgba(8, 44, 78, 0.05);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.ra-hosting-body {
  margin: 0;
  direction: rtl;
  color: var(--ra-text);
  background:
    radial-gradient(circle at top right, rgba(83, 197, 200, 0.15), transparent 22%),
    radial-gradient(circle at top left, rgba(11, 111, 164, 0.08), transparent 28%),
    linear-gradient(180deg, #f7fbfd 0%, #f4f8fb 42%, #edf4f8 100%);
  font-family: "Tajawal", "Cairo", "IBM Plex Sans Arabic", "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 16px;
}

.ra-hosting-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 18px 56px;
  line-height: 1.85;
  font-family: inherit;
}

.ra-brand {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(145deg, #ffffff, #f8fcfe);
  border: 1px solid var(--ra-border);
  border-radius: 28px;
  padding: 28px 30px;
  margin-bottom: 22px;
  box-shadow: var(--ra-shadow);
}
.ra-brand::before {
  content: "";
  position: absolute;
  inset-inline-start: -60px;
  inset-block-start: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(83, 197, 200, 0.14) 0%, rgba(83, 197, 200, 0.05) 45%, transparent 70%);
  pointer-events: none;
}
.ra-brand img {
  width: 124px;
  height: auto;
  object-fit: contain;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.ra-brand > div,
.ra-brand .ra-brand-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.ra-brand h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.25;
  font-weight: 800;
  color: var(--ra-blue-dark);
}
.ra-brand p {
  margin: 12px 0 0;
  color: #4a5e77;
  font-size: 18px;
  line-height: 1.9;
}
.ra-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.ra-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf7fb;
  border: 1px solid #cfe7f1;
  color: var(--ra-blue-dark);
  font-size: 14px;
  font-weight: 700;
}

.ra-card {
  background: var(--ra-card);
  border: 1px solid var(--ra-border);
  border-radius: 24px;
  padding: 26px;
  margin: 18px 0;
  box-shadow: var(--ra-shadow-soft);
}
.ra-card h2 {
  margin: 0 0 18px;
  color: var(--ra-blue-dark);
  font-size: 28px;
  line-height: 1.4;
  font-weight: 800;
}
.ra-card h3 {
  margin: 22px 0 10px;
  color: var(--ra-blue-dark);
  font-size: 20px;
  font-weight: 800;
}
.ra-eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .05em;
  color: #0d8c8e;
  margin-bottom: 7px;
}

.ra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.ra-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.ra-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.ra-field { min-width: 0; }
.ra-field-full { grid-column: 1 / -1; }
.ra-field label,
.ra-label {
  display: block;
  margin-bottom: 8px;
  color: #32475d;
  font-size: 15px;
  font-weight: 700;
}
.ra-required::after { content: " *"; color: var(--ra-danger); }

.ra-input,
.ra-select,
.ra-textarea {
  width: 100%;
  border: 1px solid var(--ra-border-strong);
  border-radius: 16px;
  background: #fbfdff;
  padding: 15px 16px;
  color: var(--ra-text);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease;
}
.ra-select { min-height: 54px; }
.ra-input { min-height: 54px; }
.ra-textarea {
  min-height: 126px;
  resize: vertical;
}
.ra-input::placeholder,
.ra-textarea::placeholder { color: #8ba0b4; }
.ra-input:focus,
.ra-select:focus,
.ra-textarea:focus {
  border-color: var(--ra-blue);
  box-shadow: 0 0 0 4px rgba(11, 111, 164, 0.11);
  background: #fff;
}
input[type="file"].ra-input {
  padding: 12px 14px;
}

.ra-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ra-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--ra-border);
  border-radius: 14px;
  background: #fbfdff;
  font-size: 15px;
  font-weight: 600;
}
.ra-check input {
  width: 19px;
  height: 19px;
  accent-color: var(--ra-blue-dark);
}

.ra-logistics {
  display: grid;
  gap: 12px;
}
.ra-logistic {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(250px, 0.9fr) minmax(220px, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px dashed var(--ra-border);
  border-radius: 18px;
  padding: 14px 16px;
  background: #fbfdff;
}
.ra-logistic strong {
  color: var(--ra-text);
  font-size: 15px;
}

.ra-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 20px;
}
.ra-btn {
  appearance: none;
  border: 0;
  border-radius: 14px;
  padding: 13px 20px;
  min-height: 48px;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .14s ease, box-shadow .16s ease, filter .16s ease;
}
.ra-btn:hover { transform: translateY(-1px); }
.ra-btn-primary {
  background: linear-gradient(135deg, #0b6fa4, #075e87);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 94, 135, 0.18);
}
.ra-btn-secondary {
  background: #eaf5fb;
  color: var(--ra-blue-dark);
  border: 1px solid #c9e1ed;
}
.ra-btn-danger {
  background: #fff1f2;
  color: #b42318;
  border: 1px solid #fecdd3;
}
.ra-btn-success {
  background: #eafaf5;
  color: var(--ra-ok);
  border: 1px solid #b7ead9;
}
.ra-btn-final {
  background: linear-gradient(135deg, #075e87, #0d8391);
  color: #fff;
  box-shadow: 0 12px 24px rgba(7, 94, 135, 0.2);
  padding-inline: 24px;
}

.ra-alert {
  border-radius: 16px;
  padding: 15px 18px;
  margin: 14px 0;
  line-height: 1.8;
  font-size: 15px;
}
.ra-alert ul { margin: 8px 0 0; }
.ra-alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.ra-alert-error { background: #fff1f2; border: 1px solid #fecdd3; color: #9f1239; }
.ra-alert-info { background: #eef8fb; border: 1px solid #b9e2ef; color: #075e87; }
.ra-alert-warning { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }

.ra-note {
  background: #f6fbfe;
  border: 1px solid var(--ra-border);
  border-radius: 16px;
  padding: 15px 16px;
  color: #536579;
  line-height: 1.9;
  font-size: 14px;
}
.ra-meta {
  color: var(--ra-muted);
  font-size: 14px;
  line-height: 1.8;
}
.ra-status {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #edf7fb;
  color: var(--ra-blue-dark);
  border: 1px solid #c9e1ed;
  font-weight: 800;
  font-size: 13px;
}
.ra-status-ok { background: #ecfdf5; color: var(--ra-ok); border-color: #a7f3d0; }

.ra-section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.ra-list {
  margin: 0;
  padding-right: 22px;
  line-height: 2;
  font-size: 15px;
}
.ra-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--ra-border);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 10px 0;
  background: #fcfeff;
}
.ra-approval {
  border: 1px solid var(--ra-border);
  border-radius: 18px;
  padding: 16px;
  margin: 12px 0;
  background: #fff;
}
.ra-approval[data-state="approved"] { background: #f0fdf4; border-color: #bbf7d0; }
.ra-approval[data-state="rejected"] { background: #fff1f2; border-color: #fecdd3; }

.ra-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.ra-kpi {
  border: 1px solid var(--ra-border);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
}
.ra-kpi b {
  display: block;
  font-size: 28px;
  color: var(--ra-blue-dark);
  margin-top: 6px;
}

.ra-table-wrap { overflow: auto; }
.ra-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 760px;
}
.ra-table th {
  background: #eef5f9;
  color: var(--ra-blue-dark);
  text-align: right;
  font-size: 14px;
  font-weight: 800;
  padding: 14px 12px;
  border-bottom: 1px solid var(--ra-border);
}
.ra-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #edf2f7;
  font-size: 15px;
  vertical-align: top;
  background: #fff;
}
.ra-table tbody tr:hover td { background: #fbfdff; }

.ra-request-head,
.ra-decision-hero { border-top: 5px solid var(--ra-teal); }
.ra-progress-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--ra-border);
}
.ra-progress-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #94a3b8;
  white-space: nowrap;
}
.ra-progress-item span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  border: 1px solid #dbe5ee;
}
.ra-progress-item strong { font-size: 15px; }
.ra-progress-item.is-current { color: var(--ra-blue-dark); }
.ra-progress-item.is-current span { background: #e9f5fb; color: var(--ra-blue-dark); border-color: #8ecce8; }
.ra-progress-item.is-done { color: var(--ra-ok); }
.ra-progress-item.is-done span { background: #eafaf5; color: var(--ra-ok); border-color: #9fdfcb; }
.ra-progress-line { height: 1px; flex: 1; background: #dbe5ee; min-width: 24px; }

.ra-summary-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--ra-border);
  border-radius: 18px;
  overflow: hidden;
}
.ra-summary-list > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #edf2f7;
}
.ra-summary-list > div:last-child { border-bottom: 0; }
.ra-summary-list span { color: var(--ra-muted); font-size: 13px; }
.ra-summary-list strong { font-size: 14px; text-align: left; }

.ra-approval-timeline { display: grid; gap: 12px; }
.ra-approval-step {
  position: relative;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  padding: 10px 0;
}
.ra-step-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  margin-top: 6px;
  background: #cbd5e1;
  border: 3px solid #f8fafc;
  box-shadow: 0 0 0 1px #cbd5e1;
}
.ra-approval-step[data-state="approved"] .ra-step-dot { background: var(--ra-ok); box-shadow: 0 0 0 1px var(--ra-ok); }
.ra-approval-step[data-state="rejected"] .ra-step-dot { background: var(--ra-danger); box-shadow: 0 0 0 1px var(--ra-danger); }

.ra-final-gate,
.ra-send-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ra-final-gate {
  border: 1px solid #9bd8d8;
  background: linear-gradient(135deg, #f0fdfa, #f7fbfd);
}
.ra-final-card { border: 1px solid #9bd8d8; }
.ra-decision-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.ra-decision-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--ra-border);
  border-radius: 18px;
  background: #fff;
  cursor: pointer;
  transition: .16s ease;
}
.ra-decision-option:hover { border-color: #9bc8dc; background: #fbfdff; }
.ra-decision-option input { position: absolute; opacity: 0; pointer-events: none; }
.ra-decision-option:has(input:checked) { border-color: var(--ra-blue); background: #eef8fb; box-shadow: 0 0 0 4px rgba(11, 111, 164, 0.1); }
.ra-decision-option[data-decision="declined"]:has(input:checked) { border-color: #e7a7ae; background: #fff5f5; box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08); }
.ra-decision-option[data-decision="deferred"]:has(input:checked) { border-color: #f5cb74; background: #fffbeb; box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.08); }
.ra-decision-icon {
  display: flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #edf6fa;
  color: var(--ra-blue-dark);
  font-size: 20px;
  font-weight: 900;
}
.ra-decision-option strong { font-size: 15px; color: var(--ra-text); }
.ra-decision-option small { font-size: 12px; line-height: 1.75; color: var(--ra-muted); }
.ra-confirm-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 20px 0;
  padding: 16px;
  border: 1px solid #b9e2ef;
  border-radius: 16px;
  background: #f4fbfd;
  font-size: 14px;
  font-weight: 700;
}
.ra-confirm-box input {
  width: 20px;
  height: 20px;
  accent-color: var(--ra-blue-dark);
  margin-top: 3px;
  flex: 0 0 auto;
}
.ra-send-panel { padding-top: 18px; border-top: 1px solid var(--ra-border); }
.ra-final-result { border: 1px solid #9fdfcb; background: #f7fffc; }
.ra-delivery-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding: 14px;
  border-radius: 15px;
  font-size: 14px;
}
.ra-delivery-status.is-sent { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.ra-delivery-status.is-failed { background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; }
.ra-public-decision {
  margin-top: 18px;
  padding: 20px;
  border-radius: 18px;
  border: 1px solid #b9e2ef;
  background: linear-gradient(145deg, #eef8fb, #f9fdff);
  text-align: center;
}
.ra-public-decision > strong {
  display: block;
  font-size: 26px;
  color: var(--ra-blue-dark);
  margin: 6px 0;
}
.ra-public-decision p { margin: 10px 0 0; color: #475569; white-space: pre-wrap; }

.ra-action-card {
  background: linear-gradient(145deg, #ffffff, #f8fcfe);
  border-style: dashed;
}
.ra-print-only { display: none; }

@media (max-width: 1080px) {
  .ra-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ra-decision-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .ra-grid, .ra-grid-3, .ra-two, .ra-kpis { grid-template-columns: 1fr; }
  .ra-logistic { grid-template-columns: 1fr; }
  .ra-brand { align-items: flex-start; padding: 24px 22px; }
  .ra-brand img { width: 96px; }
  .ra-brand h1 { font-size: 28px; }
  .ra-brand p { font-size: 16px; }
  .ra-card h2 { font-size: 24px; }
  .ra-progress-strip { align-items: flex-start; gap: 5px; }
  .ra-progress-item { flex-direction: column; text-align: center; white-space: normal; flex: 1; }
  .ra-progress-line { margin-top: 17px; }
  .ra-final-gate, .ra-send-panel { align-items: stretch; }
  .ra-btn-final { width: 100%; }
}
@media (max-width: 560px) {
  .ra-hosting-wrap { padding: 16px 10px 34px; }
  .ra-brand { border-radius: 22px; padding: 20px 18px; }
  .ra-brand h1 { font-size: 24px; }
  .ra-card { padding: 18px; border-radius: 18px; }
  .ra-card h2 { font-size: 21px; }
  .ra-decision-grid { grid-template-columns: 1fr; }
  .ra-actions .ra-btn { width: 100%; }
  .ra-file { flex-direction: column; align-items: stretch; }
}
@media print {
  body { background: #fff; }
  .ra-no-print { display: none !important; }
  .ra-print-only { display: block; }
  .ra-card, .ra-brand { box-shadow: none; border-color: #d0d7de; break-inside: avoid; }
  .ra-hosting-wrap { max-width: none; padding: 0; }
}

/* v1.2.0 - independent external account portal */
.ra-auth-shell {
  max-width: 620px;
  margin: 0 auto;
  padding: 42px 18px 60px;
}
.ra-auth-card {
  background: rgba(255,255,255,.97);
  border: 1px solid var(--ra-border);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--ra-shadow);
}
.ra-auth-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}
.ra-auth-brand img { width: 88px; height: auto; }
.ra-auth-brand h1 { margin: 0; color: var(--ra-blue-dark); font-size: 28px; line-height: 1.35; }
.ra-auth-brand p { margin: 7px 0 0; color: var(--ra-muted); font-size: 14px; }
.ra-auth-links { display:flex; flex-wrap:wrap; gap:10px; align-items:center; justify-content:space-between; margin-top:18px; }
.ra-auth-link { color: var(--ra-blue-dark); font-weight: 800; text-decoration: none; font-size: 14px; }
.ra-auth-help { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ra-border); color: var(--ra-muted); font-size: 13px; }
.ra-portal-head { display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap; }
.ra-portal-user { display:flex; align-items:center; gap:12px; }
.ra-avatar { width:48px; height:48px; border-radius:16px; display:flex; align-items:center; justify-content:center; background:linear-gradient(135deg,#eaf5fb,#e8fbf8); color:var(--ra-blue-dark); font-weight:900; font-size:20px; border:1px solid var(--ra-border); }
.ra-request-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.ra-request-card { border:1px solid var(--ra-border); border-radius:18px; padding:18px; background:#fff; transition:.16s ease; }
.ra-request-card:hover { border-color:#b7d2df; box-shadow:var(--ra-shadow-soft); transform:translateY(-1px); }
.ra-request-card h3 { margin:4px 0 8px; font-size:18px; }
.ra-request-card .ra-actions { margin-top:14px; }
.ra-empty-state { text-align:center; padding:36px 18px; border:1px dashed var(--ra-border-strong); border-radius:20px; background:#fbfdff; }
.ra-empty-state strong { display:block; color:var(--ra-blue-dark); font-size:20px; margin-bottom:8px; }
.ra-security-strip { display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.ra-security-chip { display:inline-flex; align-items:center; gap:7px; border:1px solid var(--ra-border); background:#f8fcfe; color:#52677b; border-radius:999px; padding:7px 11px; font-size:12px; font-weight:700; }
@media (max-width:760px){
  .ra-auth-shell{padding:20px 10px 36px}.ra-auth-card{padding:20px;border-radius:20px}.ra-auth-brand{align-items:flex-start}.ra-auth-brand img{width:74px}.ra-auth-brand h1{font-size:24px}.ra-request-grid{grid-template-columns:1fr}.ra-portal-head{align-items:stretch}.ra-portal-head .ra-actions{width:100%}
}

/* =========================================================
   v1.3.0 - Unified institutional healthcare design system
   Design-only update. No database or workflow changes.
   ========================================================= */
:root {
  --ra-v13-primary:#075e87;
  --ra-v13-primary-2:#0b86c4;
  --ra-v13-teal:#48bfc1;
  --ra-v13-teal-soft:#dff5f4;
  --ra-v13-bg:#f4f8fb;
  --ra-v13-surface:#ffffff;
  --ra-v13-text:#203047;
  --ra-v13-muted:#66758b;
  --ra-v13-line:#d9e6ee;
  --ra-v13-soft:#eef5f9;
  --ra-v13-shadow:0 18px 48px rgba(19,55,84,.10);
  --ra-v13-shadow-soft:0 9px 28px rgba(19,55,84,.06);
  --ra-v13-radius:24px;
}

body.ra-hosting-body {
  min-height:100%;
  background:
    radial-gradient(circle at 92% 6%, rgba(72,191,193,.14) 0, rgba(72,191,193,0) 24%),
    radial-gradient(circle at 7% 18%, rgba(11,134,196,.08) 0, rgba(11,134,196,0) 30%),
    linear-gradient(180deg,#f9fcfe 0%,#f4f8fb 46%,#eef5f9 100%);
  color:var(--ra-v13-text);
  font-family:"IBM Plex Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif;
  font-size:16px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.ra-hosting-body::before,
body.ra-hosting-body::after {
  content:"";
  position:fixed;
  z-index:-1;
  pointer-events:none;
  border-radius:999px;
  filter:blur(1px);
}
body.ra-hosting-body::before {
  width:340px;height:340px;left:-170px;top:28%;
  background:rgba(7,94,135,.035);
  border:1px solid rgba(7,94,135,.04);
}
body.ra-hosting-body::after {
  width:280px;height:280px;right:-140px;bottom:8%;
  background:rgba(72,191,193,.045);
  border:1px solid rgba(72,191,193,.05);
}

.ra-hosting-wrap {max-width:1200px;padding:30px 20px 60px;line-height:1.85}
.ra-card {border-radius:var(--ra-v13-radius);border-color:var(--ra-v13-line);box-shadow:var(--ra-v13-shadow-soft);padding:28px}
.ra-card h2 {font-size:24px;letter-spacing:-.25px;margin-bottom:18px}
.ra-card h3 {font-size:19px}
.ra-meta {font-size:14px;line-height:1.75}
.ra-field label,.ra-label {font-size:15px;margin-bottom:8px}
.ra-input,.ra-select,.ra-textarea {font-size:16px;border-radius:14px;min-height:54px;background:#fcfeff;border-color:#cfdfe8}
.ra-textarea {min-height:118px}
.ra-input:focus,.ra-select:focus,.ra-textarea:focus {border-color:var(--ra-v13-primary-2);box-shadow:0 0 0 4px rgba(11,134,196,.10)}
.ra-btn {border-radius:14px;min-height:48px;font-size:15.5px;padding:13px 20px}
.ra-btn-primary {background:linear-gradient(135deg,var(--ra-v13-primary-2),var(--ra-v13-primary));box-shadow:0 10px 24px rgba(7,94,135,.18)}
.ra-btn-final {background:linear-gradient(135deg,var(--ra-v13-primary),#087f91);box-shadow:0 12px 26px rgba(7,94,135,.20)}
.ra-brand {border-radius:28px;padding:26px 30px;background:linear-gradient(145deg,#fff,#f7fbfd);box-shadow:var(--ra-v13-shadow-soft)}
.ra-brand h1 {font-size:32px}
.ra-brand p {font-size:16px;max-width:850px}
.ra-brand img {width:112px}
.ra-eyebrow {font-size:12px;color:#10898b}
.ra-status,.ra-badge {font-size:13px}
.ra-table th {font-size:14px;padding:15px 13px;background:#eef5f9}
.ra-table td {font-size:15px;padding:15px 13px}
.ra-admin-surface {max-width:1260px;padding-top:22px}
.ra-admin-surface .ra-card {box-shadow:0 6px 20px rgba(19,55,84,.045)}
.ra-admin-surface .ra-request-head {background:linear-gradient(145deg,#fff,#f9fcfe)}

/* External auth: split institutional layout */
.ra-auth-page {
  width:min(1180px,calc(100% - 32px));
  margin:38px auto 56px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);
  min-height:640px;
  border:1px solid var(--ra-v13-line);
  border-radius:32px;
  overflow:hidden;
  background:#fff;
  box-shadow:var(--ra-v13-shadow);
}
.ra-auth-form-panel {
  padding:42px 46px;
  display:flex;
  align-items:center;
  background:rgba(255,255,255,.98);
}
.ra-auth-form-inner {width:100%;max-width:560px;margin-inline:auto}
.ra-auth-brand-v13 {display:flex;align-items:center;gap:16px;margin-bottom:24px}
.ra-auth-brand-v13 img {width:88px;height:auto;flex:0 0 auto}
.ra-auth-brand-v13 h1 {margin:2px 0 5px;color:var(--ra-v13-primary);font-size:32px;line-height:1.25;font-weight:800;letter-spacing:-.3px}
.ra-auth-brand-v13 p {margin:0;color:var(--ra-v13-muted);font-size:15px;line-height:1.8}
.ra-auth-form-panel .ra-btn-primary {width:100%;min-height:52px;font-size:16px}
.ra-auth-form-panel .ra-auth-links {padding-top:5px}
.ra-auth-form-panel .ra-auth-help {font-size:13.5px;line-height:1.8}
.ra-auth-visual {
  position:relative;
  overflow:hidden;
  padding:48px 42px;
  display:flex;
  align-items:center;
  color:#fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(255,255,255,.18), transparent 22%),
    radial-gradient(circle at 18% 86%, rgba(72,191,193,.30), transparent 32%),
    linear-gradient(145deg,#075e87 0%,#08789a 48%,#169a9d 100%);
}
.ra-auth-visual::before,
.ra-auth-visual::after {content:"";position:absolute;border-radius:999px;border:1px solid rgba(255,255,255,.13);pointer-events:none}
.ra-auth-visual::before {width:360px;height:360px;top:-175px;left:-135px}
.ra-auth-visual::after {width:290px;height:290px;bottom:-145px;right:-110px}
.ra-auth-visual-content {position:relative;z-index:1;max-width:430px}
.ra-auth-visual-mark {width:88px;height:88px;border-radius:26px;display:flex;align-items:center;justify-content:center;margin-bottom:26px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(4px)}
.ra-auth-visual-mark img {width:68px;height:auto;filter:drop-shadow(0 7px 16px rgba(0,0,0,.12))}
.ra-auth-visual h2 {margin:0 0 12px;font-size:31px;line-height:1.45;color:#fff;font-weight:800}
.ra-auth-visual p {margin:0 0 24px;font-size:16px;line-height:1.95;color:rgba(255,255,255,.84)}
.ra-auth-benefits {display:grid;gap:13px}
.ra-auth-benefit {display:flex;gap:11px;align-items:flex-start;padding:12px 14px;border:1px solid rgba(255,255,255,.12);border-radius:15px;background:rgba(255,255,255,.07);font-size:14.5px;line-height:1.7}
.ra-auth-benefit i {font-style:normal;width:27px;height:27px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.13);flex:0 0 auto;font-weight:900}
.ra-auth-kicker {font-size:13px;font-weight:800;color:#a9f3ee;margin-bottom:8px}
.ra-auth-inline-note {margin:14px 0;padding:12px 14px;border-radius:13px;background:#f5fafc;border:1px solid var(--ra-v13-line);font-size:13.5px;color:var(--ra-v13-muted)}
.ra-password-hints {display:flex;gap:8px;flex-wrap:wrap;margin-top:9px}
.ra-password-hint {font-size:12.5px;color:#64748b;border:1px solid #dbe7ee;background:#f8fbfd;border-radius:999px;padding:6px 10px}

/* External portal dashboard */
.ra-portal-hero {position:relative;overflow:hidden;border-top:4px solid var(--ra-v13-teal);background:linear-gradient(145deg,#fff,#f5fbfd)}
.ra-portal-hero::after {content:"";position:absolute;width:280px;height:280px;border-radius:50%;left:-110px;top:-120px;background:rgba(72,191,193,.06);pointer-events:none}
.ra-portal-user h1 {font-size:30px!important;margin:0;color:var(--ra-v13-primary)}
.ra-avatar {width:54px;height:54px;border-radius:17px;font-size:22px;background:linear-gradient(145deg,#e9f5fb,#e6faf8)}
.ra-portal-stats {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}
.ra-portal-stat {border:1px solid var(--ra-v13-line);background:#fff;border-radius:18px;padding:17px 18px;min-width:0}
.ra-portal-stat span {display:block;color:var(--ra-v13-muted);font-size:13px;margin-bottom:5px}
.ra-portal-stat strong {display:block;color:var(--ra-v13-primary);font-size:25px;line-height:1.2}
.ra-portal-stat small {display:block;margin-top:6px;color:#7d8fa2;font-size:12px}
.ra-request-grid {gap:18px}
.ra-request-card {border-radius:20px;padding:20px;background:linear-gradient(180deg,#fff,#fcfeff)}
.ra-request-card h3 {font-size:19px;color:var(--ra-v13-primary)}
.ra-empty-state {padding:42px 20px;border-radius:22px}

/* Public request form stepper */
.ra-form-intro {margin-bottom:16px}
.ra-form-stepper {
  position:sticky;
  top:10px;
  z-index:25;
  margin:0 0 18px;
  padding:12px;
  border:1px solid var(--ra-v13-line);
  border-radius:20px;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(10px);
  box-shadow:0 8px 24px rgba(19,55,84,.07);
}
.ra-form-stepper-head {display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}
.ra-form-stepper-head strong {font-size:14px;color:var(--ra-v13-primary)}
.ra-form-stepper-head span {font-size:12.5px;color:var(--ra-v13-muted)}
.ra-form-steps {display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:7px}
.ra-form-step {appearance:none;border:1px solid #dbe7ee;background:#f8fbfd;color:#6b7f92;border-radius:12px;padding:9px 6px;min-height:52px;font-family:inherit;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;transition:.16s ease;text-align:center}
.ra-form-step b {width:23px;height:23px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:#eaf1f5;color:#5f7386;font-size:11px}
.ra-form-step span {font-size:11.5px;font-weight:700;line-height:1.35}
.ra-form-step.is-current {border-color:#9acfe5;background:#edf8fc;color:var(--ra-v13-primary);box-shadow:0 0 0 3px rgba(11,134,196,.06)}
.ra-form-step.is-current b {background:var(--ra-v13-primary);color:#fff}
.ra-form-step.is-complete {border-color:#bfe6dd;background:#f1fbf8;color:#087a5b}
.ra-form-step.is-complete b {background:#087a5b;color:#fff}
.ra-step-panel {animation:raPanelIn .18s ease}
.ra-js .ra-step-panel[hidden] {display:none!important}
@keyframes raPanelIn {from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:none}}
.ra-form-nav {position:sticky;bottom:10px;z-index:20;margin-top:14px;padding:14px 16px;border:1px solid var(--ra-v13-line);border-radius:18px;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);box-shadow:0 12px 34px rgba(19,55,84,.10);display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.ra-form-nav-main,.ra-form-nav-secondary {display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.ra-step-action-card {display:none}
.ra-js .ra-step-action-card {display:none!important}
.ra-step-caption {font-size:13px;color:var(--ra-v13-muted)}

/* Internal hosting module pages */
.ra-admin-surface .ra-card h2 {font-size:22px}
.ra-admin-surface .ra-section-title {align-items:flex-start}
.ra-admin-surface .ra-table-wrap {border:1px solid var(--ra-v13-line);border-radius:16px;overflow:auto}
.ra-admin-surface .ra-table th:first-child {border-top-right-radius:15px}
.ra-admin-surface .ra-table th:last-child {border-top-left-radius:15px}
.ra-admin-surface .ra-progress-strip {border-top-color:#e7eef3}
.ra-admin-surface .ra-final-gate {box-shadow:none}
.ra-decision-option {min-height:150px}
.ra-decision-option strong {font-size:15px}
.ra-decision-option small {font-size:12.5px}

/* Status page */
.ra-status-hero {border-top:4px solid var(--ra-v13-teal)}
.ra-status-summary {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}
.ra-status-item {border:1px solid var(--ra-v13-line);border-radius:16px;padding:14px;background:#fbfdff}
.ra-status-item span {display:block;color:var(--ra-v13-muted);font-size:12.5px;margin-bottom:4px}
.ra-status-item strong {font-size:15px;color:var(--ra-v13-text)}

@media(max-width:1100px){
  .ra-auth-page {grid-template-columns:1fr;max-width:760px;min-height:0}
  .ra-auth-visual {min-height:300px;order:2}
  .ra-auth-form-panel {order:1}
  .ra-form-steps {grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:900px){
  .ra-portal-stats,.ra-status-summary {grid-template-columns:repeat(2,minmax(0,1fr))}
  .ra-form-stepper {position:relative;top:auto}
  .ra-form-steps {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:680px){
  .ra-auth-page {width:calc(100% - 20px);margin:12px auto 30px;border-radius:22px}
  .ra-auth-form-panel {padding:24px 18px}
  .ra-auth-visual {display:none}
  .ra-auth-brand-v13 {align-items:flex-start}
  .ra-auth-brand-v13 img {width:72px}
  .ra-auth-brand-v13 h1 {font-size:25px}
  .ra-auth-form-inner .ra-grid {grid-template-columns:1fr}
  .ra-portal-stats,.ra-status-summary {grid-template-columns:1fr}
  .ra-form-steps {grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .ra-form-step {min-height:48px;padding:7px 4px}
  .ra-form-step span {font-size:10.5px}
  .ra-form-nav {position:relative;bottom:auto}
  .ra-form-nav,.ra-form-nav-main,.ra-form-nav-secondary {align-items:stretch}
  .ra-form-nav-main,.ra-form-nav-secondary {width:100%}
  .ra-form-nav .ra-btn {flex:1;min-width:130px}
  .ra-hosting-wrap {padding:14px 10px 36px}
  .ra-card {padding:19px;border-radius:19px}
  .ra-card h2 {font-size:21px}
  .ra-brand {padding:20px 18px;border-radius:21px}
  .ra-brand h1 {font-size:25px}
  .ra-brand img {width:82px}
}

/* =========================================================
   v1.4.0 - Official medical portal visual refinement
   Inspired by the approved medical login reference.
   Design-only. No routes, models, database, or workflow changes.
   ========================================================= */
:root{
  --ra-v14-blue:#0a86c3;
  --ra-v14-blue-dark:#075e87;
  --ra-v14-teal:#45c2bd;
  --ra-v14-text:#27415b;
  --ra-v14-muted:#71849a;
  --ra-v14-line:#d7e4ed;
  --ra-v14-card:rgba(255,255,255,.965);
  --ra-v14-shadow:0 22px 60px rgba(21,68,101,.15);
  --ra-v14-shadow-soft:0 10px 30px rgba(21,68,101,.08);
}

body.ra-hosting-body.ra-portal-photo-bg,
body.ra-hosting-body.ra-auth-photo-bg{
  min-height:100vh;
  background-color:#edf7fb;
  background-image:
    linear-gradient(rgba(244,250,253,.40),rgba(239,248,252,.52)),
    url('/images/hosting-portal-medical-bg-v142.webp');
  background-size:cover;
  background-position:center center;
  background-attachment:fixed;
  color:var(--ra-v14-text);
  font-family:"Segoe UI","IBM Plex Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif;
}
body.ra-hosting-body.ra-portal-photo-bg::before,
body.ra-hosting-body.ra-portal-photo-bg::after,
body.ra-hosting-body.ra-auth-photo-bg::before,
body.ra-hosting-body.ra-auth-photo-bg::after{display:none!important}

/* Auth pages: single refined official card, no marketing side panel */
.ra-auth-official{
  width:min(560px,calc(100% - 28px));
  margin:54px auto;
  min-height:calc(100vh - 108px);
  display:flex;
  align-items:center;
  justify-content:center;
}
.ra-auth-official.ra-auth-wide{width:min(760px,calc(100% - 28px))}
.ra-auth-official-card{
  width:100%;
  padding:34px 40px 30px;
  border:1px solid rgba(207,225,236,.95);
  border-radius:34px;
  background:var(--ra-v14-card);
  box-shadow:var(--ra-v14-shadow);
  backdrop-filter:blur(8px);
}
.ra-auth-official-brand{text-align:center;margin-bottom:26px}
.ra-auth-official-brand img{width:112px;height:auto;display:block;margin:0 auto 16px}
.ra-auth-official-brand .ra-eyebrow{font-size:13px;margin-bottom:5px;color:#159693;letter-spacing:0}
.ra-auth-official-brand h1{margin:0;color:var(--ra-v14-blue-dark);font-size:34px;line-height:1.35;font-weight:800;letter-spacing:-.35px}
.ra-auth-official-brand p{margin:8px auto 0;max-width:560px;color:var(--ra-v14-muted);font-size:15.5px;line-height:1.8}
.ra-auth-official-titleline{display:flex;align-items:center;justify-content:center;gap:12px;margin:7px 0 24px;color:#18a5a3;font-size:18px;font-weight:800}
.ra-auth-official-titleline::before,.ra-auth-official-titleline::after{content:"";height:1px;width:48px;background:linear-gradient(90deg,transparent,#46bdb9)}
.ra-auth-official-titleline::after{background:linear-gradient(90deg,#46bdb9,transparent)}
.ra-auth-official-card .ra-field label{font-size:15px;color:#31475d;font-weight:700}
.ra-auth-official-card .ra-input,.ra-auth-official-card .ra-select{
  min-height:58px;
  border-radius:15px;
  background:rgba(252,254,255,.98);
  border:1.5px solid #cfdde7;
  font-size:16px;
  box-shadow:inset 0 1px 1px rgba(22,67,96,.02);
}
.ra-auth-official-card .ra-input:focus,.ra-auth-official-card .ra-select:focus{border-color:#67b9dc;box-shadow:0 0 0 4px rgba(11,134,196,.09)}
.ra-auth-official-card .ra-actions{margin-top:22px}
.ra-auth-official-card .ra-btn-primary{width:100%;min-height:56px;border-radius:15px;background:linear-gradient(90deg,#1295cf,#0878a8);font-size:17px;box-shadow:0 10px 25px rgba(7,106,151,.22)}
.ra-auth-official-card .ra-auth-links{margin-top:19px;padding-top:3px}
.ra-auth-official-card .ra-auth-link{font-size:14.5px;color:#0878a8}
.ra-auth-official-card .ra-auth-help{margin-top:18px;padding-top:16px;text-align:center;font-size:13px;color:#8191a4;border-top:1px solid #e2ebf1}
.ra-auth-official-footer{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:22px;color:#64788d;font-size:13px;font-weight:700}
.ra-auth-official-footer::before,.ra-auth-official-footer::after{content:"";height:1px;flex:1;max-width:110px;background:#aabccd}
.ra-auth-remember{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;font-size:14px}
.ra-auth-remember label{display:inline-flex;align-items:center;gap:8px;color:#4e6378;font-weight:600}
.ra-auth-remember input{width:18px;height:18px;accent-color:var(--ra-v14-blue-dark)}
.ra-auth-official-card .ra-password-hints{justify-content:center}
.ra-auth-official-card .ra-password-hint{background:#f6fafc;border-color:#dbe6ed}

/* Portal interior: same medical background, quieter frosted surfaces */
.ra-portal-photo-bg .ra-hosting-wrap{max-width:1220px;padding-top:28px}
.ra-portal-photo-bg .ra-card,
.ra-portal-photo-bg .ra-brand,
.ra-portal-photo-bg .ra-form-stepper,
.ra-portal-photo-bg .ra-form-nav{
  background:rgba(255,255,255,.95);
  border-color:rgba(207,225,236,.96);
  box-shadow:var(--ra-v14-shadow-soft);
  backdrop-filter:blur(10px);
}
.ra-portal-photo-bg .ra-brand{
  border-radius:26px;
  padding:22px 26px;
  margin-bottom:16px;
}
.ra-portal-photo-bg .ra-brand::before{display:none}
.ra-portal-photo-bg .ra-brand img{width:92px}
.ra-portal-photo-bg .ra-brand h1{font-size:28px;color:var(--ra-v14-blue-dark)}
.ra-portal-photo-bg .ra-brand p{font-size:15px;margin-top:7px;line-height:1.75;color:#63778c}
.ra-portal-photo-bg .ra-card{border-radius:22px;padding:24px}
.ra-portal-photo-bg .ra-card h2{font-size:23px;color:var(--ra-v14-blue-dark)}
.ra-portal-photo-bg .ra-input,.ra-portal-photo-bg .ra-select,.ra-portal-photo-bg .ra-textarea{background:rgba(252,254,255,.98);border-color:#cedee8}
.ra-portal-photo-bg .ra-request-card,.ra-portal-photo-bg .ra-portal-stat,.ra-portal-photo-bg .ra-status-item{background:rgba(255,255,255,.97)}
.ra-portal-photo-bg .ra-portal-hero{border-top:0;background:rgba(255,255,255,.95)}
.ra-portal-photo-bg .ra-portal-hero::after{display:none}
.ra-portal-photo-bg .ra-portal-user h1{font-size:27px!important}
.ra-portal-photo-bg .ra-avatar{background:linear-gradient(145deg,#e8f6fb,#e5faf7);border-color:#c9e4ea}
.ra-portal-photo-bg .ra-form-stepper{position:sticky;top:10px;border-radius:18px;padding:11px}
.ra-portal-photo-bg .ra-form-step{background:#f6fafc;border-color:#dce7ed;min-height:48px}
.ra-portal-photo-bg .ra-form-step.is-current{background:#eaf6fb;border-color:#8cc9e1}
.ra-portal-photo-bg .ra-form-nav{border-radius:18px}
.ra-portal-photo-bg .ra-note{background:rgba(248,252,254,.95)}
.ra-portal-photo-bg .ra-check{background:rgba(252,254,255,.96)}
.ra-portal-photo-bg .ra-logistic{background:rgba(252,254,255,.96)}

/* Compact official portal header used on long pages */
.ra-portal-official-head{display:flex;align-items:center;justify-content:space-between;gap:18px}
.ra-portal-official-head-copy{min-width:0}
.ra-portal-official-head-copy .ra-eyebrow{margin-bottom:3px}
.ra-portal-official-head-actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center}

@media(max-width:720px){
  body.ra-hosting-body.ra-portal-photo-bg,body.ra-hosting-body.ra-auth-photo-bg{background-position:38% center;background-attachment:scroll}
  .ra-auth-official{margin:16px auto;min-height:calc(100vh - 32px);width:calc(100% - 20px)}
  .ra-auth-official.ra-auth-wide{width:calc(100% - 20px)}
  .ra-auth-official-card{padding:24px 18px 22px;border-radius:24px}
  .ra-auth-official-brand img{width:90px;margin-bottom:12px}
  .ra-auth-official-brand h1{font-size:27px}
  .ra-auth-official-brand p{font-size:14px}
  .ra-auth-official-titleline{font-size:16px;margin-bottom:19px}
  .ra-auth-official-card .ra-grid{grid-template-columns:1fr}
  .ra-portal-photo-bg .ra-hosting-wrap{padding:12px 10px 34px}
  .ra-portal-photo-bg .ra-brand{padding:18px;border-radius:20px;align-items:flex-start}
  .ra-portal-photo-bg .ra-brand img{width:76px}
  .ra-portal-photo-bg .ra-brand h1{font-size:23px}
  .ra-portal-official-head{align-items:flex-start;flex-direction:column}
}

/* =========================================================
   v1.4.2 - cache-safe medical presentation hotfix
   Versioned assets prevent stale CSS/logo from breaking layout.
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden}
body.ra-hosting-body img{max-width:100%;height:auto}
body.ra-hosting-body.ra-auth-photo-bg{min-height:100vh!important;background-image:linear-gradient(rgba(244,250,253,.34),rgba(239,248,252,.48)),url('/images/hosting-portal-medical-bg-v142.webp')!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.ra-auth-official{width:min(560px,calc(100% - 32px))!important;margin:42px auto!important;min-height:calc(100vh - 84px)!important;display:flex!important;align-items:center!important;justify-content:center!important}
.ra-auth-official.ra-auth-wide{width:min(760px,calc(100% - 32px))!important}
.ra-auth-official-card{width:100%!important;max-width:100%!important;background:rgba(255,255,255,.97)!important;border:1px solid rgba(207,225,236,.98)!important;border-radius:32px!important;box-shadow:0 24px 64px rgba(21,68,101,.16)!important;padding:34px 40px 30px!important;backdrop-filter:blur(9px)}
.ra-auth-official-brand img{display:block!important;width:112px!important;max-width:112px!important;height:auto!important;margin:0 auto 15px!important;object-fit:contain!important}
.ra-auth-official-brand h1{font-size:32px!important;font-weight:800!important;color:#075e87!important;line-height:1.35!important;margin:0!important}
.ra-auth-official-titleline{font-size:18px!important;color:#19a39f!important;font-weight:800!important}
.ra-auth-official-card .ra-input,.ra-auth-official-card .ra-select{width:100%!important;min-height:58px!important;border-radius:15px!important}
.ra-auth-official-card .ra-btn-primary{width:100%!important}
.ra-auth-links{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;flex-wrap:wrap!important}

/* Same premium medical treatment across the external portal */
body.ra-hosting-body.ra-portal-photo-bg{background-image:linear-gradient(rgba(244,250,253,.44),rgba(239,248,252,.56)),url('/images/hosting-portal-medical-bg-v142.webp')!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important;background-attachment:fixed!important}
.ra-portal-photo-bg .ra-hosting-wrap{max-width:1220px!important}
.ra-portal-photo-bg .ra-brand,.ra-portal-photo-bg .ra-card,.ra-portal-photo-bg .ra-form-stepper,.ra-portal-photo-bg .ra-form-nav{background:rgba(255,255,255,.965)!important;backdrop-filter:blur(10px)!important;border-color:rgba(207,225,236,.98)!important;box-shadow:0 14px 38px rgba(21,68,101,.09)!important}
.ra-portal-photo-bg .ra-brand img{width:92px!important;max-width:92px!important}

/* Internal hosting management: subtle matching medical backdrop without touching global clinic UI */
.ra-admin-surface{position:relative;isolation:isolate;padding:28px 18px 44px!important;border-radius:28px;background:linear-gradient(rgba(246,250,252,.90),rgba(244,249,252,.94)),url('/images/hosting-portal-medical-bg-v142.webp') center/cover no-repeat!important}
.ra-admin-surface .ra-card{background:rgba(255,255,255,.97)!important;border-color:#d7e4ed!important;box-shadow:0 10px 28px rgba(21,68,101,.07)!important}
.ra-admin-surface .ra-table td{background:rgba(255,255,255,.98)!important}

@media(max-width:720px){
  .ra-auth-official{width:calc(100% - 20px)!important;margin:14px auto!important;min-height:calc(100vh - 28px)!important}
  .ra-auth-official.ra-auth-wide{width:calc(100% - 20px)!important}
  .ra-auth-official-card{padding:24px 18px 22px!important;border-radius:24px!important}
  .ra-auth-official-brand img{width:86px!important;max-width:86px!important}
  .ra-auth-official-brand h1{font-size:26px!important}
  .ra-admin-surface{padding:14px 10px 30px!important;border-radius:18px}
}

/* v1.6.0 - guided validation + Saudi location dropdowns */
.ra-input.is-invalid,
.ra-select.is-invalid,
.ra-textarea.is-invalid {
    border-color: #dc2626 !important;
    background: #fff7f7 !important;
    box-shadow: 0 0 0 3px rgba(220,38,38,.08) !important;
}
.ra-checks.is-invalid-group {
    border: 1px solid #dc2626;
    background: #fff7f7;
    border-radius: 14px;
    padding: 10px;
}
.ra-field-error {
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.6;
}
.ra-field-error::before {
    content: "!";
    display: inline-flex;
    width: 18px;
    height: 18px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    border-radius: 50%;
    background: #fee2e2;
    color: #b42318;
    font-size: 11px;
}
.ra-form-step.has-errors {
    border-color: #ef4444 !important;
    background: #fff7f7 !important;
    color: #b42318 !important;
}
.ra-form-step.has-errors b {
    background: #dc2626 !important;
    color: #fff !important;
}
.ra-optional-label {
    display: inline-block;
    margin-right: 6px;
    color: #8292a7;
    font-size: 11px;
    font-weight: 700;
}
.ra-select:disabled {
    background: #f3f6f8;
    color: #8796a8;
    cursor: not-allowed;
}


/* =========================================================
   v1.7.0 - Professional hosting request form rebuild
   Official Rheumatism Association identity / UX refinement
   ========================================================= */
:root{
  --ra-v17-navy:#075e87;
  --ra-v17-blue:#0b86c4;
  --ra-v17-teal:#43bbb9;
  --ra-v17-ink:#23384d;
  --ra-v17-muted:#6e8194;
  --ra-v17-line:#d5e4ec;
  --ra-v17-soft:#f4f9fc;
  --ra-v17-danger:#b42318;
  --ra-v17-shadow:0 16px 42px rgba(18,65,96,.10);
}

body.ra-hosting-body.ra-portal-photo-bg{
  font-family:"IBM Plex Sans Arabic","Tajawal","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
  color:var(--ra-v17-ink)!important;
  background-image:
    linear-gradient(rgba(239,248,252,.68),rgba(244,249,252,.78)),
    url('/images/hosting-portal-medical-bg-v142.webp')!important;
  background-position:center center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}

.ra-portal-photo-bg .ra-hosting-wrap{
  max-width:1240px!important;
  padding:26px 18px 54px!important;
  line-height:1.75!important;
}

.ra-request-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:24px!important;
  padding:22px 26px!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.975)!important;
  border:1px solid rgba(205,224,235,.98)!important;
  box-shadow:var(--ra-v17-shadow)!important;
}
.ra-request-brand{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
}
.ra-request-hero .ra-request-brand>img{
  width:90px!important;
  max-width:90px!important;
  margin:0!important;
  flex:0 0 auto;
}
.ra-request-brand-copy{min-width:0}
.ra-request-brand-copy .ra-eyebrow{
  margin:0 0 3px!important;
  color:#159a98!important;
  font-size:13px!important;
  font-weight:700!important;
  letter-spacing:0!important;
}
.ra-request-brand-copy h1{
  margin:0!important;
  color:var(--ra-v17-navy)!important;
  font-size:31px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
.ra-request-brand-copy p{
  margin:6px 0 0!important;
  color:var(--ra-v17-muted)!important;
  font-size:15px!important;
  line-height:1.7!important;
}
.ra-request-head-side{
  display:flex;
  align-items:flex-end;
  flex-direction:column;
  gap:11px;
}
.ra-request-meta-grid{
  display:flex;
  align-items:stretch;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.ra-request-meta-grid>div{
  min-width:110px;
  padding:8px 11px;
  border:1px solid #e0eaf0;
  border-radius:12px;
  background:#f8fbfd;
}
.ra-request-meta-grid span{
  display:block;
  color:#8392a3;
  font-size:11px;
  margin-bottom:2px;
}
.ra-request-meta-grid strong{
  display:block;
  color:#324b62;
  font-size:13px;
  font-weight:700;
}
.ra-btn-compact{
  min-height:38px!important;
  padding:8px 13px!important;
  font-size:13px!important;
  border-radius:11px!important;
}

.ra-form-instructions{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:18px;
  align-items:center;
  margin:14px 0 16px;
  padding:13px 17px;
  border:1px solid rgba(202,223,234,.96);
  border-radius:17px;
  background:rgba(255,255,255,.93);
  box-shadow:0 8px 24px rgba(18,65,96,.055);
  backdrop-filter:blur(8px);
}
.ra-form-instructions-title{
  color:var(--ra-v17-navy);
  font-size:14px;
  font-weight:700;
  white-space:nowrap;
}
.ra-form-instructions-list{
  display:flex;
  gap:8px 18px;
  flex-wrap:wrap;
  color:#5c7084;
  font-size:13px;
  line-height:1.7;
}
.ra-form-instructions-list span{position:relative;padding-right:14px}
.ra-form-instructions-list span::before{
  content:"";
  position:absolute;
  right:0;
  top:.72em;
  width:5px;
  height:5px;
  border-radius:50%;
  background:var(--ra-v17-teal);
}

.ra-portal-photo-bg .ra-form-stepper{
  position:sticky!important;
  top:8px!important;
  z-index:25!important;
  padding:13px 15px!important;
  margin:0 0 16px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.975)!important;
  border:1px solid rgba(205,224,235,.98)!important;
  box-shadow:0 10px 28px rgba(18,65,96,.08)!important;
}
.ra-form-stepper-head{
  margin-bottom:11px!important;
  padding:0 3px!important;
}
.ra-form-stepper-head strong{
  color:var(--ra-v17-navy)!important;
  font-size:14px!important;
  font-weight:700!important;
}
.ra-form-stepper-head span{font-size:12px!important;color:#8191a1!important}
.ra-form-steps{gap:7px!important}
.ra-portal-photo-bg .ra-form-step{
  min-height:55px!important;
  padding:8px 5px!important;
  background:#f8fbfd!important;
  border:1px solid #dce8ef!important;
  border-radius:12px!important;
  color:#6a7e91!important;
}
.ra-form-step b{
  width:24px!important;
  height:24px!important;
  border-radius:8px!important;
  background:#eaf2f6!important;
  font-size:11px!important;
}
.ra-form-step span{font-size:11px!important;font-weight:600!important}
.ra-portal-photo-bg .ra-form-step.is-current{
  background:#ebf7fb!important;
  border-color:#7cc4df!important;
  color:var(--ra-v17-navy)!important;
  box-shadow:0 0 0 3px rgba(11,134,196,.055)!important;
}
.ra-form-step.is-current b{background:var(--ra-v17-navy)!important;color:#fff!important}
.ra-form-step.is-complete{background:#f1fbf8!important;border-color:#bbe2d9!important;color:#087a5b!important}
.ra-form-step.is-complete b{background:#087a5b!important;color:#fff!important}

.ra-portal-photo-bg .ra-step-panel{
  margin:0 0 16px!important;
  padding:28px 30px 30px!important;
  border-radius:22px!important;
  border:1px solid rgba(204,224,235,.98)!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 14px 36px rgba(18,65,96,.075)!important;
}
.ra-step-panel>h2{
  position:relative;
  margin:0 0 24px!important;
  padding-bottom:13px;
  color:var(--ra-v17-navy)!important;
  font-size:24px!important;
  line-height:1.45!important;
  font-weight:700!important;
  border-bottom:1px solid #e5edf2;
}
.ra-step-panel>h2::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  width:68px;
  height:3px;
  border-radius:3px;
  background:linear-gradient(90deg,var(--ra-v17-teal),var(--ra-v17-blue));
}

.ra-portal-photo-bg .ra-grid{gap:18px 20px!important}
.ra-portal-photo-bg .ra-field label,
.ra-portal-photo-bg .ra-label{
  margin-bottom:8px!important;
  color:#334b61!important;
  font-size:15px!important;
  font-weight:600!important;
}
.ra-portal-photo-bg .ra-input,
.ra-portal-photo-bg .ra-select,
.ra-portal-photo-bg .ra-textarea{
  border:1px solid #cfdee7!important;
  border-radius:13px!important;
  background:#fbfdff!important;
  color:#263d52!important;
  font-family:"IBM Plex Sans Arabic","Tajawal","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:400!important;
  box-shadow:none!important;
}
.ra-portal-photo-bg .ra-input,
.ra-portal-photo-bg .ra-select{min-height:54px!important;padding:13px 15px!important}
.ra-portal-photo-bg .ra-textarea{min-height:112px!important;padding:13px 15px!important}
.ra-portal-photo-bg .ra-input:focus,
.ra-portal-photo-bg .ra-select:focus,
.ra-portal-photo-bg .ra-textarea:focus{
  border-color:#58acd0!important;
  background:#fff!important;
  box-shadow:0 0 0 4px rgba(11,134,196,.08)!important;
}
.ra-field-hint{
  margin-top:7px;
  color:#8494a5;
  font-size:12px;
  line-height:1.6;
}
.ra-required::after{color:#c23932!important}

.ra-portal-photo-bg .ra-checks{gap:9px!important}
.ra-portal-photo-bg .ra-check{
  min-height:44px;
  padding:10px 13px!important;
  border:1px solid #d9e6ed!important;
  border-radius:12px!important;
  background:#f9fcfd!important;
  color:#40566a!important;
  font-size:14px!important;
  font-weight:500!important;
}
.ra-check:has(input:checked){
  border-color:#81c8d4!important;
  background:#edf9f8!important;
  color:#186c72!important;
}
.ra-check input{accent-color:var(--ra-v17-navy)!important}

.ra-portal-photo-bg .ra-logistics{
  gap:9px!important;
}
.ra-portal-photo-bg .ra-logistic{
  grid-template-columns:minmax(280px,1.3fr) minmax(230px,.8fr) minmax(220px,1fr)!important;
  gap:12px!important;
  padding:12px 14px!important;
  border:1px solid #e0e9ef!important;
  border-radius:14px!important;
  background:#fbfdfe!important;
}
.ra-logistic strong{font-size:14px!important;font-weight:600!important;color:#344d61!important}

.ra-portal-photo-bg .ra-note{
  padding:14px 16px!important;
  border-radius:13px!important;
  border:1px solid #dbe8ef!important;
  background:#f7fbfd!important;
  color:#617487!important;
  font-size:13.5px!important;
}
.ra-portal-photo-bg .ra-list{
  margin:0!important;
  padding:0!important;
  list-style:none!important;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 14px;
}
.ra-portal-photo-bg .ra-list li{
  position:relative;
  padding:11px 38px 11px 13px;
  border:1px solid #e0e9ef;
  border-radius:13px;
  background:#fbfdfe;
  color:#40566a;
  font-size:14px;
  line-height:1.7;
}
.ra-portal-photo-bg .ra-list li::before{
  content:"✓";
  position:absolute;
  right:12px;
  top:11px;
  width:18px;
  height:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#e3f7f3;
  color:#0a8277;
  font-size:11px;
  font-weight:700;
}

.ra-portal-photo-bg .ra-file{
  border-color:#dbe7ee!important;
  border-radius:13px!important;
  background:#fbfdfe!important;
}

.ra-portal-photo-bg .ra-form-nav{
  bottom:8px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.98)!important;
  border:1px solid #d3e2ea!important;
  box-shadow:0 12px 30px rgba(18,65,96,.10)!important;
}
.ra-portal-photo-bg .ra-btn{
  min-height:44px!important;
  padding:10px 18px!important;
  border-radius:11px!important;
  font-family:"IBM Plex Sans Arabic","Tajawal","Noto Sans Arabic","Segoe UI",Tahoma,Arial,sans-serif!important;
  font-size:14px!important;
  font-weight:600!important;
}
.ra-portal-photo-bg .ra-btn-primary,
.ra-portal-photo-bg .ra-btn-final{
  background:linear-gradient(135deg,#0c8fc9,#075e87)!important;
  color:#fff!important;
  box-shadow:0 8px 18px rgba(7,94,135,.16)!important;
}
.ra-portal-photo-bg .ra-btn-secondary{
  background:#f2f8fb!important;
  border:1px solid #d2e3ec!important;
  color:var(--ra-v17-navy)!important;
}

.ra-field-error{
  margin-top:7px!important;
  font-family:inherit!important;
  font-size:12.5px!important;
  font-weight:600!important;
}
.ra-input.is-invalid,
.ra-select.is-invalid,
.ra-textarea.is-invalid{
  border-color:#d33f38!important;
  background:#fffafa!important;
  box-shadow:0 0 0 3px rgba(211,63,56,.065)!important;
}

@media(max-width:980px){
  .ra-request-hero{grid-template-columns:1fr!important}
  .ra-request-head-side{align-items:stretch}
  .ra-request-meta-grid{justify-content:flex-start}
  .ra-form-instructions{grid-template-columns:1fr;gap:7px}
  .ra-portal-photo-bg .ra-logistic{grid-template-columns:1fr!important}
  .ra-portal-photo-bg .ra-list{grid-template-columns:1fr}
}
@media(max-width:720px){
  body.ra-hosting-body.ra-portal-photo-bg{background-attachment:scroll!important;background-position:35% center!important}
  .ra-portal-photo-bg .ra-hosting-wrap{padding:12px 10px 32px!important}
  .ra-request-hero{padding:18px!important;border-radius:19px!important}
  .ra-request-brand{align-items:flex-start}
  .ra-request-hero .ra-request-brand>img{width:72px!important;max-width:72px!important}
  .ra-request-brand-copy h1{font-size:23px!important}
  .ra-request-brand-copy p{font-size:13.5px!important}
  .ra-request-meta-grid>div{min-width:calc(50% - 4px);flex:1}
  .ra-form-instructions{padding:12px 14px}
  .ra-form-instructions-list{display:grid;gap:5px}
  .ra-portal-photo-bg .ra-step-panel{padding:20px 17px 22px!important;border-radius:18px!important}
  .ra-step-panel>h2{font-size:20px!important;margin-bottom:20px!important}
  .ra-form-steps{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .ra-form-step span{font-size:10.5px!important}
  .ra-portal-photo-bg .ra-grid{grid-template-columns:1fr!important;gap:15px!important}
  .ra-portal-photo-bg .ra-input,.ra-portal-photo-bg .ra-select{font-size:16px!important}
  .ra-form-nav,.ra-form-nav-main,.ra-form-nav-secondary{width:100%!important;align-items:stretch!important}
  .ra-form-nav .ra-btn{flex:1!important;min-width:125px!important}
}

/* =========================================================
   v1.7.1 - Readability refinement
   Slightly larger typography across hosting request only
   ========================================================= */
body.ra-hosting-body.ra-portal-photo-bg{
  font-size:17px!important;
}
.ra-request-brand-copy .ra-eyebrow{font-size:14px!important}
.ra-request-brand-copy h1{font-size:33px!important}
.ra-request-brand-copy p{font-size:16px!important}
.ra-request-meta-grid span{font-size:12px!important}
.ra-request-meta-grid strong{font-size:14px!important}
.ra-btn-compact{font-size:14px!important}
.ra-form-instructions-title{font-size:15px!important}
.ra-form-instructions-list{font-size:14px!important}
.ra-form-stepper-head strong{font-size:15px!important}
.ra-form-stepper-head span{font-size:13px!important}
.ra-form-step b{font-size:12px!important}
.ra-form-step span{font-size:12px!important}
.ra-step-panel>h2{font-size:26px!important}
.ra-portal-photo-bg .ra-field label,
.ra-portal-photo-bg .ra-label{font-size:16px!important}
.ra-portal-photo-bg .ra-input,
.ra-portal-photo-bg .ra-select,
.ra-portal-photo-bg .ra-textarea{font-size:17px!important}
.ra-field-hint{font-size:13px!important}
.ra-portal-photo-bg .ra-check{font-size:15px!important}
.ra-logistic strong{font-size:15px!important}
.ra-portal-photo-bg .ra-note{font-size:14.5px!important}
.ra-portal-photo-bg .ra-list li{font-size:15px!important}
.ra-portal-photo-bg .ra-btn{font-size:15px!important}
.ra-field-error{font-size:13.5px!important}
.ra-step-caption{font-size:14px!important}
.ra-meta{font-size:14px!important}
@media(max-width:720px){
  .ra-request-brand-copy h1{font-size:25px!important}
  .ra-request-brand-copy p{font-size:14.5px!important}
  .ra-step-panel>h2{font-size:22px!important}
  .ra-form-step span{font-size:11.5px!important}
  .ra-portal-photo-bg .ra-field label,
  .ra-portal-photo-bg .ra-label{font-size:15.5px!important}
  .ra-portal-photo-bg .ra-input,
  .ra-portal-photo-bg .ra-select,
  .ra-portal-photo-bg .ra-textarea{font-size:16.5px!important}
  .ra-portal-photo-bg .ra-btn{font-size:15px!important}
}

/* =========================================================
   v1.9.1 - Official Arabic typography
   Noto Sans Arabic is bundled locally for consistent rendering.
   ========================================================= */
@font-face{
  font-family:"RA Noto Sans Arabic";
  src:url("../fonts/NotoSansArabic-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:"RA Noto Sans Arabic";
  src:url("../fonts/NotoSansArabic-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
body.ra-hosting-body,
.ra-hosting-wrap,
.ra-hosting-wrap input,
.ra-hosting-wrap select,
.ra-hosting-wrap textarea,
.ra-hosting-wrap button{
  font-family:"RA Noto Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif!important;
  font-feature-settings:"kern" 1,"liga" 1;
}
.ra-hosting-wrap h1,
.ra-hosting-wrap h2,
.ra-hosting-wrap h3,
.ra-hosting-wrap strong,
.ra-hosting-wrap .ra-btn{
  font-weight:700;
}
.ra-hosting-wrap p,
.ra-hosting-wrap td,
.ra-hosting-wrap th,
.ra-hosting-wrap label{
  line-height:1.75;
}
.ra-btn-excel{
  color:#fff!important;
  background:#137a50!important;
  border-color:#137a50!important;
}
.ra-btn-excel:hover{background:#0f6843!important;border-color:#0f6843!important}
.ra-btn-pdf{
  color:#fff!important;
  background:#a63a35!important;
  border-color:#a63a35!important;
}
.ra-btn-pdf:hover{background:#8f302c!important;border-color:#8f302c!important}

/* Formal display family for headings; body text remains highly readable. */
@font-face{
  font-family:"RA Noto Kufi Arabic";
  src:url("../fonts/NotoKufiArabic-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}
@font-face{
  font-family:"RA Noto Kufi Arabic";
  src:url("../fonts/NotoKufiArabic-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}
body.ra-hosting-body,
body.ra-hosting-body.ra-portal-photo-bg,
body.ra-hosting-body.ra-auth-photo-bg,
.ra-hosting-wrap,
.ra-hosting-wrap input,
.ra-hosting-wrap select,
.ra-hosting-wrap textarea,
.ra-hosting-wrap button,
.ra-portal-photo-bg .ra-input,
.ra-portal-photo-bg .ra-select,
.ra-portal-photo-bg .ra-textarea,
.ra-portal-photo-bg .ra-btn{
  font-family:"RA Noto Sans Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif!important;
}
.ra-hosting-wrap h1,
.ra-hosting-wrap h2,
.ra-hosting-wrap h3,
.ra-hosting-wrap .ra-auth-official-brand h1,
.ra-hosting-wrap .ra-request-brand-copy h1,
.ra-hosting-wrap .ra-step-panel > h2,
.ra-hosting-wrap .ra-section-title > div > h2,
.ra-hosting-wrap .ra-empty-state > strong{
  font-family:"RA Noto Kufi Arabic","RA Noto Sans Arabic",Tahoma,Arial,sans-serif!important;
  font-weight:700;
  letter-spacing:0!important;
}
