
/* Reserve Online UI Kit v1 */
:root{
  --ro-bg:#fff1f7;
  --ro-surface:#ffffff;
  --ro-card:#ffffff;
  --ro-card2:#fff7fb;
  --ro-border:rgba(236,72,153,.22);
  --ro-text:#1f2937;
  --ro-muted:rgba(31,41,55,.72);
  --ro-muted2:rgba(31,41,55,.58);
  --ro-accent:#ec4899; /* pink */
  --ro-accent2:#a855f7; /* violet */
  --ro-warning:#f59e0b;
  --ro-danger:#ef4444;
  --ro-radius:16px;
  --ro-radius2:22px;
  --ro-shadow:0 16px 45px rgba(236,72,153,.12);
  --ro-shadow2:0 12px 28px rgba(17,24,39,.06);
  --ro-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
}


.ro-wrap{font-family:var(--ro-font);direction:rtl;color:var(--ro-text);background:radial-gradient(1200px 600px at 10% 0%, rgba(236,72,153,.18), transparent 50%),radial-gradient(900px 500px at 90% 10%, rgba(168,85,247,.16), transparent 55%),linear-gradient(180deg, #fff1f7, #ffffff);border:1px solid var(--ro-border);border-radius:var(--ro-radius2);box-shadow:var(--ro-shadow);padding:18px;max-width:980px;margin:18px auto}
.ro-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.ro-title{font-size:18px;font-weight:800;letter-spacing:-.3px;margin:0}
.ro-sub{font-size:12px;color:var(--ro-muted);margin:4px 0 0}
.ro-chip{display:inline-flex;align-items:center;gap:8px;background:rgba(236,72,153,.10);border:1px solid rgba(236,72,153,.28);padding:8px 10px;border-radius:999px;font-size:12px;color:rgba(255,255,255,.85)}
.ro-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media (min-width:880px){.ro-grid{grid-template-columns:1.1fr .9fr}}
.ro-card{background:linear-gradient(180deg, var(--ro-card), var(--ro-card2));border:1px solid var(--ro-border);border-radius:var(--ro-radius);box-shadow:var(--ro-shadow2);padding:14px}
.ro-card h3{margin:0 0 10px;font-size:14px;font-weight:800}
.ro-row{display:grid;grid-template-columns:1fr;gap:10px}
@media (min-width:620px){.ro-row{grid-template-columns:1fr 1fr}}
.ro-field label{display:block;font-size:12px;color:var(--ro-muted);margin:0 0 6px}
.ro-field select,.ro-field input,.ro-field textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(236,72,153,.18);
  background:rgba(236,72,153,.04);
  color:var(--ro-text);
  outline:none;
}
.ro-field select:focus,.ro-field input:focus,.ro-field textarea:focus{
  border-color:rgba(236,72,153,.75);
  box-shadow:0 0 0 4px rgba(236,72,153,.16);
}
.ro-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;margin-top:12px}
.ro-btn{
  appearance:none;border:0;cursor:pointer;
  padding:10px 14px;border-radius:14px;
  font-weight:800;font-size:13px;
  background:rgba(255,255,255,.08);color:var(--ro-text);
  border:1px solid rgba(236,72,153,.18);
}
.ro-btn:hover{transform:translateY(-1px)}
.ro-btn-primary{background:linear-gradient(90deg, rgba(236,72,153,.95), rgba(168,85,247,.80));border-color:rgba(236,72,153,.55)}
.ro-btn-success{background:linear-gradient(90deg,rgba(34,197,94,.92),rgba(34,197,94,.72));border-color:rgba(34,197,94,.55)}
.ro-btn-danger{background:linear-gradient(90deg,rgba(239,68,68,.92),rgba(239,68,68,.72));border-color:rgba(239,68,68,.55)}
.ro-help{font-size:12px;color:var(--ro-muted2);line-height:1.7;margin-top:10px}
.ro-steps{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 0}
.ro-step{flex:1;min-width:140px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:10px}
.ro-step b{display:block;font-size:12px}
.ro-step span{display:block;font-size:11px;color:var(--ro-muted)}
.ro-step.is-active{border-color:rgba(236,72,153,.45);background:rgba(236,72,153,.08)}
.ro-hr{height:1px;background:rgba(255,255,255,.08);margin:12px 0}
.ro-summary{display:flex;flex-direction:column;gap:8px}
.ro-summary .item{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--ro-muted)}
.ro-summary .item b{color:var(--ro-text);font-weight:800}
.ro-alert{border-radius:14px;padding:10px 12px;border:1px solid rgba(236,72,153,.18);background:rgba(17,24,39,.03);font-size:12px}
.ro-alert.success{border-color:rgba(34,197,94,.4);background:rgba(34,197,94,.10)}
.ro-alert.warn{border-color:rgba(245,158,11,.35);background:rgba(245,158,11,.10)}
.ro-alert.danger{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.10)}
.ro-badges{display:flex;gap:8px;flex-wrap:wrap}
.ro-badge{font-size:11px;padding:6px 8px;border-radius:999px;border:1px solid rgba(236,72,153,.18);background:rgba(17,24,39,.03);color:rgba(31,41,55,.86)}
.ro-badge.ok{border-color:rgba(34,197,94,.45);background:rgba(34,197,94,.12)}
.ro-badge.pending{border-color:rgba(245,158,11,.45);background:rgba(245,158,11,.12)}
.ro-badge.cancel{border-color:rgba(239,68,68,.45);background:rgba(239,68,68,.12)}

.pb-slot{cursor:pointer}
.pb-slot.active{outline:2px solid rgba(236,72,153,.95);box-shadow:0 0 0 4px rgba(236,72,153,.18)}


/* Timetable (Jalali booking) */
.ro-timetable{ margin-top:8px; min-height:60px; }
.ro-tt-head{ font-weight:800; color:#4a2b63; margin:6px 2px 10px; font-size:13px; }
.ro-tt-table{ border:1px solid rgba(0,0,0,.06); border-radius:18px; overflow:hidden; background:#fff; box-shadow:0 10px 30px rgba(16,24,40,.08); }
.ro-tt-row{ display:grid; grid-template-columns: 1fr 1fr 110px; gap:8px; align-items:center; padding:10px 12px; border-top:1px solid rgba(0,0,0,.05); }
.ro-tt-row--head{ background:linear-gradient(180deg,#ffe8f4,#fff); border-top:0; font-weight:800; color:#6b2b8a; }
.ro-tt-time{ font-weight:800; color:#2b1a35; }
.ro-pill{ display:inline-flex; align-items:center; justify-content:center; padding:5px 10px; border-radius:999px; font-weight:800; font-size:12px; border:1px solid rgba(0,0,0,.06); }
.ro-pill--ok{ background:#eafff2; color:#0b7a3a; border-color:#b9f5cf; }
.ro-btn-small{ padding:8px 12px; border-radius:14px; font-weight:800; }
@media (max-width:520px){
  .ro-tt-row{ grid-template-columns: 1fr 1fr 92px; }
}


/* Pricing cards - consistent with UI */
.ro-pricing{
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  background:linear-gradient(180deg,#fff7fb,#ffffff);
  box-shadow:0 10px 28px rgba(16,24,40,.08);
}
.ro-pricing .item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-top:1px dashed rgba(0,0,0,.06);
}
.ro-pricing .item:first-child{ border-top:0; }
.ro-pricing .item span{
  color:#6b2b8a;
  font-weight:800;
  font-size:12.5px;
}
.ro-pricing .item b{
  color:#2b1a35;
  font-weight:900;
  font-size:13px;
  background:#ffe8f4;
  border:1px solid rgba(255,90,165,.25);
  padding:6px 10px;
  border-radius:999px;
  min-width:84px;
  text-align:center;
}

/* Timetable empty + skeleton */
.ro-tt-empty{
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:14px 14px;
  background:linear-gradient(180deg,#fff7fb,#ffffff);
  box-shadow:0 10px 26px rgba(16,24,40,.06);
}
.ro-tt-empty-title{
  font-weight:900;
  color:#4a2b63;
  margin-bottom:6px;
}
.ro-tt-empty-sub{
  color:#6b7280;
  font-weight:700;
  font-size:12px;
  line-height:1.7;
}
.ro-tt-skel{ display:grid; grid-template-columns:1fr; gap:8px; margin-top:10px; }
.ro-tt-skel span{
  height:34px; border-radius:14px;
  background:linear-gradient(90deg,#ffe8f4 0%, #fff 40%, #ffe8f4 80%);
  background-size:200% 100%;
  animation: roShimmer 1.2s infinite;
  border:1px solid rgba(0,0,0,.04);
}
@keyframes roShimmer{
  0%{ background-position:0 0; }
  100%{ background-position:-200% 0; }
}
