:root{
  --mbx-bg:#f5f7fb;--mbx-panel:#fff;--mbx-text:#172033;--mbx-muted:#778198;
  --mbx-primary:#635bff;--mbx-primary-2:#7c74ff;--mbx-cyan:#21c7d9;--mbx-pink:#ef4b85;
  --mbx-sidebar:#111827;--mbx-sidebar-2:#172033;--mbx-line:#e7eaf0;--mbx-soft:#f0f2f7;
  --mbx-success:#18a874;--mbx-warning:#e9a23b;--mbx-danger:#e45757;--mbx-radius:16px;
  --mbx-shadow:0 12px 35px rgba(24,32,56,.08);
}
html,body{background:var(--mbx-bg)!important;color:var(--mbx-text);font-family:Inter,"Public Sans",system-ui,-apple-system,"Segoe UI",sans-serif}
body{min-height:100vh}.layout-wrapper{background:var(--mbx-bg)}
a{text-decoration:none}.container-xxl{max-width:1540px}
/* sidebar */
.medibox-sidebar{background:linear-gradient(180deg,var(--mbx-sidebar) 0%,#0c1220 100%)!important;color:#fff;border:0!important;box-shadow:18px 0 50px rgba(13,20,35,.08);width:270px!important}
.layout-menu-fixed .layout-page{padding-left:270px!important}.layout-menu-fixed .layout-navbar{left:auto!important}
.medibox-sidebar-brand{height:86px;padding:18px 18px 12px;display:flex;align-items:center}.medibox-brand-link{display:flex;align-items:center;gap:11px;color:#fff;width:100%}.medibox-brand-link:hover{color:#fff}.medibox-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--mbx-primary),var(--mbx-pink));font-weight:800;font-size:22px;box-shadow:0 8px 22px rgba(99,91,255,.32)}.medibox-brand-link strong{display:block;font-size:18px;letter-spacing:-.2px}.medibox-brand-link small{display:block;color:#95a0b7;font-size:10px;letter-spacing:1.5px;font-weight:700}.medibox-online-dot{margin-left:auto;width:9px;height:9px;border-radius:50%;background:#3ddc97;box-shadow:0 0 0 5px rgba(61,220,151,.1)}
.medibox-menu-label{list-style:none;color:#66738d;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:1.2px;padding:14px 23px 7px}.medibox-sidebar .menu-inner{overflow-y:auto}.medibox-sidebar .menu-item{margin:3px 12px}.medibox-sidebar .menu-link{height:44px;border-radius:12px;color:#aab3c5!important;display:flex;align-items:center;gap:10px;padding:0 13px!important;font-weight:600;font-size:13px;transition:.18s ease}.medibox-sidebar .menu-icon{font-size:20px!important;color:#74809a!important;margin:0!important}.medibox-sidebar .menu-item:hover>.menu-link{background:rgba(255,255,255,.055)!important;color:#fff!important;transform:translateX(2px)}.medibox-sidebar .menu-item.active>.menu-link{background:linear-gradient(90deg,rgba(99,91,255,.22),rgba(99,91,255,.08))!important;color:#fff!important;box-shadow:inset 3px 0 0 var(--mbx-primary)}.medibox-sidebar .menu-item.active .menu-icon{color:#9b95ff!important}.medibox-sidebar-footer{margin:auto 14px 16px;padding:12px;border-top:1px solid rgba(255,255,255,.06);color:#8d98ae}.medibox-sidebar-footer>div{display:flex;gap:9px;align-items:center}.medibox-sidebar-footer i{font-size:21px;color:var(--mbx-cyan)}.medibox-sidebar-footer b,.medibox-sidebar-footer small{display:block;font-size:10px}.medibox-sidebar-footer small{color:#66738d;margin-top:1px}
/* topbar */
.medibox-topbar{background:rgba(255,255,255,.9)!important;backdrop-filter:blur(14px);border:1px solid rgba(229,232,239,.85)!important;border-radius:16px!important;box-shadow:0 8px 30px rgba(26,35,58,.06)!important;margin-top:14px!important;height:66px!important}.medibox-topbar.layout-navbar.navbar-detached{left:auto!important;right:auto!important;width:calc(100% - 3.25rem)!important;max-width:calc(1540px - 3.25rem)!important;margin:14px auto 0!important}.medibox-global-search{display:flex;align-items:center;gap:10px;flex:1;max-width:620px;background:#f6f7fa;border:1px solid #eceef3;border-radius:12px;padding:0 12px;height:42px}.medibox-global-search i{font-size:21px;color:#8892a5}.medibox-global-search .form-control{border:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;height:auto!important}.medibox-top-chip{align-items:center;gap:6px;color:#526079;font-size:11px;font-weight:700;background:#f4f5f8;border-radius:20px;padding:7px 10px}.medibox-user-button{display:flex;align-items:center;gap:9px!important;border:0!important;background:transparent!important;box-shadow:none!important;padding:4px 6px!important}.medibox-user-button:after{display:none}.medibox-avatar{width:36px;height:36px;border-radius:11px;background:linear-gradient(135deg,#e7e5ff,#f8e7ef);color:#5e56d8;display:grid;place-items:center;font-weight:800}.medibox-user-button b{display:block;font-size:12px;color:#2a3448;max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.medibox-user-button small{display:block;font-size:10px;color:#929bad}.medibox-search-panel{position:fixed;z-index:1080;top:88px;left:calc(270px + 2rem);right:2rem;max-height:400px;overflow:auto;background:#fff;border:1px solid var(--mbx-line);border-radius:15px;box-shadow:var(--mbx-shadow)}
.medibox-search-panel .medibox-search-row{cursor:pointer;outline:none}.medibox-search-panel .medibox-search-row td{padding:16px 18px!important;transition:background-color .16s ease,border-color .16s ease}.medibox-search-panel .medibox-search-row:hover td,.medibox-search-panel .medibox-search-row:focus td{background:#f0f1ff!important;border-color:#e4e3ff!important}.medibox-search-panel .medibox-search-name{min-width:250px}.medibox-search-panel .medibox-search-name>a{display:block;color:#27324a;font-size:13px;line-height:1.3}.medibox-search-panel .medibox-search-responsible{display:block;margin-top:5px;color:#7d8799;font-size:10px;line-height:1.35}.medibox-search-panel .medibox-search-responsible span{font-weight:800;color:#616d82}.medibox-search-panel .medibox-search-row:hover .medibox-search-name>a,.medibox-search-panel .medibox-search-row:focus .medibox-search-name>a{color:#5d56df}
/* content */
.content-wrapper{background:var(--mbx-bg)!important}.container-p-y{padding-top:1.4rem!important}.card{border:1px solid #e9ebf1!important;border-radius:var(--mbx-radius)!important;box-shadow:0 8px 26px rgba(31,41,68,.055)!important;background:var(--mbx-panel)!important}.card-header{background:transparent!important;border-bottom:1px solid #eef0f4!important}.card-body{padding:22px!important}.alert{border-radius:12px!important;border:1px solid transparent}.alert-secondary{background:#fafbfc!important;border-color:#eceef2!important;color:#2d3749!important}.alert-secondary:hover{border-color:#d9dce5!important;box-shadow:0 8px 20px rgba(24,32,56,.05)}
/* forms */
.form-label,label{font-size:11px;font-weight:750;color:#5f6b80;margin-bottom:6px}.form-control,.form-select,.bootstrap-select>.dropdown-toggle{min-height:43px;border:1px solid #dfe3ea!important;border-radius:11px!important;background:#fff!important;color:#273044!important;font-size:13px!important;box-shadow:none!important;transition:.18s ease}.form-control:focus,.form-select:focus,.bootstrap-select>.dropdown-toggle:focus{border-color:#918bff!important;box-shadow:0 0 0 3px rgba(99,91,255,.10)!important}.form-control::placeholder{color:#adb5c3}.input-group-text{border-color:#dfe3ea!important;background:#f7f8fb!important;border-radius:11px}.form-check-input:checked{background-color:var(--mbx-primary)!important;border-color:var(--mbx-primary)!important}.btn{border-radius:10px!important;font-weight:700!important;font-size:12px!important;min-height:40px}.btn-primary{background:linear-gradient(135deg,var(--mbx-primary),#746cff)!important;border-color:transparent!important;box-shadow:0 7px 15px rgba(99,91,255,.20)}.btn-outline-primary{border-color:#cbc8ff!important;color:#5f58d9!important}.btn-outline-primary:hover{background:#f0efff!important;color:#514ad0!important}.btn-danger{background:#e95c63!important;border-color:#e95c63!important}.btn-success{background:#1eaa78!important;border-color:#1eaa78!important}
/* data/list */
.table{--bs-table-bg:transparent;color:#334057}.table thead th{font-size:10px;text-transform:uppercase;letter-spacing:.7px;color:#8a94a6;border-bottom-color:#eceef3!important;background:#fafbfc!important}.table td{font-size:12px;vertical-align:middle;border-color:#f0f1f4!important}.badge{border-radius:8px!important;font-size:10px!important;padding:5px 8px!important}.bg-label-primary{background:#ecebff!important;color:#5f57da!important}.bg-label-success{background:#e8f8f1!important;color:#15855e!important}.bg-label-warning{background:#fff4dd!important;color:#b97817!important}.pagination .page-link{border:0!important;border-radius:9px!important;margin:0 2px;color:#697386;background:#f3f4f7}.pagination .active .page-link{background:var(--mbx-primary)!important;color:#fff!important}.dropdown-menu{border-radius:12px!important;border:1px solid #e7e9ef!important;box-shadow:var(--mbx-shadow)!important}
/* toolbar + sections */
.medibox-toolbar{background:#f8f9fb;border:1px solid #eceef3;border-radius:14px;padding:10px 12px}.medibox-section-title{font-weight:800;font-size:16px;color:#202a3d;letter-spacing:-.2px}.medibox-section-subtitle{font-size:11px;color:#8b95a7}.medibox-stat{border:1px solid #eceef3;background:#fff;border-radius:12px;padding:10px 12px}.medibox-stat small{color:#8e98aa;font-size:10px}.medibox-stat b{display:block;color:#243047;font-size:18px}.medibox-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 18px}.medibox-form-grid.medibox-form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.medibox-form-grid .full{grid-column:1/-1}.medibox-form-section{padding:18px 0;border-bottom:1px solid #eff1f4}.medibox-form-section:last-child{border-bottom:0}.medibox-form-section h6{font-size:12px;font-weight:800;color:#2b3549;margin-bottom:14px}.medibox-institution-row{transition:.18s ease}.institution-name{font-size:14px}
/* auth */
.medibox-auth-page{min-height:100vh;background:radial-gradient(circle at 20% 10%,rgba(99,91,255,.14),transparent 28%),radial-gradient(circle at 90% 90%,rgba(33,199,217,.10),transparent 30%),#f6f7fb;display:grid;place-items:center;padding:24px}.medibox-auth-shell{width:min(520px,100%);display:grid;grid-template-columns:1fr;background:#fff;border-radius:24px;overflow:hidden;border:1px solid #e7e9f0;box-shadow:0 30px 80px rgba(24,32,55,.13)}.medibox-auth-visual{padding:48px;background:linear-gradient(145deg,#111827,#1b2340);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:560px}.medibox-auth-visual .brand{display:flex;align-items:center;gap:12px}.medibox-auth-visual .brand .medibox-brand-mark{width:48px;height:48px}.medibox-auth-visual h1{font-size:34px;line-height:1.12;margin:30px 0 12px;color:#fff}.medibox-auth-visual p{color:#9aa6bd;max-width:380px}.medibox-auth-dbs{display:flex;gap:8px;flex-wrap:wrap}.medibox-auth-dbs span{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);border-radius:10px;padding:7px 9px;font-size:10px;color:#b9c3d5}.medibox-auth-form{padding:52px 44px;display:flex;flex-direction:column;justify-content:center}.medibox-auth-logo{display:block;width:min(300px,72%);height:auto;margin:0 auto 30px}.medibox-auth-form h2{font-size:24px;margin-bottom:4px}.medibox-auth-form>p{color:#8a94a6;font-size:12px;margin-bottom:28px}.medibox-auth-form .form-control{height:48px}.medibox-auth-form .btn{height:48px;margin-top:8px}
@media(max-width:1199.98px){.layout-menu-fixed .layout-page{padding-left:0!important}.layout-menu-fixed .layout-navbar{left:auto!important}.medibox-sidebar{width:270px!important}.medibox-search-panel{left:1rem;right:1rem}.medibox-global-search{max-width:none}.medibox-auth-shell{grid-template-columns:1fr}.medibox-auth-visual{display:none}}
@media(max-width:767.98px){.card-body{padding:16px!important}.medibox-form-grid,.medibox-form-grid.medibox-form-grid-3{grid-template-columns:1fr}.medibox-top-chip{display:none!important}.medibox-auth-form{padding:34px 24px}.container-p-y{padding-left:12px!important;padding-right:12px!important}}

@media(max-width:991.98px){.medibox-topbar.layout-navbar.navbar-detached{width:calc(100% - 2rem)!important;max-width:none!important;margin-left:1rem!important;margin-right:1rem!important}}

/* Native select chevron — keep visible after the custom background shorthand. */
.form-select:not([multiple]):not([size]),
.form-select[size="1"] {
  padding-right: 2.65rem !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23606b80' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.8' d='m3.5 6 4.5 4 4.5-4'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right .9rem center !important;
  background-size: 16px 16px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Bootstrap-select controls use a generated caret rather than a native select arrow. */
.bootstrap-select > .dropdown-toggle {
  padding-right: 2.65rem !important;
  position: relative;
}
.bootstrap-select > .dropdown-toggle::after {
  position: absolute;
  right: .95rem;
  top: 50%;
  margin: 0 !important;
  transform: translateY(-50%);
}


/* Integrated Support module */
.mbx-support-kpi{border:1px solid #e9ebf1!important;background:#fff!important;transition:.18s ease;cursor:pointer;padding:0!important}.mbx-support-kpi:hover,.mbx-support-kpi.active{transform:translateY(-2px);border-color:#d5d2ff!important;box-shadow:0 10px 26px rgba(45,51,84,.09)!important}.mbx-support-kpi .card-body{padding:16px!important}.mbx-support-kpi small{display:block;color:#8d97a9;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.45px}.mbx-support-kpi b{display:block;font-size:22px;line-height:1.1;color:#273249;margin-top:2px}.mbx-support-kpi-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#f1f2f6;color:#5d687d;font-size:21px;flex:0 0 40px}.mbx-support-kpi-icon.primary{background:#efeeff;color:#655df0}.mbx-support-kpi-icon.success{background:#e9f8f1;color:#159168}.mbx-support-kpi-icon.warning{background:#fff5df;color:#c17a0d}.mbx-support-kpi-icon.danger{background:#ffebef;color:#d54758}.mbx-support-table thead th{padding:13px 16px!important;white-space:nowrap}.mbx-support-table tbody td{padding:14px 16px!important}.mbx-support-table .ticket-row{cursor:pointer;transition:.15s ease}.mbx-support-table .ticket-row:hover td{background:#fbfbfe}.mbx-support-table .ticket-row.completed{opacity:.68}.mbx-support-table .ticket-row.completed .mbx-support-title{text-decoration:line-through;color:#8993a5!important}.mbx-support-main-cell{min-width:340px;max-width:680px}.mbx-support-title{font-size:13px!important;font-weight:800!important;color:#29344a!important;text-decoration:none!important;line-height:1.35}.mbx-support-title:hover{color:#625be6!important}.mbx-support-description{font-size:11px;color:#8a94a6;margin-top:4px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;white-space:pre-line}.mbx-support-ticket-id{display:inline-flex;align-items:center;border:1px solid #dedcff;background:#f2f1ff;color:#625be1;border-radius:999px;padding:5px 8px;font-size:10px;font-weight:800;white-space:nowrap}.mbx-support-date{display:inline-flex;align-items:center;gap:5px;color:#677389;font-size:11px;white-space:nowrap}.mbx-support-badge{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:800;white-space:nowrap}.mbx-support-badge i{font-size:11px}.mbx-support-priority-high{background:#ffe9ec;color:#d64a5b}.mbx-support-priority-medium{background:#fff3d8;color:#b67613}.mbx-support-priority-low{background:#e9f8ef;color:#1b8a60}.mbx-support-status-pending{background:#eff1f5;color:#657085}.mbx-support-status-progress{background:#e9f1ff;color:#3979d6}.mbx-support-status-completed{background:#e6f8f4;color:#148a72}.mbx-support-status-hold{background:#fbe9f0;color:#c53e72}.mbx-support-detail-box{min-height:100px;border:1px solid #eaecf1;background:#f8f9fb;border-radius:12px;padding:15px;white-space:pre-line;color:#445067;font-size:12px;line-height:1.6}.mbx-support-empty-row:hover td{background:transparent!important}
@media(max-width:767.98px){.mbx-support-table thead th,.mbx-support-table tbody td{padding:11px 12px!important}.mbx-support-main-cell{min-width:260px}}

/* OPSTA institution profile + doctor forms: full-width responsive layout */
.mbx-profile-page,.mbx-user-form-page{width:100%;max-width:none!important}
.mbx-profile-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:20px;border-bottom:1px solid #eef0f4}
.mbx-profile-title{font-size:22px;font-weight:800;line-height:1.25;overflow-wrap:anywhere}.mbx-profile-title.is-active,.mbx-profile-status-icon.is-active{color:#1a9b6d}.mbx-profile-title.is-inactive,.mbx-profile-status-icon.is-inactive{color:#dc5260}.mbx-profile-status-icon{font-size:26px;flex:0 0 auto}.mbx-profile-layout{display:grid;grid-template-columns:110px minmax(0,1fr);gap:24px;align-items:start}.mbx-profile-avatar-wrap{display:flex;justify-content:center}.mbx-profile-avatar{width:96px;height:96px;object-fit:cover;border-radius:18px;border:1px solid #e8eaf0;box-shadow:0 8px 22px rgba(31,41,68,.08)}.mbx-profile-content{min-width:0}.mbx-profile-info-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.mbx-profile-info{min-width:0;border:1px solid #eceef3;background:#fafbfc;border-radius:12px;padding:12px 13px}.mbx-profile-info span{display:block;color:#8b95a7;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.45px;margin-bottom:4px}.mbx-profile-info strong{display:block;color:#28344a;font-size:12px;font-weight:750;overflow-wrap:anywhere}.mbx-profile-flags-form{margin-top:16px;padding-top:16px;border-top:1px solid #eef0f4}.mbx-profile-flags-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.mbx-profile-flag{display:flex;align-items:center;gap:9px;margin:0!important;padding:11px 12px;border:1px solid #e9ebf1;border-radius:11px;background:#fff;color:#344057!important;font-size:11px!important;font-weight:750!important;min-width:0}.mbx-profile-flag .form-check-input{width:19px!important;height:19px!important;flex:0 0 19px}.mbx-profile-flag span{overflow-wrap:anywhere}.mbx-profile-flags-actions{display:flex;justify-content:flex-end;margin-top:12px}
.mbx-doctors-card .card-header{padding:17px 20px!important}.mbx-doctors-card .card-body{display:flex;flex-direction:column;gap:12px}.mbx-doctor-item{display:flex;align-items:center;justify-content:space-between;gap:18px;border:1px solid #e9ebf1;border-radius:14px;padding:14px;background:#fff;transition:.18s ease}.mbx-doctor-item:hover{border-color:#dedcff;box-shadow:0 8px 22px rgba(31,41,68,.05)}.mbx-doctor-main{display:flex;align-items:flex-start;gap:13px;min-width:0;flex:1}.mbx-doctor-avatar{width:52px;height:52px;border-radius:14px;object-fit:cover;flex:0 0 52px}.mbx-doctor-copy{min-width:0;flex:1}.mbx-doctor-name{font-size:14px;font-weight:800;color:#554fd0;margin-bottom:8px;overflow-wrap:anywhere}.mbx-doctor-meta-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 14px}.mbx-doctor-meta-grid>div{min-width:0}.mbx-doctor-meta-grid span{display:block;color:#8c96a8;font-size:9px;font-weight:800;text-transform:uppercase;letter-spacing:.35px}.mbx-doctor-meta-grid b{display:block;color:#354158;font-size:11px;font-weight:750;overflow-wrap:anywhere}.mbx-doctor-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap;flex:0 0 auto}.icon-btn{width:40px;height:40px;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:11px;background:#fff;border:1px solid #e4e7ed;box-shadow:0 4px 12px rgba(31,41,68,.05);text-decoration:none;transition:.15s ease}.icon-btn i{font-size:20px}.icon-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(31,41,68,.10)}.icon-green i{color:#198754}.icon-blue i{color:#0d6efd}.icon-amber i{color:#fd7e14}.icon-purple i{color:#696cff}.icon-gray i{color:#495057}.mbx-profile-empty{display:flex;align-items:center;justify-content:center;gap:9px;min-height:90px;color:#8b95a7;font-size:12px;border:1px dashed #dfe3ea;border-radius:12px}.mbx-profile-empty i{font-size:22px}.mbx-user-form-card{width:100%}.mbx-user-form-grid>.col-12{min-width:0}.mbx-user-form-actions{width:100%}.mbx-user-form-buttons{margin-left:auto}.mbx-user-form-page .form-control,.mbx-user-form-page .form-select{width:100%}
@media(max-width:1199.98px){.mbx-profile-info-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mbx-profile-flags-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.mbx-doctor-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mbx-doctor-item{align-items:flex-start}.mbx-doctor-actions{max-width:104px}}
@media(max-width:767.98px){.mbx-profile-page,.mbx-user-form-page{padding-left:12px!important;padding-right:12px!important}.mbx-profile-card .card-body,.mbx-user-form-card .card-body{padding:16px!important}.mbx-profile-heading{align-items:flex-start;margin-bottom:16px;padding-bottom:14px}.mbx-profile-title{font-size:18px}.mbx-profile-edit-btn{min-width:42px;padding-left:10px!important;padding-right:10px!important}.mbx-profile-edit-btn span{display:none}.mbx-profile-layout{grid-template-columns:1fr;gap:14px}.mbx-profile-avatar-wrap{justify-content:flex-start}.mbx-profile-avatar{width:72px;height:72px;border-radius:15px}.mbx-profile-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mbx-profile-info{padding:10px}.mbx-profile-flags-grid{grid-template-columns:1fr}.mbx-profile-flags-actions .btn{width:100%}.mbx-doctors-card .card-header{padding:14px 16px!important}.mbx-add-doctor-btn{width:100%;justify-content:center}.mbx-doctor-item{flex-direction:column;gap:13px;padding:12px}.mbx-doctor-main{width:100%}.mbx-doctor-avatar{width:46px;height:46px;flex-basis:46px}.mbx-doctor-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.mbx-doctor-actions{width:100%;max-width:none;justify-content:flex-start;border-top:1px solid #eef0f4;padding-top:11px}.mbx-doctor-actions .icon-btn{flex:1 1 44px;max-width:54px}.mbx-mobile-page-head{align-items:flex-start!important}.mbx-mobile-page-head>div:first-child{width:100%}.mbx-mobile-page-head>a.btn{width:100%;justify-content:center}.mbx-user-form-actions{align-items:stretch!important}.mbx-user-form-actions>small{width:100%}.mbx-user-form-buttons{width:100%;margin-left:0;display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.mbx-user-form-buttons .btn{width:100%;justify-content:center}.mbx-user-form-page .form-control,.mbx-user-form-page .form-select{min-height:46px}.modal-fullscreen-sm-down .modal-footer{display:grid;grid-template-columns:1fr 1fr;gap:8px}.modal-fullscreen-sm-down .modal-footer>*{margin:0!important;width:100%}}
@media(max-width:479.98px){.mbx-profile-info-grid{grid-template-columns:1fr}.mbx-doctor-meta-grid{grid-template-columns:1fr}.mbx-doctor-actions .icon-btn{max-width:none}.mbx-user-form-buttons{grid-template-columns:1fr}.modal-fullscreen-sm-down .modal-footer{grid-template-columns:1fr}}

/* Doctor add/edit: full-width 3-column form grid */
.mbx-user-form-page,
.mbx-user-form-card,
.mbx-user-form-card .card-body,
.mbx-user-form-card #passwordForm,
.mbx-user-form-grid {
  width:100%!important;
  max-width:none!important;
}
.mbx-user-form-grid {
  display:grid!important;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:1rem 1.5rem!important;
  margin:0!important;
}
.mbx-user-form-grid > .col-12 {
  flex:none!important;
  width:auto!important;
  max-width:none!important;
  min-width:0;
  padding:0!important;
}
/* Shared-login area must occupy the full card-body width. */
.mbx-user-form-grid > .mbx-institution-login-row,
.mbx-user-form-grid > .mbx-doctor-login-row {
  grid-column:1 / -1!important;
  width:100%!important;
}
.mbx-doctor-login-row > .row {
  width:100%!important;
}
@media(max-width:991.98px){
  .mbx-user-form-grid{grid-template-columns:repeat(2, minmax(0, 1fr));}
}
@media(max-width:767.98px){
  .mbx-user-form-grid{grid-template-columns:1fr;}
}

/* Form controls: higher contrast against white cards */
.form-control,
.form-select,
.bootstrap-select > .dropdown-toggle {
  background:#f1f4f8!important;
  border:1px solid #a8b3c2!important;
  color:#1f2937!important;
  box-shadow:0 1px 3px rgba(31,41,68,.08)!important;
}
.form-control:hover,
.form-select:hover,
.bootstrap-select > .dropdown-toggle:hover {
  background:#edf1f6!important;
  border-color:#8997aa!important;
}
.form-control:focus,
.form-select:focus,
.bootstrap-select > .dropdown-toggle:focus {
  background:#fff!important;
  border-color:#655cdb!important;
  box-shadow:0 0 0 3px rgba(99,91,255,.18),0 1px 3px rgba(31,41,68,.08)!important;
}
.form-control::placeholder {
  color:#6f7c8f!important;
  opacity:1!important;
}
.form-control:disabled,
.form-control[readonly],
.form-select:disabled {
  background:#e4e8ee!important;
  border-color:#aeb7c4!important;
  color:#667386!important;
  opacity:1;
}
.input-group-text {
  background:#e7ebf1!important;
  border-color:#a8b3c2!important;
  color:#465368!important;
  font-weight:650;
}
.form-label,
label {
  color:#465368!important;
  font-weight:800!important;
}
.form-check-input {
  border-color:#929fb0!important;
  background-color:#f1f4f8!important;
}
