.dabl-rr-form-wrap{max-width:var(--dabl-rr-max-width);max-height:var(--dabl-rr-max-height);margin:0 auto;overflow:auto}
.dabl-rr-success{border:1px solid var(--dabl-rr-border);border-radius:var(--dabl-rr-radius);padding:12px;margin:0 0 12px;background:rgba(16,185,129,.08);color:#065f46}
.dabl-rr-error{border:1px solid #fecaca;border-radius:var(--dabl-rr-radius);padding:12px;margin:0 0 12px;background:#fef2f2;color:#991b1b}
.dabl-rr-btn:disabled{opacity:0.7;cursor:not-allowed}
.dabl-rr-form{background:var(--dabl-rr-bg);color:var(--dabl-rr-text);border:var(--dabl-rr-form-border-width) solid var(--dabl-rr-border);border-radius:var(--dabl-rr-radius);padding:16px;font-size:var(--dabl-rr-font)}
.dabl-rr-row{display:flex;flex-direction:column;gap:6px;margin:10px 0}
.dabl-rr-row input,.dabl-rr-row select,.dabl-rr-row textarea{border:var(--dabl-rr-field-border-width) solid var(--dabl-rr-field-border);border-radius:var(--dabl-rr-field-radius);padding:10px;font-size:var(--dabl-rr-font);width:100%;box-sizing:border-box}
.dabl-rr-btn{background:var(--dabl-rr-btn);color:var(--dabl-rr-btn-text);border:var(--dabl-rr-btn-border-width) solid var(--dabl-rr-btn-border);border-radius:var(--dabl-rr-btn-radius);padding:12px 14px;font-size:var(--dabl-rr-font);cursor:pointer;width:100%}
.dabl-rr-note{margin:10px 0 0;opacity:.8}
.dabl-rr-cardlike{border:1px solid var(--dabl-rr-border);border-radius:var(--dabl-rr-radius);padding:12px}
.dabl-rr-portal .dabl-rr-res-row{display:flex;gap:12px;border:1px solid var(--dabl-rr-border);border-radius:var(--dabl-rr-radius);padding:12px;margin:10px 0}

/* Staff portal list striping */
.dabl-rr-res-list{border:1px solid var(--dabl-rr-border);border-radius:var(--dabl-rr-radius);overflow:hidden}
.dabl-rr-res-list .dabl-rr-res-row{margin:0;border:0;border-bottom:1px solid var(--dabl-rr-border);border-radius:0}
.dabl-rr-res-list .dabl-rr-res-row:nth-child(even){background:rgba(0,0,0,.03)}
.dabl-rr-res-list .dabl-rr-res-row:last-child{border-bottom:0}
.dabl-rr-res-when{width:140px}
.dabl-rr-res-status{margin-left:auto;opacity:.85}
.dabl-rr-notes{margin-top:6px;opacity:.85}
.dabl-rr-calendar .dabl-rr-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.dabl-rr-cal-day{border:1px solid var(--dabl-rr-border);border-radius:12px;padding:10px;min-height:64px}
.dabl-rr-cal-day.dabl-rr-cal-blocked{opacity:.45}
.dabl-rr-cal-num{font-weight:700}
.dabl-rr-cal-count{opacity:.8;font-size:0.92em;margin-top:6px}


/* Portal action buttons */
.dabl-rr-inline{display:inline;}
.dabl-rr-portal-actions{margin-top:6px;}


/* Staff portal helpers */
.dabl-rr-private{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:6px}
.dabl-rr-reveal{background:transparent;border:1px solid var(--dabl-rr-field-border);border-radius:var(--dabl-rr-field-radius);padding:8px 10px;cursor:pointer}
.dabl-rr-contact{opacity:.85}
.dabl-rr-btn.dabl-rr-btn-small{padding:8px 10px;font-size:0.95em}



/* jQuery UI datepicker (minimal styling + blocked date state) */
.ui-datepicker{background:var(--dabl-rr-cal-bg,var(--dabl-rr-bg));border:var(--dabl-rr-cal-border-width,1px) solid var(--dabl-rr-cal-border,var(--dabl-rr-border));border-radius:var(--dabl-rr-cal-radius,12px);padding:10px;font-size:var(--dabl-rr-font);z-index:999999!important}
.ui-datepicker table{width:100%;border-collapse:collapse}
.ui-datepicker th,.ui-datepicker td{text-align:center;padding:2px}
.ui-datepicker .ui-datepicker-title{font-weight:700;margin-bottom:6px}
.ui-datepicker a,.ui-datepicker span.ui-state-default{display:block;padding:6px;border-radius:8px;text-decoration:none;color:var(--dabl-rr-cal-text,var(--dabl-rr-text))}
.ui-datepicker td.ui-state-disabled span{opacity:.30}
.ui-datepicker td.dabl-rr-date-blocked span{opacity:.22}

.dabl-rr-cal-link{text-decoration:underline}
/* v0.3.7b fix: ensure field border thickness applies to all input types, including email/date */
.dabl-rr-form .dabl-rr-row input,.dabl-rr-form .dabl-rr-row select,.dabl-rr-form .dabl-rr-row textarea{border-width:var(--dabl-rr-field-border-width)!important;border-style:solid!important;border-color:var(--dabl-rr-field-border)!important;}
