/* Reception · burgundy / sand visual system, inspired by the provided Boghrat screenshots.
   Loaded last. Design overrides only; all functionality remains in existing forms. */

/* Navigation and overall clinic reception canvas */
body.reception-mode{background:#f7f6f7!important}
.reception-mode .workspace{background:#f7f6f7!important}
.reception-mode .main{background:#f7f6f7!important;padding-top:10px!important}
.reception-mode .topbar{
  background:#831540!important;
  border-bottom:3px solid #c89c47!important;
  box-shadow:0 3px 12px #3410231a!important;
  min-height:59px!important;
  color:#fffaf9!important
}
.reception-mode .topbar :is(a,button,.breadcrumb,.breadcrumb a,.user-menu,.topbar-title){
  color:#fffaf9!important
}
.reception-mode .topbar .button.secondary,
.reception-mode .topbar button{
  border-color:#ffffff4a!important;
  background:#ffffff19!important;
}
.reception-mode .topbar svg{stroke:currentColor}
.reception-mode .sidebar{
  background:#79133f!important;
  border-inline-start:1px solid #a74d66!important;
  color:#fff1f6!important
}
.reception-mode .sidebar :is(a,button,.sidebar-group-heading){color:#fff1f6}
.reception-mode .sidebar a:hover{background:#ffffff1f!important}
.reception-mode .sidebar .active,
.reception-mode .sidebar a[aria-current=page]{
  background:#a32d59!important;
  border-inline-start:3px solid #f3cb69!important;
}
.reception-mode .page-heading{padding:5px 2px 10px!important;margin-bottom:9px!important}
.reception-mode .page-heading h1{color:#74173f!important;font-size:20px!important}

/* Boghrat-like golden horizontal action bar */
.reception-mode .reception-toolbar{
  display:flex!important;
  align-items:center;
  gap:9px!important;
  min-height:65px!important;
  background:#f3dec0!important;
  border:1px solid #e4c8a2!important;
  border-radius:15px!important;
  padding:11px 15px!important;
  margin:0 0 13px!important;
  box-shadow:0 3px 8px #6a452012!important
}
.reception-mode .reception-toolbar .button{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:39px!important;
  border-radius:24px!important;
  font-size:12px!important;
  font-weight:750!important;
  padding:8px 14px!important;
  box-shadow:0 2px 5px #00000013!important;
  transition:filter .15s,transform .15s!important
}
.reception-mode .reception-toolbar .button:hover{transform:translateY(-1px);filter:brightness(.96)}
.reception-mode .reception-toolbar .reception-create{
  background:#31aa56!important;border-color:#239348!important;color:#fff!important;
}
.reception-mode .reception-toolbar .button[href="/patients"]{
  background:#159ae5!important;border-color:#0d87cf!important;color:#fff!important
}
.reception-mode .reception-toolbar .button[href="#reception-search"]{
  background:#049ee0!important;border-color:#048bc4!important;color:#fff!important
}
.reception-mode .reception-toolbar .button[href="/sms/appointment-notices"]{
  background:#8c2851!important;border-color:#761a43!important;color:#fff!important
}
.reception-mode .reception-toolbar .refresh-link{
  background:#6f8795!important;border-color:#617b87!important;color:#fff!important;
  margin-inline-start:auto!important
}
.reception-mode .reception-toolbar svg{width:16px;height:16px}

/* Calendar strip and quick reception filters */
.reception-mode .reception-datebar{
  border:1px solid #eaddec!important;
  background:#fff!important;
  border-radius:13px!important;
  padding:9px 13px!important;
  box-shadow:0 2px 8px #371c3510;
  margin-bottom:11px!important;
}
.reception-mode .reception-datebar>strong{color:#781540!important;font-weight:800;font-size:15px}
.reception-mode .reception-days{gap:7px}
.reception-mode .reception-days .button.secondary,
.reception-mode .reception-date-apply{
  background:#fff8fa!important;color:#801844!important;
  border:1px solid #e9c8d6!important;border-radius:20px!important;
  min-height:34px!important;font-size:11px
}
.reception-mode .reception-days a.text-link{color:#841b45!important;font-weight:700}
.reception-mode .reception-date-jump{
  background:#fff5f8!important;border:1px solid #eed2df!important
}
.reception-mode .reception-date-jump :is(label,input){color:#781842!important}
.reception-mode .reception-filters{
  background:#f9ead7!important;
  border:1px solid #ecd4b3!important;
  box-shadow:none!important;
  border-radius:14px!important;
  padding:13px 15px 12px!important;
  margin-bottom:10px!important;
}
.reception-mode .reception-primary-filters{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr)) auto!important;gap:11px!important;
}
.reception-mode .reception-primary-filters label{color:#734d4d!important;font-size:11px!important}
.reception-mode .reception-primary-filters select{
  border:1px solid #dbcaaf!important;background:#fffcf7!important;
  border-radius:8px!important;min-height:39px!important;
}
.reception-mode .reception-primary-filters .button.primary{
  background:#7f1a45!important;border-color:#7f1a45!important;color:#fff!important;
  min-height:39px!important;border-radius:9px!important
}
.reception-mode .reception-status-tabs{
  display:flex;align-items:center;flex-wrap:wrap;gap:4px!important;
  background:#f6dfc0;padding:8px;border-radius:10px;margin-top:12px!important
}
.reception-mode .reception-status-tabs .status-tab{
  color:#805336!important;
  background:#fff8ed!important;border:1px solid #e0c29e!important;
  min-height:32px!important;padding:5px 12px!important;
  border-radius:9px!important;font-weight:750!important
}
.reception-mode .reception-status-tabs .status-tab:is(.selected,[aria-current=true]){
  background:#841a47!important;border-color:#841a47!important;
  box-shadow:none!important;color:#fff!important
}
.reception-mode .reception-status-tabs .status-tab:hover:not(.selected){
  background:#f3c989!important;color:#612f2c!important
}
.reception-mode .reception-filters .advanced-filters{
  border-top:1px dashed #d0aa82!important;
  padding-top:8px!important;margin-top:10px!important
}
.reception-mode .reception-filters .advanced-filters summary{
  color:#814163!important;font-weight:700
}

/* Two-tier clearly colored visit counters and label tabs */
.reception-mode .reception-summary{
  background:#e9e9ec!important;
  border:1px solid #dcdce2!important;
  border-radius:11px!important;padding:13px!important;
  margin-bottom:10px!important;gap:8px!important;
  box-shadow:none!important
}
.reception-mode .reception-summary .summary-chip{
  display:inline-flex;align-items:center;gap:5px!important;
  border-radius:8px!important;border:1px solid #dddce2!important;
  background:#fff!important;color:#494458!important;
  min-height:30px!important;padding:3px 9px!important;
  font-weight:750!important;font-size:12px!important;
  box-shadow:none!important
}
.reception-mode .reception-summary .summary-chip strong{
  color:#fff!important;background:#7b6e82!important;
  min-width:22px!important;height:23px!important;
  padding:2px 5px!important;border-radius:7px!important;
}
.reception-mode .reception-summary .summary-chip.state-absent{background:#dff2fd!important;color:#0d6fa4!important}
.reception-mode .reception-summary .summary-chip.state-absent strong{background:#1599d2!important}
.reception-mode .reception-summary .summary-chip.state-waiting{background:#fff3d7!important;color:#976410!important}
.reception-mode .reception-summary .summary-chip.state-waiting strong{background:#d39515!important}
.reception-mode .reception-summary .summary-chip.state-in_service{background:#e3f5e8!important;color:#237344!important}
.reception-mode .reception-summary .summary-chip.state-in_service strong{background:#3ba959!important}
.reception-mode .reception-summary .summary-chip.state-cancelled{background:#fde6e6!important;color:#b33e41!important}
.reception-mode .reception-summary .summary-chip.state-cancelled strong{background:#db5f60!important}
.reception-mode .reception-summary .summary-chip.state-visited{background:#f2ebf5!important;color:#845094!important}
.reception-mode .reception-summary .summary-chip.state-visited strong{background:#9461ad!important}
.reception-mode .reception-summary .summary-chip.state-discharged{background:#e2f4f0!important;color:#206e64!important}
.reception-mode .reception-summary .summary-chip.state-discharged strong{background:#30a697!important}
.reception-mode .reception-label-stats{
  display:flex!important;gap:8px!important;flex-wrap:wrap!important;
  padding:11px 12px!important;margin:0 0 11px!important;
  background:#eeeeef!important;border:1px solid #dddde2!important;border-radius:11px!important
}
.reception-mode .reception-label-stats .reception-label-stat{
  color:#fff!important;background:var(--label-color,#8b1f4c)!important;
  border-radius:7px!important;padding:6px 10px!important;font-size:12px!important;
  font-weight:750!important;box-shadow:0 2px 5px #15151517!important
}
.reception-mode .reception-label-stats .reception-label-stat strong{
  color:#fff!important;background:#ffffff35!important
}
.reception-mode .reception-labels{
  padding:4px 2px 8px!important;gap:6px!important;margin-bottom:10px!important
}
.reception-mode .reception-labels .badge{
  --hashtag-color:#935475;
  color:var(--hashtag-color)!important;
  border:1px solid color-mix(in srgb,var(--hashtag-color) 38%,#fff)!important;
  background:color-mix(in srgb,var(--hashtag-color) 10%,#fff)!important;
  border-radius:9px!important;font-size:11px!important;font-weight:750!important;
  padding:4px 8px!important
}
.reception-mode .reception-labels .badge.selected{
  color:#fff!important;background:var(--hashtag-color)!important
}
.reception-mode .reception-list-search{
  background:#fff;border:1px solid #e4e6ee;border-radius:12px;
  padding:8px 11px!important;margin:0 0 11px!important
}
.reception-mode .reception-list-search input[type=search]{
  border-radius:20px!important;border:1px solid #dfdce7!important;max-width:none!important;
  background:#fcfcfd!important;min-height:37px!important
}
.reception-mode .reception-list-search label{color:#884364!important}
.reception-mode .reception-list-search .button{background:#8b204d!important;color:#fff!important;border-color:#8b204d!important}

/* Boghrat's pale-blue patient cards, still a readable table with floating dividers. */
.reception-mode .reception-list{
  background:#fff!important;
  border:1px solid #cce6ee!important;border-radius:13px!important;
  box-shadow:0 4px 12px #421d3010!important
}
.reception-mode .reception-list .panel-header{
  background:#f6f1f4!important;
  border-bottom:1px solid #e2d8e0!important;
  padding:11px 17px!important
}
.reception-mode .reception-list .panel-header h2{color:#822047!important;font-size:15px!important}
.reception-mode .reception-list th{
  background:#dff1f8!important;color:#315c79!important;
  border-bottom:2px solid #7bd3ea!important;font-size:11px!important
}
.reception-mode .reception-list tbody tr.visit-row>td{
  border-bottom:2px solid #7dd0e8!important;
  border-inline-end:0!important;
  background:#eefaff!important;
}
.reception-mode .reception-list tbody tr.visit-row:nth-child(even)>td{
  background:#fff!important
}
.reception-mode .reception-list tbody tr.visit-row:hover>td{
  background:#e0f5fb!important
}
.reception-mode .reception-list tbody tr.visit-row>td:not(:last-child)::before{
  background:#c4dce8!important;width:1px!important;
  top:17px!important;bottom:19px!important
}
.reception-mode .reception-list .visit-row td:first-child{
  border-inline-start:3px solid #35ace1!important;
}
.reception-mode .reception-list .reception-visit-zone{
  background:transparent!important;
  border-top:1px solid #a5dff1!important;
  padding-top:11px!important
}
.reception-mode .reception-list .reception-visit-zone .reception-zone-heading{
  color:#7d1643!important
}
.reception-mode .reception-list .reception-visit-zone-therapist .reception-zone-heading{color:#ae6b10!important}
.reception-mode .reception-list .row-action-icon,
.reception-mode .reception-list .visit-quick-actions button{
  border-radius:9px!important
}
.reception-mode .reception-list .visit-time-label .visit-inline-label{
  background:#e7f6f4!important;color:#096d65!important;border-color:#83ccc0!important
}
.reception-mode .reception-tools .panel{background:#fff8fa!important;border:1px solid #e7dce4!important}
.reception-mode .reception-tools h2{color:#811e47!important}

/* Small-screen controls keep their layout and remain usable. */
@media(max-width:940px){
  .reception-mode .reception-primary-filters{grid-template-columns:1fr 1fr!important}
  .reception-mode .reception-toolbar .button{padding:7px 10px!important}
}
@media(max-width:570px){
  .reception-mode .reception-toolbar{gap:6px!important;padding:9px!important}
  .reception-mode .reception-toolbar .button{font-size:11px!important;flex:1 1 auto}
  .reception-mode .reception-primary-filters{grid-template-columns:minmax(0,1fr)!important}
  .reception-mode .reception-summary{padding:9px!important}
  .reception-mode .reception-status-tabs{padding:6px}
}
