/* Auth-only source stylesheet. No application bundle, external font or dashboard data needed. */
body:has(.digit-login) {
  margin: 0;
  background: #f4f5f0;
}
.digit-login {
  --ink: #123c31;
  --muted: #52665e;
  box-sizing: border-box;
  min-height: 100svh;
  padding: 30px clamp(20px, 5vw, 80px) 18px;
  font: 14px/1.65 "IBM Plex Sans Arabic", "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(ellipse at 100% 0, #dcece2 0, transparent 45%),
    #f4f5f0;
  text-align: start;
}
.digit-login * {
  box-sizing: border-box;
}
html[lang="ar"] .digit-login [lang="en"],
html[lang="en"] .digit-login [lang="ar"] {
  display: none;
}
.digit-login-header,
.digit-login-layout,
.digit-login-footer {
  max-width: 1280px;
  margin-inline: auto;
}
.digit-login-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 42px;
}
.digit-login-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}
.digit-login-brand > span {
  display: grid;
}
.digit-login-brand strong {
  font: 800 26px/1.1 system-ui, sans-serif;
  letter-spacing: 2px;
  direction: ltr;
}
.digit-login-brand-dot {
  color: #11835d;
}
.digit-login-brand small {
  font-size: 12px;
  margin-top: 5px;
  color: var(--muted);
}
.digit-login-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cbd8cf;
  border-radius: 30px;
  padding: 8px 17px;
  background: #ffffffb3;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
  min-height: 44px;
}
.digit-login-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.82fr) minmax(0, 1.65fr);
  gap: 28px;
  align-items: start;
}
.digit-login-card {
  padding: 36px 32px;
  background: white;
  border: 1px solid #dce4dc;
  border-radius: 24px;
  box-shadow: 0 12px 40px #173e2b08;
  position: sticky;
  top: 24px;
}
.digit-login-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #167151;
  margin-bottom: 14px;
}
.digit-login-card h1 {
  font-size: 31px;
  letter-spacing: -0.7px;
  line-height: 1.4;
  margin: 0 0 9px;
  font-weight: 700;
}
.digit-login-sub {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 30px;
}
.digit-login-form {
  display: grid;
  gap: 8px;
}
.digit-login-demo-jump {
  display: none;
  color: #24644b;
  font-size: 12px;
  text-underline-offset: 4px;
}
.digit-login-form label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 6px;
}
.digit-login-form input {
  width: 100%;
  height: 49px;
  border: 1px solid #cbd7d0;
  border-radius: 10px;
  background: #fafcf9;
  padding: 10px 13px;
  color: var(--ink);
  font: 15px system-ui, sans-serif;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.digit-login-form input:focus {
  outline: none;
  border-color: #16835e;
  box-shadow: 0 0 0 3px #16835e1c;
  background: #fff;
}
.digit-login-pwd {
  position: relative;
  margin-bottom: 2px;
}
.digit-login-pwd input {
  padding-right: 76px;
}
.digit-login-pwd button {
  position: absolute;
  right: 7px;
  top: 7px;
  bottom: 7px;
  min-width: 60px;
  border: 0;
  border-radius: 6px;
  background: #e9f1eb;
  color: #285f49;
  font: 12px "IBM Plex Sans Arabic", system-ui, sans-serif;
  cursor: pointer;
}
.digit-login-hint,
.digit-login-error {
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
  overflow-wrap: anywhere;
}
.digit-login-hint {
  color: #136342;
}
.digit-login-error {
  color: #b42318;
}
.digit-login-hint:empty,
.digit-login-error:empty {
  display: none;
}
.digit-login-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  min-height: 50px;
  padding: 12px 17px;
  margin-top: 12px;
  background: #064e3b;
  color: white;
  font: 600 14px "IBM Plex Sans Arabic", system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 6px 14px #064e3b15;
}
.digit-login-submit:hover {
  background: #086249;
}
.digit-login-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}
.digit-login-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 9px;
}
.digit-login-links a {
  color: #24644b;
  font-size: 12px;
  text-underline-offset: 4px;
}
.digit-login-footnote {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid #e8ede6;
  color: var(--muted);
  font-size: 11px;
}
.digit-login-footnote svg {
  flex-shrink: 0;
}
.digit-login-explore {
  overflow: hidden;
  border: 1px solid #d6e2d8;
  border-radius: 24px;
  background: #fff;
}
.digit-login-intro {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #064e3b;
  color: white;
  padding: 30px 32px 26px;
}
.digit-login-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 500;
  color: #c2e9d8;
}
.digit-login-dot {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: #6ee7b7;
}
.digit-login-intro h2 {
  font-size: 35px;
  letter-spacing: -0.6px;
  line-height: 1.4;
  margin: 14px 0 10px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.digit-login-intro p {
  max-width: 410px;
  font-size: 14px;
  line-height: 1.9;
  color: #c5e0d3;
  margin: 0;
  position: relative;
  z-index: 1;
}
.digit-login-mark {
  position: absolute;
  width: 180px;
  height: 180px;
  inset-inline-end: -12px;
  top: 48px;
  transform: rotate(-15deg);
  opacity: 0.14;
  z-index: 0;
}
.digit-login-mark i {
  position: absolute;
  inset-inline-start: 18%;
  height: 13%;
  background: #c3f6dc;
  border-radius: 12px;
  display: block;
}
.digit-login-mark i:nth-child(1) {
  top: 22.5%;
  width: 40%;
}
.digit-login-mark i:nth-child(2) {
  top: 22.5%;
  inset-inline-start: 63%;
  width: 19%;
  background: #34d399;
}
.digit-login-mark i:nth-child(3) {
  top: 43.5%;
  width: 64%;
}
.digit-login-mark i:nth-child(4) {
  top: 64.5%;
  width: 50%;
}
.digit-login-catalog {
  padding: 23px 26px 20px;
}
.digit-login-catalog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.digit-login-catalog-heading h3 {
  font-size: 15px;
  margin: 0;
  font-weight: 600;
}
.digit-login-company {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #dce6dd;
  border-radius: 20px;
  padding: 2px 9px;
  background: #f7faf5;
  font-size: 10px;
  white-space: nowrap;
}
.digit-login-company b {
  font: 600 11px system-ui, sans-serif;
}
.digit-login-instructions {
  font-size: 12px;
  color: var(--muted);
  margin: 5px 0 18px;
}
.digit-login-accts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 10px;
}
.digit-login-acct {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 13px;
  border: 1px solid #dde5de;
  border-radius: 13px;
  background: #fff;
  text-align: start;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.digit-login-acct:hover {
  border-color: #88b99c;
  background: #f8fbf7;
  transform: translateY(-2px);
}
.digit-login-acct[aria-pressed="true"] {
  border-color: #187d55;
  background: #eff8f1;
  box-shadow: inset 0 0 0 1px #187d55;
}
.digit-login-acct-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 9px;
}
.digit-login-acct-icon {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #d7e6dc;
  border-radius: 8px;
  color: #26734e;
  background: #f1f6ef;
  font: 500 11px system-ui, sans-serif;
}
.digit-login-acct-check {
  opacity: 0;
  font-size: 14px;
  color: #16734d;
}
.digit-login-acct[aria-pressed="true"] .digit-login-acct-check {
  opacity: 1;
}
.digit-login-acct strong {
  font-size: 13px;
  line-height: 1.65;
  font-weight: 600;
}
.digit-login-acct small {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
  margin-top: 4px;
}
.digit-login-acct-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  font-size: 11px;
  color: #26734e;
  margin-top: auto;
  padding-top: 11px;
}
.digit-login-note {
  margin: 15px 0 0;
  font-size: 11px;
  line-height: 1.8;
  color: var(--muted);
}
.digit-login-empty {
  padding: 32px;
  color: var(--muted);
}
.digit-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #66766c;
  font-size: 10px;
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid #dce4da;
}
.digit-login :focus-visible {
  outline: 3px solid #2da578;
  outline-offset: 3px;
}
@media (min-width: 1600px) {
  .digit-login {
    padding-top: 45px;
  }
  .digit-login-header {
    margin-bottom: 55px;
  }
}
@media (max-width: 1150px) {
  .digit-login-accts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .digit-login-card {
    padding: 28px 24px;
  }
  .digit-login-layout {
    gap: 20px;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.3fr);
  }
}
@media (max-width: 800px) {
  .digit-login-demo-jump {
    display: block;
    margin: -15px 0 20px;
  }
  .digit-login {
    padding: 22px 18px 16px;
  }
  .digit-login-header {
    margin-bottom: 25px;
  }
  .digit-login-layout {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
  .digit-login-header,
  .digit-login-footer {
    max-width: 600px;
  }
  .digit-login-card {
    position: static;
    padding: 28px;
  }
  .digit-login-accts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .digit-login-intro h2 {
    font-size: 30px;
  }
  .digit-login-intro {
    padding: 25px;
  }
  .digit-login-catalog {
    padding: 22px;
  }
  .digit-login-footer {
    margin-top: 22px;
  }
}
@media (max-width: 480px) {
  .digit-login-accts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .digit-login-brand strong {
    font-size: 22px;
  }
  .digit-login-brand small {
    font-size: 10px;
  }
  .digit-login-brand img {
    width: 40px;
    height: 40px;
  }
  .digit-login-lang {
    font-size: 12px;
    padding: 8px 12px;
  }
  .digit-login-card {
    padding: 26px 22px;
  }
  .digit-login-card h1 {
    font-size: 28px;
  }
  .digit-login-catalog {
    padding: 20px 16px;
  }
  .digit-login-intro {
    padding: 24px;
  }
  .digit-login-intro p {
    max-width: 240px;
  }
  .digit-login-mark {
    width: 140px;
    height: 140px;
    top: 65px;
  }
  .digit-login-catalog-heading h3 {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .digit-login * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .digit-login-acct:hover {
    transform: none;
  }
}

/* App sections are native disclosures: keyboard accessible without another JS library. */
.digit-login-app-group { border: 1px solid #dce6dd; border-radius: 14px; margin: 12px 0; overflow: hidden; }
.digit-login-app-group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; cursor: pointer; background: #f3f8f4; color: #064e3b; font-weight: 600; }
.digit-login-app-group summary::after { content: "+"; font-size: 20px; }
.digit-login-app-group[open] summary::after { content: "−"; }
.digit-login-group-count { margin-inline-start: auto; font-size: 11px; color: #52675c; font-weight: 400; }
.digit-login-app-group .digit-login-accts { padding: 12px; }
.digit-login-app-group summary:focus-visible { outline-offset: -4px; }

.digit-login-filters { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0; }
.digit-login-filters button { display:flex; align-items:center; gap:8px; min-height:44px; border:1px solid #c7d9cd; border-radius:24px; padding:8px 13px; background:white; color:#244a39; font:inherit; font-size:12px; cursor:pointer; }
.digit-login-filters button[aria-pressed="true"] { background:#064e3b; border-color:#064e3b; color:white; }
.digit-login-filters b { font-size:11px; border-radius:12px; background:#749e8726; padding:1px 6px; }
.digit-login-search { display:grid; gap:6px; font-size:12px; color:#3d594b; }
.digit-login-search input { min-height:46px; width:100%; box-sizing:border-box; border:1px solid #adc4b6; border-radius:10px; padding:10px 12px; font:inherit; background:#fff; }
.digit-login-group-description { padding:0 16px; color:#52675c; font-size:12px; line-height:1.8; }
.digit-login-department { display:block; margin-top:8px; font-size:11px; color:#27644a; font-weight:600; }
.digit-login-rights { display:flex; flex-wrap:wrap; gap:4px; margin-top:10px; }
.digit-login-rights>span { border:1px solid #c9ddcf; border-radius:6px; padding:2px 6px; background:#f4f9f5; color:#215239; font-size:10px; }
.digit-login-acct .digit-login-permission-note { font-size:10px; line-height:1.7; }
.digit-login [hidden] { display:none !important; }
@media(max-width:480px) { .digit-login-app-group .digit-login-accts { grid-template-columns:1fr; } .digit-login-filters button { flex-grow:1; justify-content:center; } }
