/* Control de pacientes app screens (app/views/fibbel-ui/software-de-control-de-pacientes-en-fisioterapia.php).
   Sources: index.css .div-addpaciente-bulk/.AddPaciente/.buscador/.lista, ListaPacientes.jsx grid wrapper,
   MUI X DataGrid 8 defaults (header = background.default #fff, 56px header, 52px rows), index.css
   .patient-dashboard-*, .EditPaciente/.patient-details-form/.patient-address-grid/.safe-save-*. */
body.exp-feature-problema .fx-app .fxp-bulk{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;padding-top:20px}
body.exp-feature-problema .fx-app .fxp-bulk>.fx-btn:first-child{margin:20px 0}
body.exp-feature-problema .fx-app .fxp-btn-large{padding:7px 21px;font-size:.9375rem;font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fx-btn{font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fxp-lista{display:block;text-align:center;margin:25px 0;color:#0A2463;font-weight:bold;font-size:2em;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Open Sans","Helvetica Neue",sans-serif}
body.exp-feature-problema .fx-app .fxp-buscador{display:flex;justify-content:center;align-items:center;gap:16px;max-width:900px;margin:20px auto}
body.exp-feature-problema .fx-app .fxp-buscador .fx-tf-standard{margin:16px 0 8px;font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fxp-w-200{width:200px}
/* DataGrid inside the white wrapper (width 90%, radius 8, shadow 0 2px 8px) */
body.exp-feature-problema .fx-app .fxp-grid-wrap{width:90%;margin:0 auto 20px;background:#fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.07)}
body.exp-feature-problema .fx-app .fxp-grid{border:1px solid rgb(224,224,224);border-radius:4px;overflow:hidden}
body.exp-feature-problema .fx-app .fxp-dg{table-layout:fixed}
body.exp-feature-problema .fx-app .fxp-dg th,body.exp-feature-problema .fx-app .fxp-dg td{padding:0 10px;overflow:hidden;text-overflow:ellipsis}
body.exp-feature-problema .fx-app .fxp-dg th{height:56px;background:#fff;font-weight:500;position:relative}
body.exp-feature-problema .fx-app .fxp-dg th+th:before{content:"";position:absolute;left:0;top:50%;height:18px;margin-top:-9px;border-left:1px solid rgb(224,224,224)}
body.exp-feature-problema .fx-app .fxp-dg td{height:52px}
body.exp-feature-problema .fx-app .fxp-dg .fxp-dg-check{width:50px;padding:0;text-align:center}
body.exp-feature-problema .fx-app .fxp-dg .fxp-dg-check .fx-check{margin:0;vertical-align:middle}
body.exp-feature-problema .fx-app .fxp-dg .fxp-dg-actions{width:80px}
body.exp-feature-problema .fx-app .fxp-c-info{color:#0288d1}
/* Patient dashboard (edit mode) */
body.exp-feature-problema .fx-app .fxp-dash-toolbar{width:100%;margin:30px auto 16px;padding:16px;display:flex;flex-direction:column;gap:12px}
body.exp-feature-problema .fx-app .fxp-dash-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap}
body.exp-feature-problema .fx-app .fxp-btn-inherit{color:inherit;border-color:rgba(0,0,0,.23)}
body.exp-feature-problema .fx-app .fxp-btn-warning{color:#ed6c02;border-color:rgba(237,108,2,.5)}
body.exp-feature-problema .fx-app .fxp-btn-success{background:#2e7d32}
body.exp-feature-problema .fx-app .fxp-dash-widgets{border-top:1px solid #e0e0e0;padding-top:12px;font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fxp-subtitle2{font-size:.875rem;font-weight:500;line-height:1.57;letter-spacing:.00714em;margin-bottom:8px}
body.exp-feature-problema .fx-app .fxp-formgroup{display:flex;flex-wrap:wrap}
body.exp-feature-problema .fx-app .fxp-fcl{display:inline-flex;align-items:center;margin:0 16px 0 -11px;font-size:1rem;line-height:1.5;letter-spacing:.00938em}
body.exp-feature-problema .fx-app .fxp-fcl .fx-check{margin:9px}
body.exp-feature-problema .fx-app .fxp-dash-item{padding:4px;margin-bottom:16px}
body.exp-feature-problema .fx-app .fxp-edit-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 12px;margin-bottom:8px;border-radius:8px;background:#f5f5f5;border:1px dashed #d0d0d0;font-family:"Roboto","Helvetica","Arial",sans-serif}
body.exp-feature-problema .fx-app .fxp-edit-handle{display:flex;align-items:center;gap:8px;flex:1 1 auto;font-size:.875rem;font-weight:500;color:rgba(0,0,0,.87)}
body.exp-feature-problema .fx-app .fxp-edit-handle .fx-ic{font-size:1.25rem}
body.exp-feature-problema .fx-app .fxp-toggle{display:inline-flex;border-radius:4px}
body.exp-feature-problema .fx-app .fxp-toggle span{padding:7px;font-size:.8125rem;font-weight:500;line-height:1.75;letter-spacing:.02857em;text-transform:uppercase;color:rgba(0,0,0,.54);border:1px solid rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxp-toggle span+span{margin-left:-1px;border-left-color:transparent}
body.exp-feature-problema .fx-app .fxp-toggle span:first-child{border-radius:4px 0 0 4px}
body.exp-feature-problema .fx-app .fxp-toggle span:last-child{border-radius:0 4px 4px 0}
body.exp-feature-problema .fx-app .fxp-toggle .fxp-toggle-on{color:rgba(0,0,0,.87);background:rgba(0,0,0,.08)}
/* Datos del Paciente widget (.EditPaciente.div-representacion-dato.patient-details-form) */
body.exp-feature-problema .fx-app .fxp-ficha{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px;column-gap:20px;margin-top:20px;padding:10px;background:#fff;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.1)}
body.exp-feature-problema .fx-app .fxp-ficha .fx-tf{width:100%;flex-wrap:nowrap}
body.exp-feature-problema .fx-app .fxp-ficha-h2{grid-column:1/-1;text-align:center;color:#0A2463;font-size:1.5em;font-weight:bold;margin:15px 0}
body.exp-feature-problema .fx-app .fxp-ficha-full{grid-column:1/-1}
body.exp-feature-problema .fx-app .fxp-address{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
body.exp-feature-problema .fx-app .fxp-adorn{display:inline-flex;align-items:center;gap:6px;margin-right:8px;font-weight:600;flex:0 0 auto}
body.exp-feature-problema .fx-app .fxp-adorn .fx-ic{color:rgba(0,0,0,.54);margin-left:-4px}
body.exp-feature-problema .fx-app .fxp-flag{display:inline-flex;flex-direction:column;width:24px;height:16px;box-shadow:0 0 0 1px rgba(0,0,0,.12)}
body.exp-feature-problema .fx-app .fxp-flag span{flex:1;background:#c60b1e}
body.exp-feature-problema .fx-app .fxp-flag span:nth-child(2){flex:2;background:#ffc400}
body.exp-feature-problema .fx-app .fxp-save-bar{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.exp-feature-problema .fx-app .fxp-save-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}
body.exp-feature-problema .fx-app .fxp-save-status{font-family:"Roboto","Helvetica","Arial",sans-serif;font-size:.875rem;font-weight:600;color:#2e7d32}
body.exp-feature-problema .fx-app .fxp-ficha-dash{margin-top:0}
