/*
 * AI-CLAUDE - 2026-12-02 - The website's Log in / Register screen (includes/ls-login.php; prototype
 * Looksomething Login.dc.html): light #E9EFFD page with azure / teal glows, the form on the left in a #FBFBFF
 * card (radius 30), the app phones + bobbing mascot + two floating cards on the right (hidden below 1100px).
 * Fonts: Manrope (user decision). Rules start at #ls-login to win over the theme's "*" font-weight rule.
 */
body.ls-login-page {
   background: #E9EFFD;
}

#ls-login {
   position: relative;
   overflow: hidden;
   min-height: 100vh;
   padding: calc(110px + clamp(24px, 4vw, 56px)) clamp(16px, 5vw, 96px) 110px;
   background: #E9EFFD;
   color: #030303;
}

#ls-login *,
#ls-login *::before,
#ls-login *::after {
   box-sizing: border-box;
}

#ls-login [hidden] {
   display: none !important;
}

#ls-login .ls-login-glow {
   position: absolute;
   border-radius: 50%;
   filter: blur(40px);
   pointer-events: none;
}

#ls-login .ls-login-glow.is-azure {
   left: -12%;
   top: -10%;
   width: 60vw;
   height: 60vw;
   background: radial-gradient(circle, rgba(1, 115, 255, .28), transparent 68%);
}

#ls-login .ls-login-glow.is-teal {
   right: -10%;
   bottom: -18%;
   width: 55vw;
   height: 55vw;
   background: radial-gradient(circle, rgba(25, 211, 197, .22), transparent 68%);
}

#ls-login .ls-login-grid {
   position: relative;
   z-index: 1;
   display: grid;
   grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
   align-items: center;
   gap: clamp(20px, 4vw, 60px);
   max-width: 1600px;
   margin: 0 auto;
}

/* ------------------------------------------------------------------ the form side */
#ls-login .ls-login-main {
   width: 100%;
   max-width: 560px;
   justify-self: center;
}

#ls-login .ls-login-step {
   display: flex;
   flex-direction: column;
   gap: 22px;
   margin: 0;
}

#ls-login .ls-login-step.is-in {
   animation: ls-login-up .6s both;
}

#ls-login .ls-login-eyebrow {
   margin: 0;
   color: #0173FF;
   font-size: 13px;
   font-weight: 700;
   letter-spacing: .16em;
   text-transform: uppercase;
}

#ls-login .ls-login-title {
   margin: 0;
   color: #0173FF;
   font-size: clamp(42px, 5.4vw, 70px);
   font-weight: 600;
   line-height: 1;
   letter-spacing: -.02em;
   text-wrap: balance;
   outline: none;
}

#ls-login .ls-login-lead {
   max-width: 470px;
   margin: 0;
   color: #434242;
   font-size: 18px;
   font-weight: 500;
   line-height: 1.55;
   overflow-wrap: anywhere;
}

#ls-login .ls-login-card {
   display: flex;
   flex-direction: column;
   gap: 16px;
   padding: clamp(22px, 3.4vw, 38px);
   border-radius: 30px;
   background: #FBFBFF;
   box-shadow: 0 30px 70px -40px rgba(1, 115, 255, .5), inset 0 0 0 1px #fff;
}

#ls-login [data-ls-step="code"] .ls-login-card {
   gap: 18px;
}

#ls-login .ls-login-field label {
   display: block;
   margin: 0 0 8px;
   color: #040259;
   font-size: 14px;
   font-weight: 600;
}

#ls-login .ls-login-field input[type="email"] {
   width: 100%;
   height: auto;
   margin: 0;
   padding: 19px 22px;
   border: 1px solid #CBD7F5;
   border-radius: 10px;
   background: #fff;
   color: #030303;
   font-size: 16px;
   font-weight: 600;
   outline: none;
   box-shadow: none;
   transition: border-color .2s, box-shadow .2s;
}

#ls-login .ls-login-field input[type="email"]::placeholder {
   color: #8a93ad;
   font-weight: 500;
}

#ls-login .ls-login-field input[type="email"]:focus {
   border-color: #0173FF;
   box-shadow: 0 0 0 4px rgba(1, 115, 255, .15);
}

#ls-login .ls-login-field input[type="email"].is-error {
   border-color: #C4365B;
}

#ls-login .ls-login-error {
   margin: 6px 0 0;
   color: #C4365B;
   font-size: 13px;
   font-weight: 600;
   line-height: 1.4;
}

#ls-login .ls-login-field .ls-login-error:empty {
   display: none;
}

#ls-login .ls-login-btn {
   display: block;
   width: 100%;
   margin: 0;
   padding: 21px;
   border: 0;
   border-radius: 10px;
   background: #0173FF;
   color: #fff;
   font-size: 17px;
   font-weight: 700;
   line-height: 1.2;
   text-align: center;
   text-transform: none;
   cursor: pointer;
   box-shadow: 0 14px 30px -14px rgba(1, 115, 255, .7);
   transition: transform .15s, box-shadow .2s, background-color .2s;
}

#ls-login .ls-login-btn:hover {
   background: #0060d6;
   transform: translateY(-2px);
   box-shadow: 0 18px 34px -12px rgba(1, 115, 255, .8);
}

#ls-login .ls-login-btn:active,
#ls-login .ls-login-btn:disabled {
   transform: none;
}

#ls-login .ls-login-btn:disabled {
   cursor: progress;
   opacity: .8;
}

#ls-login .ls-login-btn:focus-visible,
#ls-login .ls-login-link:focus-visible {
   outline: 3px solid rgba(1, 115, 255, .4);
   outline-offset: 3px;
}

#ls-login .ls-login-small {
   margin: 0;
   color: #6b6b78;
   font-size: 14px;
   font-weight: 500;
   line-height: 1.5;
}

#ls-login .ls-login-terms {
   margin: 0;
   padding-top: 14px;
   border-top: 1px solid #E3EAFA;
   color: #6b6b78;
   font-size: 12.5px;
   font-weight: 500;
   line-height: 1.5;
}

#ls-login a {
   color: #0173FF;
   font-weight: 600;
   text-decoration: none;
}

#ls-login a:hover {
   color: #040259;
}

/* the code step */
#ls-login .ls-login-notice {
   margin: 0;
   padding: 16px 18px;
   border: 1px solid #CBD7F5;
   border-radius: 14px;
   background: #E9EFFD;
   color: #040259;
   font-size: 15px;
   font-weight: 600;
   line-height: 1.5;
   overflow-wrap: anywhere;
}

#ls-login .ls-login-notice b {
   font-weight: 800;
}

#ls-login .ls-login-code {
   display: flex;
   flex-direction: column;
   align-items: stretch;
   gap: 10px;
}

#ls-login .ls-login-code-label {
   color: #040259;
   font-size: 14px;
   font-weight: 600;
   text-align: center;
}

#ls-login .ls-login-code .ls-login-error {
   min-height: 20px;
   margin: 0;
   font-size: 14px;
}

#ls-login .ls-login-keep {
   display: flex;
   align-items: center;
   gap: 12px;
   margin: 0;
   color: #555;
   font-size: 14.5px;
   font-weight: 600;
   cursor: pointer;
}

#ls-login .ls-login-keep span {
   font-weight: 600;
}

#ls-login .ls-login-links {
   margin: 0;
   color: #555;
   font-size: 14.5px;
   font-weight: 500;
}

#ls-login .ls-login-link {
   display: inline;
   margin: 0;
   padding: 0;
   border: 0;
   background: none;
   color: #0173FF;
   font-size: inherit;
   font-weight: 700;
   text-transform: none;
   cursor: pointer;
}

#ls-login .ls-login-link:hover {
   color: #040259;
}

#ls-login .ls-login-link:disabled {
   color: #8a93ad;
   cursor: default;
}

/* Success */
#ls-login .ls-login-done {
   align-items: flex-start;
}

#ls-login .ls-login-check {
   display: grid;
   place-items: center;
   width: 72px;
   height: 72px;
   border-radius: 50%;
   background: #0173FF;
   color: #fff;
   font-size: 36px;
   font-weight: 800;
   line-height: 1;
   animation: ls-login-pop .6s both;
}

#ls-login .ls-login-going {
   margin: 0;
   color: #040259;
   font-size: 17px;
   font-weight: 600;
   line-height: 1.5;
}

#ls-login .ls-login-going b {
   font-weight: 800;
}

#ls-login .ls-login-bar {
   width: min(360px, 100%);
   height: 5px;
   overflow: hidden;
   border-radius: 3px;
   background: #CBD7F5;
}

#ls-login .ls-login-bar span {
   display: block;
   height: 100%;
   border-radius: 3px;
   background: #0173FF;
   animation: ls-login-bar 1.4s linear both;
}

#ls-login .ls-login-welcome {
   margin: 0;
   padding: 10px 14px;
   border-radius: 12px;
   background: #E3F8F3;
   color: #0B8F6A;
   font-size: 14px;
   font-weight: 700;
   animation: ls-login-pop .5s both;
}

/* ------------------------------------------------------------------ the right side */
#ls-login .ls-login-side {
   position: relative;
   display: grid;
   place-items: center;
   min-height: min(78vh, 760px);
}

#ls-login .ls-login-ring {
   position: absolute;
   aspect-ratio: 1;
   border-radius: 50%;
}

#ls-login .ls-login-ring.is-inner {
   width: min(72vh, 600px);
   border: 1px solid rgba(1, 115, 255, .16);
}

#ls-login .ls-login-ring.is-outer {
   width: min(98vh, 820px);
   border: 1px solid rgba(1, 115, 255, .1);
}

#ls-login .ls-login-phones {
   position: relative;
   width: auto;
   height: min(70vh, 680px);
   max-width: 88%;
   object-fit: contain;
   filter: drop-shadow(0 40px 50px rgba(4, 2, 89, .22));
}

#ls-login .ls-login-mascot {
   position: absolute;
   left: 4%;
   top: 6%;
   width: clamp(120px, 14vw, 200px);
   height: auto;
   filter: drop-shadow(0 22px 24px rgba(1, 115, 255, .35));
   animation: ls-login-bob 4.6s ease-in-out infinite;
}

#ls-login .ls-login-mascot.is-swap {
   animation: ls-login-bob 4.6s ease-in-out infinite, ls-login-swap .5s both;
}

#ls-login .ls-login-float {
   position: absolute;
   border-radius: 20px;
   background: #FBFBFF;
   color: #040259;
   box-shadow: 0 24px 50px -26px rgba(1, 115, 255, .55);
}

#ls-login .ls-login-float.is-update {
   right: 2%;
   top: 24%;
   display: flex;
   gap: 14px;
   max-width: 280px;
   padding: 16px 20px;
   animation: ls-login-float 5s ease-in-out infinite;
}

#ls-login .ls-login-float.is-plan {
   left: 2%;
   bottom: 10%;
   padding: 18px 24px;
   animation: ls-login-float 6s 1s ease-in-out infinite;
}

#ls-login .ls-login-float-icon {
   display: grid;
   flex: none;
   place-items: center;
   width: 44px;
   height: 44px;
   border-radius: 12px;
   background: #0173FF;
}

#ls-login .ls-login-float-title {
   font-size: 15px;
   font-weight: 800;
}

#ls-login .ls-login-float-text {
   color: #555;
   font-size: 13px;
   font-weight: 500;
   line-height: 1.4;
}

#ls-login .ls-login-float-eyebrow {
   color: #8a8a98;
   font-size: 11px;
   font-weight: 700;
   letter-spacing: .14em;
   text-transform: uppercase;
}

#ls-login .ls-login-float-plan {
   color: #0173FF;
   font-size: 32px;
   font-weight: 600;
   line-height: 1.2;
}

#ls-login .ls-login-float-ok {
   color: #0B8F6A;
   font-size: 13px;
   font-weight: 700;
}

/* ------------------------------------------------------------------ motion */
@keyframes ls-login-up {
   from { opacity: 0; transform: translateY(18px); }
   to { opacity: 1; transform: none; }
}

@keyframes ls-login-pop {
   0% { opacity: 0; transform: scale(.4); }
   70% { transform: scale(1.12); }
   100% { opacity: 1; transform: scale(1); }
}

@keyframes ls-login-swap {
   0% { opacity: 0; scale: .6; }
   70% { scale: 1.08; }
   100% { opacity: 1; scale: 1; }
}

@keyframes ls-login-bar {
   from { width: 0; }
   to { width: 100%; }
}

@keyframes ls-login-bob {
   0%, 100% { transform: translateY(0) rotate(-3deg); }
   50% { transform: translateY(-14px) rotate(3deg); }
}

@keyframes ls-login-float {
   0%, 100% { transform: translateY(0); }
   50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
   #ls-login *,
   #ls-login *::before,
   #ls-login *::after {
      animation: none !important;
      transition: none !important;
   }
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1100px) {
   #ls-login .ls-login-grid {
      grid-template-columns: minmax(0, 1fr);
   }

   #ls-login .ls-login-side {
      display: none;
   }
}

@media (max-width: 1024px) {
   #ls-login {
      min-height: 0;
      padding-top: calc(90px + 32px);
      padding-bottom: 72px;
   }
}

@media (max-width: 480px) {
   #ls-login .ls-login-card {
      border-radius: 24px;
   }

   #ls-login .ls-login-lead {
      font-size: 16px;
   }
}
