.company-portal{--portal-accent:#235985;--portal-tint:#f0f5fa;--portal-ink:#25333c;letter-spacing:0}
.company-portal.theme-emerald{--portal-accent:#17674f;--portal-tint:#eff5f2}
.company-portal.theme-burgundy{--portal-accent:#84364b;--portal-tint:#faf2f4}
.company-portal,.company-portal .dist-shell{background:var(--portal-tint);color:var(--portal-ink)}
.company-portal .dist-hero{display:flex;flex-direction:column;max-width:480px;min-height:0;margin:20px auto;box-shadow:none;border-top:4px solid var(--portal-accent)}
.company-portal .dist-intro{background:#fff;padding:32px 30px 0}
.company-portal .dist-logo{width:280px;max-width:100%;max-height:110px;filter:none}
.company-portal .dist-logo-name{font-size:32px;color:var(--portal-accent)}
.company-portal .dist-login{padding:24px 32px 32px}
.company-portal .dist-login h2{font-size:22px}
.company-portal .dist-btn,.company-portal .dist-menu a.active{background:var(--portal-accent);border-color:var(--portal-accent);color:#fff}
.company-portal .dist-field input:focus{border-color:var(--portal-accent);box-shadow:0 0 0 2px var(--portal-tint)}
.portal-brand{display:inline-flex;align-items:center;max-width:100%;margin-bottom:12px;text-decoration:none;font-size:28px;font-weight:700;color:#17674f}
.portal-brand img{display:block;width:200px;height:64px;max-width:100%;object-fit:contain;object-position:left center}
.company-portal .dist-title h1{font-size:24px;line-height:1.2}
.company-portal .dist-title p{font-size:13px}
@media(max-width:600px){.company-portal .dist-shell{padding-top:16px}.company-portal .dist-login{padding:24px}.company-portal .dist-hero{margin:0 auto}.portal-brand img{width:180px;height:58px}}

/* Corporate Blue is an opt-in company skin; layout and business components stay shared. */
.company-portal.theme-corporate-blue {
  --portal-accent:#1454b8;
  --portal-tint:#f5f7fb;
  --portal-ink:#203047;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--portal-ink);
  background:var(--portal-tint);
}
.theme-corporate-blue *, .theme-corporate-blue *::before, .theme-corporate-blue *::after {letter-spacing:0}
.theme-corporate-blue .dist-shell {min-height:100vh;padding:24px 0 36px;background:transparent}
.theme-corporate-blue .dist-wrap {width:calc(100% - 48px)}
.theme-corporate-blue.portal-signin {background:#f7f9fc}
.theme-corporate-blue.portal-signin::before {
  content:"";position:fixed;inset:0 0 auto;height:5px;z-index:2;
  background:#1454b8;border-right:22vw solid #36c4dc;
}
.theme-corporate-blue.portal-signin .dist-shell {
  display:grid;align-items:center;position:relative;isolation:isolate;padding:56px 0;
}
.theme-corporate-blue.portal-signin .dist-shell::before {
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:repeating-linear-gradient(90deg,transparent 0,transparent 119px,#dfe6ef60 119px,#dfe6ef60 120px);
}
.theme-corporate-blue.portal-signin .dist-shell::after {
  content:"";position:absolute;right:0;top:0;width:34%;height:100%;z-index:-1;pointer-events:none;
  background:#eaf0f9;clip-path:polygon(68% 0,100% 0,100% 100%,0 100%);
}
.theme-corporate-blue .dist-hero {
  max-width:460px;margin:0 auto;border:1px solid #d9e2f0;border-radius:8px;
  border-top:3px solid #1454b8;background:#fff;
  box-shadow:0 24px 70px -26px #193e7638,0 3px 12px #17365808;
  animation:uniasia-enter .6s cubic-bezier(.2,.7,.2,1) both;
}
.theme-corporate-blue .dist-intro {padding:38px 38px 28px;align-items:flex-start}
.theme-corporate-blue .dist-logo {width:270px;max-width:100%;height:64px;object-fit:contain;object-position:left;transition:filter .2s ease}
.theme-corporate-blue .dist-logo:hover {filter:drop-shadow(0 4px 7px #1454b820)}
.theme-corporate-blue .dist-login {padding:26px 38px 38px;border-top:1px solid #edf1f7;gap:0}
.theme-corporate-blue .dist-login h2 {font-size:22px;font-weight:600;color:#203047;margin-bottom:26px}
.theme-corporate-blue .dist-field label {font-size:12px;text-transform:none;font-weight:600;color:#52627a;margin-bottom:8px}
.theme-corporate-blue .dist-field input,.theme-corporate-blue .dist-field select,.theme-corporate-blue .form-control {
  border:1px solid #ccd7e6;border-radius:5px;background:#fff;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.theme-corporate-blue .dist-field input:focus,.theme-corporate-blue .form-control:focus {
  border-color:#267af0;box-shadow:0 0 0 3px #267af018;outline:0;
}
.theme-corporate-blue .dist-login .dist-field {margin-bottom:20px}
.theme-corporate-blue .dist-btn,.theme-corporate-blue .btn-primary {
  background:#1454b8;border-color:#1454b8;border-radius:5px;color:#fff;
  position:relative;overflow:hidden;isolation:isolate;
  transition:background .18s ease,box-shadow .18s ease,transform .18s ease;
}
.theme-corporate-blue .dist-btn:not(.danger):not([disabled]):hover,.theme-corporate-blue .btn-primary:hover {
  background:#10469b;box-shadow:0 5px 14px #1454b82b;transform:translateY(-1px);
}
.theme-corporate-blue .dist-login .dist-btn {margin-top:4px;min-height:48px}
.theme-corporate-blue .dist-login .dist-btn::after {
  content:"";position:absolute;inset:0;background:#ffffff1c;pointer-events:none;
  clip-path:polygon(0 0,18% 0,38% 100%,20% 100%);transform:translateX(-50%);
  transition:transform .5s cubic-bezier(.2,.7,.2,1);
}
.theme-corporate-blue .dist-login .dist-btn:hover::after {transform:translateX(100%)}
.theme-corporate-blue .dist-btn:focus-visible,.theme-corporate-blue a:focus-visible,.theme-corporate-blue button:focus-visible {
  outline:3px solid #36c4dc;outline-offset:3px;
}
.theme-corporate-blue .dist-btn.danger {background:#b8354b;border-color:#b8354b}
.theme-corporate-blue .dist-btn.danger:hover {background:#97283c}
.theme-corporate-blue .dist-header {padding:0 0 22px;border-bottom:1px solid #dce4ef;margin-bottom:24px;gap:24px}
.theme-corporate-blue .portal-brand {margin-bottom:12px;color:#1454b8}
.theme-corporate-blue .portal-brand img {width:198px;height:48px;object-position:left;transition:opacity .18s ease}
.theme-corporate-blue .portal-brand:hover img {opacity:.83}
.theme-corporate-blue .dist-title h1 {font-size:18px;line-height:1.3;font-weight:600}
.theme-corporate-blue .dist-title p {margin-top:6px;color:#62718a;font-size:12px}
.theme-corporate-blue .dist-menu {gap:6px}
.theme-corporate-blue .dist-menu a {border-color:transparent;background:transparent;color:#52627a;border-radius:5px;transition:background .18s ease,color .18s ease}
.theme-corporate-blue .dist-menu a:hover {background:#e7edf7;color:#1454b8;text-decoration:none}
.theme-corporate-blue .dist-menu a.active {background:#1454b8;color:#fff;box-shadow:0 3px 10px #1454b81c}
.theme-corporate-blue .dist-panel {border:0;border-radius:0;box-shadow:none;background:#fff;padding:24px}
.theme-corporate-blue .dist-panel h2,.theme-corporate-blue .catalogue-section h2 {font-size:21px;font-weight:600;color:#203047}
.theme-corporate-blue .dist-table thead th {background:#f4f7fc;color:#4c607c}
.theme-corporate-blue .dist-table tbody tr {transition:background .15s ease}
.theme-corporate-blue .dist-table tbody tr:hover {background:#edf4ff}
.theme-corporate-blue .catalogue-card {transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease}
.theme-corporate-blue .catalogue-card:hover {border-color:#8ab5f5;box-shadow:0 6px 18px #1454b814;transform:translateY(-2px)}
.theme-corporate-blue .catalogue-card:focus-visible {outline:3px solid #36c4dc;outline-offset:2px}
.theme-corporate-blue .modal-content {border:1px solid #d9e2f0;border-radius:8px;box-shadow:0 24px 80px #102c4d30}
.theme-corporate-blue .modal-header {border-top:3px solid #1454b8;background:#f8faff}
.theme-corporate-blue .users-wrap {padding-top:8px}
.theme-corporate-blue .users-toolbar {padding-bottom:18px;border-bottom:1px solid #dce4ef}
@keyframes uniasia-enter {from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:767px) {
  .theme-corporate-blue .dist-wrap {width:calc(100% - 28px)}
  .theme-corporate-blue .dist-header {align-items:flex-start;gap:16px}
  .theme-corporate-blue .dist-menu {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .theme-corporate-blue .dist-menu a {min-width:0;text-align:center;font-size:12px;padding:10px 8px}
  .theme-corporate-blue .dist-panel {padding:16px 12px}
}
@media(max-width:480px) {
  .theme-corporate-blue.portal-signin .dist-shell {padding:28px 0;min-height:100svh}
  .theme-corporate-blue .dist-intro {padding:28px 24px 24px}
  .theme-corporate-blue .dist-login {padding:24px}
  .theme-corporate-blue .dist-logo {width:250px;height:58px}
}
@media(prefers-reduced-motion:reduce) {
  .theme-corporate-blue *, .theme-corporate-blue *::before, .theme-corporate-blue *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
