.alvand-login-b.alvand-login-b {
  min-height: 100dvh;
  align-items: center;
  padding: 26px 15px;
  background:
    radial-gradient(ellipse at 82% 18%, #dbe8ff7a, transparent 48%),
    radial-gradient(ellipse at 12% 83%, #e9e2ff75, transparent 44%);
}
.alvand-login-b.alvand-login-b::before,
.alvand-login-b.alvand-login-b::after { content: none; }
.alvand-login-b .alvand-login-card-b {
  width: min(540px,100%);
  min-height: 0;
  overflow: visible;
  border: 1px solid #dce5f2;
  border-radius: 21px;
  background: #fff;
  box-shadow: 0 17px 48px #182f4c16;
}
.alvand-login-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 20px;
  border-bottom: 1px solid #e1e9f4;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(105deg,#fff 40%,#f6f9ff);
}
.alvand-login-brand img { display: block; width: clamp(80px,11vw,103px); height: auto; }
.alvand-login-brand-context {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #334d7b;
  font-size: 13px;
  font-weight: 700;
}
.alvand-login-brand-context i {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  background: #eaf1ff;
  color: #365bc4;
  font-size: 12px;
}
.alvand-login-workspace {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 17px;
  padding: clamp(13px,3vw,24px);
  border-radius: 0 0 20px 20px;
  background: #f4f7fc;
}
.alvand-login-workspace .hp-profile-hero {
  grid-column: 1 / -1;
  margin: 0;
}
.alvand-login-b .alvand-login-body {
  min-width: 0;
  margin: 0;
  padding: 0 15px 15px;
}
.alvand-login-workspace .alvand-login-heading {
  display: flex;
  align-items: center;
  min-height: 48px;
  gap: 8px;
  margin: 0 -15px 14px;
  padding: 8px 15px;
  border-bottom: 1px solid var(--details-line);
  border-radius: 15px 15px 0 0;
}
.alvand-login-section-icon {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 8px;
  background: #eaf1ff;
  color: var(--details-blue);
  font-size: 12px;
}
.alvand-login-b .alvand-login-fields { grid-template-columns: minmax(0,1fr); gap: 15px; }
.alvand-login-b .alvand-login-label { margin-bottom: 5px; font-size: 13px; font-weight: 650; }
.alvand-login-b .alvand-login-input {
  height: 46px;
  padding-right: 47px;
  border-color: #d7e2f2;
  border-radius: 10px;
  background: #f9fbfe;
  font-size: 14px;
}
.alvand-login-b .alvand-login-input:focus { background: #fff; border-color: #7195e7; }
.alvand-login-b .alvand-login-field-icon {
  display: grid;
  place-items: center;
  right: 7px;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: #edf3fd;
  color: #526e9e;
}
.alvand-login-b .alvand-login-field-icon svg { width: 15px; height: 15px; }
.alvand-login-b .alvand-login-password-toggle {
  width: 30px;
  height: 30px;
  border: 1px solid #dce5f4;
  border-radius: 7px;
  background: #fff;
  color: #526e9e;
}
.alvand-login-b .alvand-login-password-toggle:is(:hover,.is-visible) {
  border-color: #c5d6fa;
  background: #edf3ff;
  color: #3156bd;
}
.alvand-login-b .alvand-login-options {
  flex-flow: row wrap;
  align-items: center;
  gap: 6px;
  margin: 12px 0 14px;
}
.alvand-login-b .alvand-login-options :is(.alvand-login-remember,.alvand-login-forgot) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 3px 6px;
  border-radius: 8px;
  font-size: 12px;
}
.alvand-login-b .alvand-login-remember {
  color: #425778;
  background: #f5f8fd;
}
.alvand-login-b .alvand-login-remember input { width: 15px; height: 15px; }
.alvand-login-b .alvand-login-remember:has(input:checked) { background: #edf3ff; color: #3156ad; }
.alvand-login-b .alvand-login-forgot { color: #2c52af; }
.alvand-login-b .alvand-login-forgot:hover { background: #edf3ff; }
.alvand-login-b .alvand-login-forgot i { font-size: 11px; }
.alvand-login-b .alvand-login-actions { display: block; margin: 0; }
.alvand-login-b .alvand-login-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 6px 12px;
  border: 1px solid #244caa;
  border-radius: 10px;
  background: #2a51b3;
  color: #fff;
  box-shadow: 0 2px 6px #19377626;
  font-size: 13px;
  font-weight: 750;
}
.alvand-login-b .alvand-login-primary:hover:not(:disabled) {
  transform: none;
  border-color: #1b3d91;
  background: #23469d;
  color: #fff;
  box-shadow: 0 4px 11px #19377638;
}
.alvand-login-b .alvand-login-primary:active:not(:disabled) {
  background: #193b8c;
  box-shadow: inset 0 2px 4px #0f2c7160;
}
.alvand-login-access {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding-top: 2px;
}
.alvand-login-access .alvand-login-mobile {
  display: grid;
  grid-template-columns: 39px minmax(0,1fr) auto;
  align-items: center;
  justify-content: initial;
  gap: 8px;
  min-height: 60px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #d6e1f9;
  border-radius: 14px;
  background: #fff;
  color: #1d3768;
  text-align: right;
  text-decoration: none;
  box-shadow: 0 3px 8px #183a7610;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.alvand-login-access .alvand-login-mobile:hover {
  transform: none;
  background: #f7faff;
  border-color: #9fb7ed;
  color: #2349ab;
  box-shadow: 0 5px 13px #183a761a;
}
.alvand-login-access .alvand-login-mobile-icon {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 0;
  border-radius: 8px;
  background: #eaf1ff;
  color: #385fcb;
  font-size: 16px;
}
.alvand-login-mobile-copy { display: grid; gap: 2px; min-width: 0; }
.alvand-login-mobile-copy strong { font-size: 13px; font-weight: 750; line-height: 1.6; }
.alvand-login-mobile-copy small { color: #53698a; font-size: 11px; }
.alvand-login-mobile-arrow { color: #5271bd; font-size: 12px; }
.alvand-login-b .alvand-login-access .alvand-login-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 41px;
  padding: 6px 10px;
  border: 1px solid #d5e0f6;
  border-radius: 9px;
  background: #f7faff;
  color: #2e51a6;
  font-size: 13px;
  font-weight: 750;
  box-shadow: none;
  text-decoration: none !important;
}
.alvand-login-b .alvand-login-access .alvand-login-register:hover {
  border-color: #b6c8ee;
  background: #eaf1ff;
  color: #23489b;
  transform: none;
}
.alvand-login-b .alvand-login-linked { margin-top: 10px; padding-top: 10px; }
.alvand-login-b .alvand-login-linked:not(:has(a,button,iframe,form)) { display: none; }
.alvand-login-b :is(button,a):focus-visible { outline: 2px solid #4165c7; outline-offset: 3px; }

@media (max-width: 640px) {
  .alvand-login-b .alvand-login-card-b { width: min(430px,100%); }
  .alvand-login-brand { padding: 8px 13px; }
  .alvand-login-workspace { gap: 14px; padding: 12px; }
}


@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .alvand-login-b .alvand-login-primary {
    transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
  }
  .alvand-login-b :is(.alvand-login-mobile-arrow) { transition: transform .22s ease; }
  .alvand-login-b :is(.alvand-login-mobile:hover .alvand-login-mobile-arrow) {
    transform: translateX(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .alvand-login-access .alvand-login-mobile { transition: none; }
}
