/* Sehat Online Staff/Admin standalone portal — v4.2.4 */
html,body{margin:0!important;padding:0!important;width:100%!important;max-width:none!important;background:#f5f8fa!important;}
body.sehat-staff-standalone{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#19324d;overflow-x:hidden;}
body.sehat-staff-standalone #Header,body.sehat-staff-standalone #Header_wrapper,body.sehat-staff-standalone #Top_bar,body.sehat-staff-standalone #Subheader,body.sehat-staff-standalone #Footer,body.sehat-staff-standalone .mfn-footer,body.sehat-staff-standalone #wpadminbar{display:none!important;}
body.sehat-staff-standalone #Wrapper,body.sehat-staff-standalone #Content,body.sehat-staff-standalone .content_wrapper,body.sehat-staff-standalone .sections_group,body.sehat-staff-standalone .entry-content{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#f5f8fa!important;border:0!important;box-shadow:none!important;}
.sehat-portal-app{display:flex!important;width:100%!important;max-width:none!important;min-height:100vh!important;margin:0!important;border-radius:0!important;background:#f5f8fa!important;overflow:visible!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#19324d;}
.sehat-portal-sidebar{width:250px!important;flex:0 0 250px!important;box-sizing:border-box;background:#102333!important;color:#fff!important;padding:24px 14px!important;min-height:100vh!important;}
.sehat-portal-logo{font-weight:800!important;letter-spacing:.5px!important;font-size:20px!important;padding:8px 12px 28px!important;color:#fff!important;}
.sehat-portal-sidebar nav a{display:block!important;color:#dce7ef!important;text-decoration:none!important;padding:11px 13px!important;border-radius:9px!important;margin:3px 0!important;font-size:14px!important;line-height:1.35!important;}
.sehat-portal-sidebar nav a.active,.sehat-portal-sidebar nav a:hover{background:#087f82!important;color:#fff!important;}
.sehat-nav-group{font-size:10px!important;letter-spacing:1.2px!important;color:#7e98aa!important;margin:22px 12px 7px!important;}
.sehat-portal-main{flex:1 1 auto!important;min-width:0!important;width:calc(100% - 250px)!important;}
.sehat-portal-header{background:#fff!important;border-bottom:1px solid #e4eaee!important;padding:25px 30px!important;display:flex!important;justify-content:space-between!important;align-items:center!important;box-sizing:border-box!important;}
.sehat-portal-header h1{margin:3px 0 0!important;font-size:28px!important;line-height:1.2!important;color:#19324d!important;}
.sehat-eyebrow{font-size:11px!important;letter-spacing:1.3px!important;color:#07868a!important;font-weight:700!important;}
.sehat-portal-user{font-weight:600!important;background:#f1f5f7!important;border-radius:30px!important;padding:10px 15px!important;color:#19324d!important;}
.sehat-portal-content{padding:28px!important;box-sizing:border-box!important;width:100%!important;max-width:none!important;}
.sehat-portal-content *{box-sizing:border-box;}
.sehat-portal-kpis{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;margin-bottom:24px!important;}
.sehat-portal-kpis>div,.sehat-portal-section,.sehat-portal-cards>a{background:#fff!important;border:1px solid #e2e9ed!important;border-radius:14px!important;box-shadow:0 3px 12px rgba(16,35,51,.05)!important;}
.sehat-portal-kpis>div{padding:20px!important;}
.sehat-portal-kpis span{display:block!important;color:#708394!important;font-size:13px!important;}
.sehat-portal-kpis strong{display:block!important;font-size:28px!important;margin-top:8px!important;}
.sehat-portal-section{padding:22px!important;}
.sehat-portal-section h2{margin-top:0!important;}
.sehat-portal-cards{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;}
.sehat-portal-cards>a{padding:20px!important;text-decoration:none!important;color:#19324d!important;display:flex!important;flex-direction:column!important;gap:8px!important;}
.sehat-portal-cards>a span{color:#078b87!important;font-size:13px!important;}
@media(max-width:900px){.sehat-portal-app{display:flex!important}.sehat-portal-sidebar{width:210px!important;flex-basis:210px!important}.sehat-portal-main{width:calc(100% - 210px)!important}.sehat-portal-content{padding:18px!important}.sehat-portal-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.sehat-portal-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.sehat-portal-app{display:block!important}.sehat-portal-sidebar{width:100%!important;min-height:auto!important}.sehat-portal-main{width:100%!important}.sehat-portal-sidebar nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:4px!important}.sehat-nav-group{grid-column:1/-1!important}.sehat-portal-header{padding:18px!important;display:block!important}.sehat-portal-user{margin-top:12px!important}.sehat-portal-content{padding:14px!important}.sehat-portal-kpis,.sehat-portal-cards{grid-template-columns:1fr!important}}
/* v4.3.0 — branded account sidebar + doctor module presentation */
.sehat-portal-brand{display:flex;align-items:center;gap:10px;padding:4px 10px 18px;color:#fff}
.sehat-portal-brand img{width:38px;height:38px;object-fit:contain;border-radius:7px;background:#fff;padding:3px}
.sehat-portal-brand span{font-size:18px;font-weight:800;letter-spacing:.4px}
.sehat-portal-account{display:flex;align-items:center;gap:10px;padding:12px 10px;margin:0 0 14px;border-top:1px solid rgba(255,255,255,.08);border-bottom:1px solid rgba(255,255,255,.08)}
.sehat-portal-account img{width:42px;height:42px;border-radius:50%;object-fit:cover;background:#e9eef2}
.sehat-portal-account strong,.sehat-portal-account small{display:block;color:#fff}
.sehat-portal-account strong{font-size:13px;line-height:1.25}
.sehat-portal-account small{font-size:10px;color:#9db0bf;margin-top:3px;text-transform:capitalize}
.sehat-doctor-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.sehat-doctor-card-admin{display:flex;flex-direction:column;align-items:center;text-align:center;background:#fff;border:1px solid #e3eaee;border-radius:16px;padding:20px;box-shadow:0 4px 18px rgba(16,35,51,.05);min-width:0}
.sehat-doctor-card-admin img,.sehat-doctor-card-admin .placeholder{width:132px;height:132px;border-radius:14px;object-fit:cover;margin-bottom:13px;background:#edf3f5;display:flex;align-items:center;justify-content:center;font-weight:800;color:#087f82;font-size:24px}
.sehat-doctor-card-admin h3{margin:0 0 14px;font-size:17px;color:#19324d;line-height:1.3}
.sehat-doctor-card-admin .button{width:100%;max-width:180px;text-align:center;justify-content:center}
.sehat-doctor-profile-actions{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 15px;margin-bottom:20px;border:1px solid #e3eaee;border-radius:12px;background:#f8fbfc}
.sehat-doctor-profile-actions>div:first-child strong{display:block;margin-top:3px;font-size:13px;color:#19324d}
.sehat-action-buttons{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}
.sehat-delete-button{color:#b42318!important;border-color:#efc7c4!important;background:#fff!important}
@media(max-width:1000px){.sehat-doctor-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.sehat-portal-brand{padding-top:0}.sehat-doctor-card-grid{grid-template-columns:1fr}.sehat-doctor-profile-actions{align-items:flex-start;flex-direction:column}.sehat-action-buttons{justify-content:flex-start}.sehat-doctor-card-admin img,.sehat-doctor-card-admin .placeholder{width:110px;height:110px}}
.sehat-portal-brand{justify-content:flex-start;padding:2px 8px 18px}
.sehat-portal-brand img{width:175px;height:auto;max-height:58px;object-fit:contain;background:transparent;padding:0;border-radius:0}
@media(max-width:650px){.sehat-portal-brand img{width:165px;max-height:54px}}

/* v4.3.2 — standard portal controls, tables and navigation */
.sehat-plugin-backbar{display:flex;align-items:center;justify-content:flex-start;margin:0 0 14px;padding:0 0 2px}
.sehat-plugin-back{display:inline-flex!important;align-items:center!important;gap:6px!important;min-height:36px!important;padding:8px 12px!important;border:1px solid #d6e1e8!important;border-radius:8px!important;background:#fff!important;color:#183654!important;font-size:12px!important;font-weight:800!important;text-decoration:none!important;line-height:1.2!important;box-shadow:none!important}
.sehat-plugin-back:hover,.sehat-plugin-back:focus{background:#eef8f7!important;border-color:#087f79!important;color:#087f79!important}
.sehat-portal-content table.widefat,.sehat-portal-content table.sehat-table{width:100%!important;border-collapse:collapse!important;border-spacing:0!important;background:#fff!important;border:1px solid #dfe7ec!important;border-radius:10px!important;overflow:hidden}
.sehat-portal-content table.widefat thead th,.sehat-portal-content table.sehat-table thead th{background:#183654!important;color:#fff!important;border:0!important;padding:11px 13px!important;font-size:11px!important;font-weight:800!important;text-align:left!important;white-space:nowrap!important}
.sehat-portal-content table.widefat tbody td,.sehat-portal-content table.sehat-table tbody td{background:#fff!important;color:#183654!important;border-bottom:1px solid #e8eef2!important;padding:12px 13px!important;font-size:12px!important;line-height:1.45!important;text-align:left!important;vertical-align:middle!important}
.sehat-portal-content table.widefat tbody tr:hover td,.sehat-portal-content table.sehat-table tbody tr:hover td{background:#f8fbfc!important}
.sehat-portal-content .button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:36px!important;padding:8px 13px!important;border:1px solid #087f79!important;border-radius:8px!important;background:#087f79!important;color:#fff!important;font-size:12px!important;font-weight:800!important;line-height:1.2!important;text-decoration:none!important;box-shadow:none!important;cursor:pointer!important}
.sehat-portal-content .button:hover,.sehat-portal-content .button:focus{background:#066d68!important;border-color:#066d68!important;color:#fff!important}
.sehat-portal-content .button.button-secondary,.sehat-portal-content .button.secondary{background:#fff!important;color:#183654!important;border-color:#d6e1e8!important}
.sehat-portal-content .button.button-secondary:hover,.sehat-portal-content .button.secondary:hover{background:#f5f8fa!important;color:#087f79!important;border-color:#087f79!important}
.sehat-portal-content .button.sehat-delete-button,.sehat-portal-content .button.button-danger{background:#b42318!important;border-color:#b42318!important;color:#fff!important}
@media(max-width:650px){.sehat-plugin-backbar{margin-bottom:10px}.sehat-portal-content table.widefat,.sehat-portal-content table.sehat-table{min-width:720px}.sehat-portal-content .button{min-height:34px;padding:7px 11px}}


/* v4.3.8 password visibility controls */
.sehat-password-wrap{position:relative;display:block;width:100%;}
.sehat-password-wrap>input[type=password],.sehat-password-wrap>input[type=text]{padding-right:44px!important;box-sizing:border-box;}
.sehat-password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:32px;height:32px;display:flex;align-items:center;justify-content:center;padding:0!important;margin:0!important;border:0!important;background:transparent!important;color:#52677d!important;cursor:pointer!important;border-radius:7px!important;box-shadow:none!important;}
.sehat-password-toggle:hover{background:#eef4f7!important;color:#0b8a7e!important;}
.sehat-password-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;}
.sehat-password-toggle.is-visible{color:#0b8a7e!important;background:#e8f5f3!important;}
@media(max-width:600px){.sehat-password-toggle{right:6px;width:34px;height:34px;}}


/* v4.4.6 — separate Expenses and Invoices portal modules, inactive tabs and version badge */
.sehat-portal-sidebar{position:relative!important;display:flex!important;flex-direction:column!important;}
.sehat-portal-sidebar nav{flex:0 0 auto!important;}
.sehat-portal-version{margin-top:auto!important;padding:18px 12px 4px!important;color:#7f97a8!important;font-size:10px!important;line-height:1.5!important;letter-spacing:.3px!important;border-top:1px solid rgba(255,255,255,.07)!important;}
.sehat-portal-version strong{color:#a9bbc7!important;font-size:10px!important;font-weight:700!important;}
/* Finance/expense tab buttons: inactive tabs must remain readable on the light background. */
.sehat-portal-content .sehat-hr-tabs{background:#f7fafc!important;border:1px solid #dce6eb!important;padding:7px!important;gap:7px!important;}
.sehat-portal-content .sehat-hr-tabs .button,
.sehat-portal-content .sehat-hr-tabs a.button:not(.button-primary){background:#eef3f6!important;color:#183654!important;border:1px solid #d5e0e7!important;box-shadow:none!important;}
.sehat-portal-content .sehat-hr-tabs .button:hover,
.sehat-portal-content .sehat-hr-tabs a.button:not(.button-primary):hover{background:#e5f3f1!important;color:#087f79!important;border-color:#9fd4ce!important;}
.sehat-portal-content .sehat-hr-tabs .button.button-primary,
.sehat-portal-content .sehat-hr-tabs a.button.button-primary{background:#087f79!important;color:#fff!important;border-color:#087f79!important;}
.sehat-portal-content .sehat-hr-tabs .button.button-primary:hover{background:#066d68!important;color:#fff!important;border-color:#066d68!important;}
/* Invoice module is visually independent from Expenses. */
.sehat-portal-content .sehat-invoice-module-tabs{display:flex!important;gap:8px!important;align-items:center!important;margin:0 0 18px!important;padding:7px!important;background:#f7fafc!important;border:1px solid #dce6eb!important;border-radius:12px!important;}
.sehat-portal-content .sehat-invoice-module-tabs a{display:inline-flex!important;align-items:center!important;padding:9px 14px!important;border-radius:8px!important;text-decoration:none!important;background:#eef3f6!important;color:#183654!important;border:1px solid #d5e0e7!important;font-size:12px!important;font-weight:800!important;}
.sehat-portal-content .sehat-invoice-module-tabs a.active,.sehat-portal-content .sehat-invoice-module-tabs a:hover{background:#087f79!important;color:#fff!important;border-color:#087f79!important;}
@media(max-width:650px){.sehat-portal-version{text-align:center}.sehat-portal-content .sehat-hr-tabs{overflow-x:auto;flex-wrap:nowrap!important}.sehat-portal-content .sehat-hr-tabs .button{flex:0 0 auto!important;white-space:nowrap!important}}
