/* Reserva online screens (app/views/fibbel-ui/reserva-de-citas-online-para-fisioterapia.php).
   Reproduces Calendario.jsx header + react-big-calendar/index.css toolbar and time grid, EnlacesReservaDialog.jsx (MUI Dialog,
   List, Checkbox, Switch, Chip, Collapse), the ConfiguracionCalendario react-modal, ConfigAccordionSection, the modalities
   Dialog and FormatoReservaOnlinePreview (MUI 6 default theme: primary.50 is not a palette key, so slots have no background). */

body.exp-feature-problema .fx-app{position:relative}
body.exp-feature-problema .fx-app .fxr-label{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:1rem;line-height:1.5;letter-spacing:.00938em}
body.exp-feature-problema .fx-app .fxr-body2{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:.875rem;line-height:1.43;letter-spacing:.01071em}
body.exp-feature-problema .fx-app .fxr-caption{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:.75rem;line-height:1.66;letter-spacing:.03333em}
body.exp-feature-problema .fx-app .fxr-subtitle1{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:1rem;line-height:1.75;letter-spacing:.00938em}
body.exp-feature-problema .fx-app .fxr-subtitle2{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:.875rem;font-weight:500;line-height:1.57;letter-spacing:.00714em}
body.exp-feature-problema .fx-app .fxr-bold{font-weight:bold}
body.exp-feature-problema .fx-app .fxr-muted{color:rgba(0,0,0,.6)}
body.exp-feature-problema .fx-app .fxr-disabled{color:rgba(0,0,0,.38)}
body.exp-feature-problema .fx-app .fxr-block{display:block}
body.exp-feature-problema .fx-app .fxr-full{width:100%}
body.exp-feature-problema .fx-app .fxr-mb1{margin-bottom:8px}
body.exp-feature-problema .fx-app .fxr-mb2{margin-bottom:16px}
body.exp-feature-problema .fx-app .fxr-mb3{margin-bottom:24px}
body.exp-feature-problema .fx-app .fxr-mr2{margin-right:16px}
body.exp-feature-problema .fx-app .fxr-center{display:flex;justify-content:center;margin-top:16px}
body.exp-feature-problema .fx-app .fxr-right{text-align:right}
body.exp-feature-problema .fx-app .fxr-small{min-height:40px;padding:8.5px 14px}
body.exp-feature-problema .fx-app .fxr-btn-start .fx-ic{font-size:20px;margin-left:-4px}
body.exp-feature-problema .fx-app .fx-btn-small.fxr-btn-start .fx-ic{font-size:18px;margin-left:-2px}
body.exp-feature-problema .fx-app .fxr-btn-success{background:#2e7d32}

/* --- Calendario.jsx header (h1, #calendar-share-link, .addCita) --- */
body.exp-feature-problema .fx-app .fxr-share{text-align:center;margin:5px}
body.exp-feature-problema .fx-app .fxr-link{color:#0000ee;text-decoration:underline}
body.exp-feature-problema .fx-app .fxr-addcita{display:flex;gap:10px;margin-bottom:20px;justify-content:center;align-items:center;flex-wrap:wrap}
body.exp-feature-problema .fx-app .fxr-btn .fx-ic{font-size:18px}
body.exp-feature-problema .fx-app .fxr-btn-purple{background:#f3e5f5;border-color:#9c27b0;color:#9c27b0}
body.exp-feature-problema .fx-app .fxr-btn-blue{background:#e3f2fd;border-color:#1976d2;color:#1976d2}
body.exp-feature-problema .fx-app .fxr-btn-orange{background:#fff3e0;border-color:#ef6c00;color:#ef6c00}

/* --- react-big-calendar toolbar + empty week (index.css overrides) --- */
body.exp-feature-problema .fx-app .fxr-cal{padding:15px}
body.exp-feature-problema .fx-app .rbc-toolbar{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;margin-bottom:10px;font-size:16px}
body.exp-feature-problema .fx-app .rbc-toolbar-label{flex-grow:1;padding:0 10px;text-align:center;font-weight:bold}
body.exp-feature-problema .fx-app .rbc-btn-group{display:inline-flex;white-space:nowrap}
body.exp-feature-problema .fx-app .rbc-tb-btn{display:inline-flex;align-items:center;justify-content:center;height:29px;border:1px solid #ccc;padding:0 1rem;line-height:normal;white-space:nowrap;background:#0A2463;color:#fff}
body.exp-feature-problema .fx-app .rbc-tb-btn+.rbc-tb-btn{margin-left:-1px}
body.exp-feature-problema .fx-app .rbc-tb-btn:first-child{border-radius:4px 0 0 4px}
body.exp-feature-problema .fx-app .rbc-tb-btn:last-child{border-radius:0 4px 4px 0}
body.exp-feature-problema .fx-app .rbc-tb-btn.rbc-active{box-shadow:inset 0 3px 5px rgba(0,0,0,.125);border-color:#adadad}
body.exp-feature-problema .fx-app .rbc-tb-ib{width:42px;padding:0}
body.exp-feature-problema .fx-app .rbc-tb-ib .fx-ic{font-size:18px}
body.exp-feature-problema .fx-app .rbc-time-view{display:flex;flex-direction:column;width:100%;border:1px solid #ddd}
body.exp-feature-problema .fx-app .rbc-time-header{display:flex}
body.exp-feature-problema .fx-app .rbc-time-header-gutter,body.exp-feature-problema .fx-app .rbc-time-gutter{flex:none;width:52px;text-align:right;color:#0A2463;font-weight:bold}
body.exp-feature-problema .fx-app .rbc-time-header-cell{flex:1;display:flex;min-height:20px;border-left:1px solid #ddd;border-bottom:1px solid #ddd}
body.exp-feature-problema .fx-app .rbc-header{flex:1 0 0%;overflow:hidden;white-space:nowrap;padding:0 3px;text-align:center;font-weight:bold;font-size:90%;color:#0A2463}
body.exp-feature-problema .fx-app .rbc-header+.rbc-header{border-left:1px solid #ddd}
body.exp-feature-problema .fx-app .rbc-time-content{display:flex;width:100%;border-top:2px solid #ddd}
body.exp-feature-problema .fx-app .rbc-day-slot{flex:1 0 0%;min-width:0;border-left:1px solid #ddd}
body.exp-feature-problema .fx-app .rbc-day-slot.rbc-today{background:#eaf6ff}
body.exp-feature-problema .fx-app .rbc-timeslot-group{min-height:80px;border-bottom:1px solid #ddd}
body.exp-feature-problema .fx-app .rbc-label{display:block;line-height:20px;padding:0 5px;font-size:16px}

/* --- MUI Dialog (maxWidth="md" fullWidth), List, Divider --- */
body.exp-feature-problema .fx-app .fxr-backdrop{position:absolute;inset:0;z-index:20;background:rgba(0,0,0,.5);display:flex;align-items:center;justify-content:center}
body.exp-feature-problema .fx-app .fxr-backdrop-top{z-index:30}
body.exp-feature-problema .fx-app .fxr-dialog{display:flex;flex-direction:column;width:calc(100% - 64px);max-width:900px;max-height:calc(100% - 64px);margin:32px;overflow:hidden;background:#fff;color:rgba(0,0,0,.87);border-radius:4px;box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12);font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fxr-dialog-title{flex:0 0 auto;padding:16px 24px;font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:.0075em}
body.exp-feature-problema .fx-app .fxr-title-flex{display:flex;align-items:center;gap:8px}
body.exp-feature-problema .fx-app .fxr-dialog-title.fxr-center{display:block;text-align:center;margin:0}
body.exp-feature-problema .fx-app .fxr-dialog-content{flex:1 1 auto;min-height:0;overflow:hidden;padding:16px 24px}
body.exp-feature-problema .fx-app .fxr-dividers{border-top:1px solid rgba(0,0,0,.12);border-bottom:1px solid rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxr-dialog-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;padding:8px}
body.exp-feature-problema .fx-app .fxr-between{justify-content:space-between}
body.exp-feature-problema .fx-app .fxr-dialog-actions.fxr-between{padding:8px 24px}
body.exp-feature-problema .fx-app .fxr-list{padding:8px 0}
body.exp-feature-problema .fx-app .fxr-divider{height:1px;background:rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxr-li{position:relative;display:flex;align-items:center;padding:8px 128px 8px 16px}
body.exp-feature-problema .fx-app .fxr-li-text{flex:1 1 auto;min-width:0;margin:4px 0}
body.exp-feature-problema .fx-app .fxr-li-primary{display:flex;align-items:center;gap:8px;font-size:1rem;line-height:1.5}
body.exp-feature-problema .fx-app .fxr-li .fxr-caption,body.exp-feature-problema .fx-app .fxr-li>.fxr-li-text>span{display:block;font-size:.75rem;line-height:1.66;letter-spacing:.03333em;word-break:break-all}
body.exp-feature-problema .fx-app .fxr-li-actions{position:absolute;right:16px;top:50%;transform:translateY(-50%);display:flex}

/* --- EnlaceForm --- */
body.exp-feature-problema .fx-app .fxr-form{display:flex;flex-direction:column;gap:16px}
body.exp-feature-problema .fx-app .fxr-fcl{display:inline-flex;align-items:center;margin-left:-11px;margin-right:16px;align-self:flex-start}
body.exp-feature-problema .fx-app .fxr-switch{position:relative;display:inline-flex;flex-shrink:0;width:58px;height:38px;padding:12px}
body.exp-feature-problema .fx-app .fxr-switch-track{width:100%;height:100%;border-radius:7px;background:#1976d2;opacity:.5}
body.exp-feature-problema .fx-app .fxr-switch-thumb{position:absolute;top:9px;left:29px;width:20px;height:20px;border-radius:50%;background:#1976d2;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxr-form .fxr-subtitle2{margin-top:8px}
body.exp-feature-problema .fx-app .fxr-fisios{display:flex;flex-direction:column;gap:4px}
body.exp-feature-problema .fx-app .fxr-fisio{border:1px solid #e0e0e0;border-radius:4px;overflow:hidden}
body.exp-feature-problema .fx-app .fxr-hidden{opacity:.6}
body.exp-feature-problema .fx-app .fxr-fisio-row{display:flex;align-items:center;padding:4px 12px}
body.exp-feature-problema .fx-app .fxr-included{background:#e3f2fd}
body.exp-feature-problema .fx-app .fxr-fisio-row .fxr-body2{flex:1;display:flex;align-items:center;gap:4px}
body.exp-feature-problema .fx-app .fxr-fisio-row .fx-chip-outlined{margin-right:4px}
body.exp-feature-problema .fx-app .fxr-hidden .fx-chip{height:20px;font-size:.65rem}
body.exp-feature-problema .fx-app .fxr-cb{display:inline-flex;padding:9px;color:rgba(0,0,0,.6)}
body.exp-feature-problema .fx-app .fxr-cb .fx-ic{font-size:1.25rem}
body.exp-feature-problema .fx-app .fxr-cb-on{color:#1976d2}
body.exp-feature-problema .fx-app .fxr-cb-dis{color:rgba(0,0,0,.26)}
body.exp-feature-problema .fx-app .fxr-collapse{padding:8px 24px;background:#fafafa}
body.exp-feature-problema .fx-app .fxr-collapse>.fxr-caption{display:block;margin-bottom:4px}
body.exp-feature-problema .fx-app .fxr-fcl.fxr-block{display:flex}
body.exp-feature-problema .fx-app .fxr-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:16px}

/* --- ConfiguracionCalendario react-modal, sticky select, ConfigAccordionSection --- */
body.exp-feature-problema .fx-app .fxr-overlay{position:absolute;inset:0;z-index:20;background:rgba(0,0,0,.75)}
body.exp-feature-problema .fx-app .fxr-modal{position:absolute;top:40px;left:40px;right:40px;bottom:40px;max-width:1000px;margin:0 auto;overflow:hidden;padding:20px;background:#fff;border:1px solid #ccc;border-radius:4px;font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fxr-sticky{margin:-20px -20px 0;padding:20px 20px 8px;background:#fff;border-bottom:1px solid rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxr-modal-body{padding:24px}
body.exp-feature-problema .fx-app .fxr-acc{margin-bottom:16px;border:1px solid rgba(0,0,0,.12);border-radius:8px;overflow:hidden;background:#fff;box-shadow:0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxr-acc-sum{display:flex;align-items:center;min-height:48px;padding:0 16px;background:#fafafa}
body.exp-feature-problema .fx-app .fxr-acc-title{flex:0 1 auto;margin:12px auto 12px 0;font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:.0075em;color:#0A2463}
body.exp-feature-problema .fx-app .fxr-acc-sum .fx-ic{color:rgba(0,0,0,.54)}
body.exp-feature-problema .fx-app .fxr-acc-open .fxr-acc-sum .fx-ic{transform:rotate(180deg)}
body.exp-feature-problema .fx-app .fxr-acc-det{padding:16px}

/* --- Modalities Dialog (Grid spacing 2, outlined fields) --- */
body.exp-feature-problema .fx-app .fxr-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
body.exp-feature-problema .fx-app .fxr-span2{grid-column:1 / -1}
body.exp-feature-problema .fx-app .fxr-grid .fx-tf{min-width:0}
body.exp-feature-problema .fx-app .fxr-grid .fx-tf-input{padding-right:24px}
body.exp-feature-problema .fx-app .fxr-multiline{align-items:flex-start;min-height:102px}
body.exp-feature-problema .fx-app .fxr-multiline .fx-tf-input{white-space:normal}
body.exp-feature-problema .fx-app .fxr-placeholder-label{position:absolute;left:14px;top:16.5px;font-size:1rem;line-height:1.4375em;color:rgba(0,0,0,.6)}
body.exp-feature-problema .fx-app .fxr-hr{height:1px;margin:16px 0;background:rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxr-subtitle1.fxr-bold{margin-bottom:8px}
body.exp-feature-problema .fx-app .fxr-mod{display:flex;justify-content:space-between;align-items:center;padding:16px;border:1px solid #e0e0e0;border-radius:8px}
body.exp-feature-problema .fx-app .fxr-mod .fxr-subtitle1{margin:0}

/* --- Formato de reserva online + FormatoReservaOnlinePreview --- */
body.exp-feature-problema .fx-app .fxr-ul{margin-top:16px;padding-left:24px}
body.exp-feature-problema .fx-app .fxr-li-dot{display:list-item;list-style:disc;margin-bottom:4px;font-size:.875rem;line-height:1.43;letter-spacing:.01071em;color:rgba(0,0,0,.6)}
body.exp-feature-problema .fx-app .fxr-pv{margin:16px 0;padding:16px;border:1px solid rgba(0,0,0,.12);border-radius:8px;background:#fafafa}
body.exp-feature-problema .fx-app .fxr-week{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
body.exp-feature-problema .fx-app .fxr-day{padding:8px;border:1px solid rgba(0,0,0,.12);border-radius:6px;background:#fff;min-height:96px}
body.exp-feature-problema .fx-app .fxr-day-label{margin-bottom:6px}
body.exp-feature-problema .fx-app .fxr-slots{display:flex;flex-direction:column;gap:6px}
body.exp-feature-problema .fx-app .fxr-slot{display:inline-flex;align-items:center;justify-content:center;padding:3.6px 8px;border-radius:4px;color:#1976d2;border:1px solid #42a5f5;font-size:12px;font-weight:700;min-width:52px}
