/* the sign-in page (login/default.asp): on a wide screen one centred card - the form on the reading side, a drawn
   panel about the product beside it; on a narrow screen the form alone */
body.lgnBody { margin: 0; padding: 0; background: #ffffff; }
.lgn { box-sizing: border-box; --blue: #1769e0; --indigo: #4f46e5; --ink: #0f172a; --soft: #526175; --line: #d9e1ec; --tint: #f4f7fb;
  display: flex; align-items: center; justify-content: center; min-height: 100vh; min-height: 100dvh; padding: 24px;
  background: radial-gradient(1100px 520px at 50% -10%, #e4eefd 0%, rgba(228, 238, 253, 0) 70%), var(--tint);
  color: var(--ink); font-family: 'Rubik', Arial, sans-serif; text-align: start; }
.lgn *, .lgn *::before, .lgn *::after { box-sizing: border-box; }
.lgnShell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); width: 100%; max-width: 960px; min-height: 600px;
  overflow: hidden; border: 1px solid #e3eaf4; border-radius: 24px; background: #ffffff; box-shadow: 0 34px 70px -38px rgba(15, 23, 42, .38); }

.lgnMain { display: flex; flex-direction: column; align-items: center; padding: 32px 40px 18px; min-width: 0; }
.lgnBox { width: 100%; max-width: 408px; margin: auto 0; }
.lgnLogo { display: inline-block; margin-bottom: 24px; border-radius: 10px; }
.lgnLogo img { display: block; width: 118px; height: auto; }

.lgn h1 { margin: 0 0 8px; padding: 0; font: 700 28px/1.25 'Rubik', Arial, sans-serif; color: var(--ink); letter-spacing: 0; }
.lgn p.lgnSub { margin: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--soft); }
.lgn form.formA { margin: 0; padding: 0; }

.lgnMsg { margin: 0 0 20px; padding: 12px 14px; border-radius: 12px; border: 1px solid; font-size: 14.5px; font-weight: 500; line-height: 1.6; text-align: start; }
.lgnMsg.ok { background: #ecfdf3; border-color: #b7ebcb; color: #11603a; }
.lgnMsg.bad { background: #fef2f2; border-color: #fccaca; color: #a4141f; }
.lgnMsg b, .lgnMsg span { color: inherit !important; }

.lgnField { margin-bottom: 16px; }
.lgnField > label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.lgn .lgnField input[type="text"], .lgn .lgnField input[type="password"], .lgn .lgnField input[type="tel"], .lgn .lgnField input.inCode {
  display: block; width: 100%; height: 50px; margin: 0; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #ffffff;
  color: var(--ink); font: 400 16px 'Rubik', Arial, sans-serif; direction: ltr; text-align: left; outline: none; box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease; }
.lgn .lgnField input:hover { border-color: #b9c6d8; }
.lgn .lgnField input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(23, 105, 224, .16); }
.lgnPass { position: relative; direction: ltr; }
.lgn .lgnPass input { padding-right: 52px !important; }
.lgn button.lgnEye { position: absolute; top: 3px; right: 3px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--soft); cursor: pointer; }
.lgn button.lgnEye:hover { background: var(--tint); color: var(--blue); }
.lgnEye svg { width: 21px; height: 21px; }
.lgnEye .off, .lgnEye[aria-pressed="true"] .on { display: none; }
.lgnEye[aria-pressed="true"] .off { display: block; }

/* the phone field with its country list */
.lgnPhone { direction: ltr; }
.lgnPhone .iti { width: 100%; }
.lgn .lgnPhone input[type="tel"] { padding-left: 96px; }

.lgn .lgnField input.inCode { height: 58px; text-align: center; font-size: 24px; font-weight: 700; letter-spacing: 8px; text-transform: uppercase; color: var(--blue); }

.lgnRow { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; justify-content: space-between; margin: -4px 0 14px; }
.lgnRemember { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 14px; color: var(--ink); cursor: pointer; }
.lgn .lgnRemember input { width: 18px; height: 18px; margin: 0; padding: 0; accent-color: var(--blue); cursor: pointer; }
.lgn a.lgnLink { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-size: 14px; font-weight: 600; text-decoration: none; border-radius: 6px; }
.lgn a.lgnLink:hover { text-decoration: underline; }

.lgn input.login { display: block; width: 100%; height: 52px; margin: 6px 0 0; padding: 0 16px; border: 0; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--indigo)); color: #ffffff; font: 600 16.5px 'Rubik', Arial, sans-serif; cursor: pointer;
  box-shadow: 0 10px 22px -8px rgba(23, 105, 224, .55); transition: box-shadow .15s ease, filter .15s ease; -webkit-appearance: none; appearance: none; }
.lgn input.login:hover { filter: brightness(1.07); box-shadow: 0 14px 28px -8px rgba(23, 105, 224, .6); }
.lgn input.login:disabled { opacity: .65; cursor: default; }

.lgn a.lgnBack, .lgn input.firstLogin { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin: 12px 0 0; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 12px; background: #ffffff; color: var(--ink); font: 600 15px 'Rubik', Arial, sans-serif; text-decoration: none; cursor: pointer; }
.lgn a.lgnBack:hover, .lgn input.firstLogin:hover { border-color: #b9c6d8; background: var(--tint); }

.lgnJoin { margin-top: 26px; padding-top: 12px; border-top: 1px solid #e8edf4; text-align: center; font-size: 14.5px; color: var(--soft); }
.lgnJoin a.lgnLink { font-size: 14.5px; margin-inline-start: 6px; }

.lgn :focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }

/* a new password */
.passwordStrengthBox { margin-top: 10px; font-size: 13px; color: var(--soft); }
.passwordStrengthBar { width: 100%; height: 6px; margin-top: 7px; border-radius: 20px; background: #e2e8f0; overflow: hidden; }
.passwordStrengthFill { width: 0; height: 100%; border-radius: 20px; background: #dc2626; transition: width .25s ease, background .25s ease; }

/* the activation code */
.lgnNote { margin: 0 0 16px; font-size: 14.5px; line-height: 1.6; color: var(--soft); text-align: center; }
.lgnSmall { margin: 14px 0 0; font-size: 12.5px; color: var(--soft); text-align: center; }
.resendWrapper { margin-top: 8px; text-align: center; font-size: 14px; color: var(--soft); user-select: none; }
.resendWrapper.disabled { opacity: .6; cursor: default; }
.resendWrapper.active { color: #12803f; font-weight: 600; cursor: pointer; }
.resendWrapper.active .resendLink { text-decoration: underline; }
#timer { margin-inline-start: 8px; color: #7b8794; }

/* choosing the company */
.lgnComps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.lgn .multpcomp { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; margin: 0; width: auto; padding: 16px 12px;
  border: 1px solid var(--line); border-radius: 14px; background: #ffffff; font-size: 14px; font-weight: 600; text-align: center; cursor: pointer;
  overflow-wrap: anywhere; transition: border-color .15s ease, box-shadow .15s ease; }
.lgn .multpcomp:hover { border-color: var(--blue); box-shadow: 0 10px 24px -12px rgba(23, 105, 224, .5); }
.lgn .multpcomp img { max-width: 96px; max-height: 64px; width: auto !important; margin: 0 0 6px !important; object-fit: contain; }

.lgn select.lgnLang { display: block; margin: 0 0 18px; height: 40px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #ffffff; color: var(--ink); font: 500 14px 'Rubik', Arial, sans-serif; cursor: pointer; }

.lgnFoot { width: 100%; max-width: 408px; margin-top: 26px; text-align: center; font-size: 12.5px; color: #7b8794; }
.lgnFoot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.lgn .lgnFoot a { display: inline-flex; align-items: center; min-height: 40px; color: var(--soft); text-decoration: none; border-radius: 6px; }
.lgn .lgnFoot a:hover { color: var(--blue); text-decoration: underline; }

/* the product panel: drawing, title and the three points as one block in the middle */
.lgnSide { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 36px 28px; color: #ffffff;
  background-color: #1f4fc4;
  background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(155deg, #1769e0 0%, #2f4fd0 52%, #3b2f9e 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%; }
.lgnSideBox { width: 100%; max-width: 360px; }
.lgnArt { display: block; width: 100%; max-width: 300px; height: auto; margin: 0 auto 22px; }
.lgn .lgnSide h2 { margin: 0 0 18px; padding: 0; font: 700 24px/1.3 'Rubik', Arial, sans-serif; color: #ffffff; text-align: center; text-wrap: balance; }
.lgnSide ul { list-style: none; margin: 0; padding: 0; }
.lgnSide li { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding: 11px 13px; border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px; background: rgba(255, 255, 255, .1); font-size: 14px; line-height: 1.45; color: #ffffff; }
.lgnSide li > span:last-child { text-wrap: balance; }
.lgnIcon { flex: none; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; background: #ffffff; color: var(--blue); }
.lgnIcon svg { width: 21px; height: 21px; }

@media screen and (max-width: 900px) {
  .lgn { display: block; padding: 0; background: var(--tint); }
  .lgnShell { display: block; max-width: none; min-height: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .lgnSide { display: none; }
  .lgnMain { min-height: 100vh; min-height: 100dvh; padding: 20px 14px 14px; }
  .lgnBox { max-width: 440px; margin: 0; padding: 22px 18px 24px; border: 1px solid #e6ecf4; border-radius: 20px; background: #ffffff; box-shadow: 0 14px 36px -22px rgba(15, 23, 42, .35); }
  .lgnLogo { margin-bottom: 18px; }
  .lgnLogo img { width: 104px; }
  .lgn h1 { font-size: 23px; }
  .lgnHead { text-align: center; }
  .lgnFoot { margin-top: 14px; }
}
/* a laptop screen: the whole form in one view */
@media screen and (min-width: 901px) and (max-height: 780px) {
  .lgn { padding: 12px 24px; }
  .lgnShell { min-height: 0; }
  .lgnMain { padding-top: 16px; padding-bottom: 8px; }
  .lgnSide { padding: 20px 28px; }
  .lgnArt { max-width: 230px; margin-bottom: 12px; }
  .lgnLogo { margin-bottom: 12px; }
  .lgnLogo img { width: 86px; }
  .lgn h1 { font-size: 24px; margin-bottom: 4px; }
  .lgn p.lgnSub { margin-bottom: 14px; }
  .lgnField { margin-bottom: 10px; }
  .lgn .lgnField input[type="text"], .lgn .lgnField input[type="password"], .lgn .lgnField input[type="tel"] { height: 46px; }
  .lgn button.lgnEye { top: 1px; }
  .lgnRow { margin-bottom: 8px; }
  .lgn input.login { height: 48px; }
  .lgnJoin { margin-top: 14px; padding-top: 4px; }
  .lgnFoot { margin-top: 10px; }
  .lgn .lgnFoot a { min-height: 32px; }
  .lgn .lgnSide h2 { font-size: 21px; margin-bottom: 10px; }
  .lgnSide li { margin-top: 8px; padding: 8px 11px; font-size: 14px; }
  .lgnIcon { width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) { .lgn * { transition: none !important; } }
