/*
 * AI-CLAUDE - 2026-12-02 - The 6-digit code as six boxes (assets/js/ls-otp.js) and the "Keep me signed in for
 * 30 days" box: the website's Log in screen (ls-login.css) and the checkout's code step. As in the prototype
 * Looksomething Login.dc.html: 12px radius, #CBD7F5 border, the box being typed in azure with a ring, filled
 * boxes dark blue, all red when the code is wrong or expired.
 */
.ls-otp {
   display: flex;
   justify-content: center;
   gap: 10px;
}

.ls-otp input.ls-otp-box {
   width: clamp(42px, 4.6vw, 58px);
   height: 70px;
   margin: 0;
   padding: 0;
   border: 1.5px solid #CBD7F5 !important; /* the theme's woocommerce.min.css takes every border off checkout inputs with !important */
   border-radius: 12px;
   background: #fff;
   color: #040259;
   font-size: 28px;
   font-weight: 700;
   line-height: 1;
   text-align: center;
   outline: none;
   box-shadow: none;
   caret-color: #0173FF;
   transition: border-color .2s, box-shadow .2s;
}

.ls-otp input.ls-otp-box.is-filled {
   border-color: #040259 !important;
}

.ls-otp input.ls-otp-box:focus {
   border-color: #0173FF !important;
   box-shadow: 0 0 0 4px rgba(1, 115, 255, .15);
}

.ls-otp.is-error input.ls-otp-box {
   border-color: #C4365B !important;
   box-shadow: none;
}

/* the checkout's narrower card */
.ls-co .ls-otp input.ls-otp-box {
   width: 50px;
   height: 62px;
   font-size: 26px;
}

@media (max-width: 420px) {
   .ls-otp {
      gap: 6px;
   }

   .ls-otp input.ls-otp-box,
   .ls-co .ls-otp input.ls-otp-box {
      width: 42px;
      height: 54px;
      font-size: 22px;
   }
}

/* "Keep me signed in for 30 days" */
.ls-login-keep input[type="checkbox"],
.ls-co-remember input[type="checkbox"] {
   flex: none;
   width: 24px;
   height: 24px;
   margin: 0;
   border: 2px solid #0173FF !important;
   border-radius: 7px;
   background: transparent center / 15px no-repeat;
   cursor: pointer;
   -webkit-appearance: none;
   appearance: none;
   transition: background-color .15s;
}

.ls-login-keep input[type="checkbox"]:checked,
.ls-co-remember input[type="checkbox"]:checked {
   background-color: #0173FF;
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3L13 4.5' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ls-login-keep input[type="checkbox"]:focus-visible,
.ls-co-remember input[type="checkbox"]:focus-visible {
   outline: 3px solid rgba(1, 115, 255, .35);
   outline-offset: 2px;
}
