* { box-sizing: border-box; }
html { background: #dce6ea; }
body { margin: 0; color: #183444; font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 15px; line-height: 1.5; }
a { color: #1e607c; }

.ssah-portal-body { min-height: 100vh; background: #dce6ea; }
.ssah-portal { min-height: 100vh; }
.ssah-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 30; display: flex; width: 250px; flex-direction: column; padding: 22px 16px; color: #e9f2f4; background: linear-gradient(180deg,#12394e,#0e2d3d); box-shadow: 5px 0 24px rgba(10,35,48,.12); }
.ssah-sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 0 7px 22px; color: #fff; text-decoration: none; }
.ssah-sidebar-brand strong, .ssah-sidebar-brand small { display: block; }
.ssah-sidebar-brand strong { font-size: 15px; }
.ssah-sidebar-brand small { color: #b9d0d8; font-size: 12px; }
.ssah-brand-logo { display: block; width: 68px; height: 70px; flex: 0 0 68px; object-fit: contain; object-position: center; }
.ssah-nav { display: flex; flex: 1; flex-direction: column; gap: 3px; overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.ssah-nav::-webkit-scrollbar { width: 0; height: 0; }
.ssah-nav a, .ssah-nav-toggle { padding: 10px 12px; border-radius: 8px; color: #d4e3e8; font-size: 14px; font-weight: 650; text-decoration: none; }
.ssah-nav a:hover, .ssah-nav a:focus, .ssah-nav a.active, .ssah-nav-toggle:hover, .ssah-nav-toggle:focus { outline: 0; color: #fff; background: rgba(255,255,255,.11); }
.ssah-nav a.active { box-shadow: inset 3px 0 #d6b36c; }
.ssah-nav-group { display: flex; flex-direction: column; gap: 2px; }
.ssah-nav-parent { position: relative; }
.ssah-nav-toggle { width: 100%; border: 0; background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
.ssah-nav-parent::after { position: absolute; right: 11px; top: 50%; content: "›"; color: #9fb9c3; font-size: 17px; line-height: 1; transform: translateY(-50%); transition: transform .15s ease; }
.ssah-nav-group.is-open .ssah-nav-parent::after { transform: translateY(-50%) rotate(90deg); }
.ssah-nav-parent.active-parent { color: #fff; background: rgba(255,255,255,.07); }
.ssah-nav-submenu { display: none; flex-direction: column; gap: 2px; margin: 0 0 3px 12px; padding-left: 9px; border-left: 1px solid rgba(214,179,108,.42); }
.ssah-nav-group.is-open .ssah-nav-submenu { display: flex; }
.ssah-nav-submenu a { padding: 7px 10px; border-radius: 7px; color: #bfd3da; font-size: 12.5px; font-weight: 620; }
.ssah-nav-submenu a.active { box-shadow: inset 2px 0 #d6b36c; color: #fff; background: rgba(255,255,255,.11); }
.ssah-nav-subgroup { display: flex; flex-direction: column; gap: 2px; }
.ssah-nav-subgroup-toggle { position: relative; width: 100%; padding: 7px 28px 7px 10px; border: 0; border-radius: 7px; background: transparent; color: #bfd3da; font-family: inherit; font-size: 12.5px; font-weight: 700; text-align: left; cursor: pointer; }
.ssah-nav-subgroup-toggle:hover, .ssah-nav-subgroup-toggle:focus, .ssah-nav-subgroup-toggle.active-parent { outline: 0; color: #fff; background: rgba(255,255,255,.09); }
.ssah-nav-subgroup-toggle::after { position: absolute; right: 10px; top: 50%; content: "›"; color: #9fb9c3; font-size: 15px; line-height: 1; transform: translateY(-50%); transition: transform .15s ease; }
.ssah-nav-subgroup.is-open .ssah-nav-subgroup-toggle::after { transform: translateY(-50%) rotate(90deg); }
.ssah-nav-subgroup-menu { display: none; flex-direction: column; gap: 2px; margin: 0 0 2px 10px; padding-left: 8px; border-left: 1px solid rgba(214,179,108,.30); }
.ssah-nav-subgroup.is-open .ssah-nav-subgroup-menu { display: flex; }
.ssah-nav-subgroup-menu a { padding: 6px 9px; font-size: 12px; }
.ssah-sidebar-foot { display: flex; flex-direction: column; gap: 5px; margin-top: 15px; padding: 15px 10px 0; border-top: 1px solid rgba(255,255,255,.14); }
.ssah-sidebar-foot small { color: #adc5ce; font-size: 11px; }
.ssah-sidebar-foot a { margin-top: 5px; color: #f2d99e; font-size: 12px; }
.ssah-workspace { min-height: 100vh; margin-left: 250px; }
.ssah-menu-toggle { display: none; }
.ssah-main { max-width: 1500px; margin: 0 auto; padding: 12px 30px 45px; }
.ssah-main .ssah-wrap { max-width: none; }

.ssah-portal .button, .ssah-login-button { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; padding: 7px 13px; border: 1px solid #9fb2bb; border-radius: 7px; color: #173e52; background: #fff; box-shadow: none; font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; }
.ssah-portal .button:hover, .ssah-portal .button:focus { border-color: #2a7180; color: #164b63; background: #f4fafb; }
.ssah-portal .button-primary { border-color: #1e6073; color: #fff; background: #1e6073; }
.ssah-portal .button-primary:hover, .ssah-portal .button-primary:focus { color: #fff; background: #174d5c; }
.ssah-portal .button-small { min-height: 31px; padding: 5px 9px; font-size: 12px; }
.ssah-portal .button-link-delete { min-height: 38px; padding: 6px 8px; border: 0; color: #9a2929; background: transparent; cursor: pointer; }
.ssah-portal button:disabled { opacity: .6; cursor: wait; }
.ssah-portal input, .ssah-portal select, .ssah-portal textarea { padding: 7px 9px; border: 1px solid #708a96; border-radius: 7px; color: #183444; background: #fff; box-shadow: inset 0 1px 2px rgba(20,52,68,.08); font: inherit; }
.ssah-portal input:focus, .ssah-portal select:focus, .ssah-portal textarea:focus { outline: 3px solid rgba(42,113,128,.2); outline-offset: 0; border-color: #1f6878; }
.ssah-portal input:disabled, .ssah-portal input[readonly], .ssah-portal select:disabled, .ssah-portal textarea:disabled { color: #536873; background: #e2e9ec; }
.ssah-portal input[type="checkbox"] { min-width: 17px; min-height: 17px; padding: 0; }
.ssah-portal .widefat { width: 100%; border-collapse: collapse; }
.ssah-portal .widefat th, .ssah-portal .widefat td { padding: 11px 10px; border-bottom: 1px solid #afc0c8; text-align: left; }
.ssah-portal .widefat.striped tbody tr:nth-child(odd) { background: #fff; }
.ssah-portal .widefat.striped tbody tr:nth-child(even) { background: #e8f0f3; }
.ssah-portal .widefat tbody tr:hover { background: #d7e8ed; }
.ssah-portal .notice { margin: 0 0 18px; padding: 10px 14px; border: 1px solid #d9c07e; border-left: 4px solid #c49320; border-radius: 8px; background: #fff9e9; }
.ssah-portal .notice-error { border-color: #d9a3a3; border-left-color: #a22b2b; background: #fff0f0; }
.ssah-portal .notice-success { border-color: #9fcbb4; border-left-color: #268256; background: #effaf4; }
.ssah-portal .description { color: #637580; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.ssah-login-body { min-height: 100vh; background: linear-gradient(135deg,#0e3042 0%,#225f6e 52%,#d2b06b 160%); }
.ssah-login-shell { display: grid; min-height: 100vh; place-items: center; padding: 28px; }
.ssah-login-card { width: min(440px,100%); padding: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 20px; background: rgba(255,255,255,.98); box-shadow: 0 30px 80px rgba(4,25,35,.3); }
.ssah-login-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 30px; }
.ssah-login-brand span, .ssah-login-brand strong { display: block; }
.ssah-login-brand div > span { color: #607480; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ssah-login-brand div > strong { color: #153f57; font-size: 18px; }
.ssah-login-card h1 { margin: 0 0 6px; color: #153f57; font-size: 31px; line-height: 1.15; }
.ssah-login-intro { margin: 0 0 24px; color: #637580; }
.ssah-login-card form p { margin: 0 0 17px; }
.ssah-login-card label { display: block; margin-bottom: 6px; color: #294b5d; font-weight: 700; }
.ssah-login-card input[type="text"], .ssah-login-card input[type="password"] { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #708a96; border-radius: 8px; background: #fff; box-shadow: inset 0 1px 2px rgba(20,52,68,.08); font: inherit; }
.ssah-login-card input:focus { outline: 3px solid rgba(42,113,128,.2); border-color: #2a7180; }
.ssah-login-card input[type="submit"], .ssah-login-button { width: 100%; min-height: 47px; border: 0; border-radius: 8px; color: #fff; background: #1e6073; font: inherit; font-weight: 800; cursor: pointer; }
.ssah-login-help { margin: 17px 0 0; text-align: center; }
.ssah-login-notice { margin: 0 0 20px; padding: 11px 13px; border-radius: 8px; color: #784e0b; background: #fff2d8; }
.ssah-login-security { display: flex; flex-direction: column; margin-top: 27px; padding-top: 18px; border-top: 1px solid #e1e8ea; color: #607480; font-size: 12px; text-align: center; }
.ssah-login-security strong { color: #315364; }

@media (max-width: 850px) {
  .ssah-sidebar { transform: translateX(-105%); transition: transform .2s ease; }
  .ssah-menu-open .ssah-sidebar { transform: translateX(0); }
  .ssah-menu-open::after { position: fixed; inset: 0; z-index: 25; content: ""; background: rgba(5,25,35,.45); }
  .ssah-workspace { margin-left: 0; }
  .ssah-menu-toggle { display: inline-flex; min-height: 36px; align-items: center; margin: 8px 15px 0; padding: 6px 12px; border: 1px solid #a9bbc2; border-radius: 7px; color: #173e52; background: #fff; font: inherit; font-weight: 700; }
  .ssah-main { padding: 8px 15px 34px; }
}

@media (max-width: 520px) {
  .ssah-login-shell { padding: 16px; }
  .ssah-login-card { padding: 27px 22px; }
  .ssah-login-card h1 { font-size: 27px; }
}

.ssah-login-card .ssah-login-mfa small { display: block; margin-top: 6px; color: #637580; font-size: 11px; line-height: 1.4; }
.login .ssah-login-mfa small { display: block; margin-top: 5px; color: #646970; font-size: 12px; line-height: 1.35; }

@media (min-width: 1001px) {
  .ssah-main:has(.ssah-record-payment-workspace) { padding-top: 8px; padding-bottom: 8px; }
  .ssah-main:has(.ssah-record-payment-workspace) .ssah-footer { margin: 6px 0 0; font-size: 12px; }
}
