body {
  background-color: #fff;
}

@media (min-width: 769px) {

  .top-bar,
  .layout-auth .top-bar,
  .layout-app .top-bar {
    display: none;
  }

}

.login-page .page-container-fluid {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.login-page .device-wrapper {
  width: 100%;
  max-width: 1288px;
  margin-bottom: 60px;
  position: relative;
}

.login-page .device-wrapper .device-display {
  position: relative;
  max-width: 1077px;
  margin: 0 auto;
}

.login-page .device-display .device-outer-frame {
  background: #6D6E70;
  border-radius: 27px 27px 0 0;
  filter: drop-shadow(-160.679px 166.594px 92.6617px rgba(0, 0, 0, 0.01)) drop-shadow(-90.6902px 93.6475px 77.8753px rgba(0, 0, 0, 0.03)) drop-shadow(-40.4163px 41.4021px 58.16px rgba(0, 0, 0, 0.04)) drop-shadow(-9.85763px 10.8434px 31.5444px rgba(0, 0, 0, 0.05));
  padding: 2px;
}

.login-page .device-outer-frame .device-inner-frame {
  position: relative;
  background: #000;
  border-radius: 25px 25px 0 0;
  padding: 14px;
  padding-bottom: 0;
}

.login-page .device-inner-frame .device-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 133.5px;
  height: 18.36px;
  background: #000;
  border-radius: 0 0 10px 10px;
  z-index: 5;
}

.login-page .device-notch .device-camera {
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 9.4px;
  height: 9.18px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%,
      #9797AB 0%,
      #2C2C46 39%,
      #3F3F46 100%);
}

.login-page .device-inner-frame .device-screen {
  background: #fff;
  border-radius: 13px 13px 0 0;
  overflow: hidden;
  padding-top: 30px;
}

.login-page .device-wrapper .base {
  position: relative;
  height: 43px;
  border-radius: 2px 2px 23px 23px;
  background:
    linear-gradient(180deg,
      rgba(133, 134, 136, 0) 0%,
      rgba(115, 116, 121, 0.7) 65.1%,
      rgba(183, 184, 189, 0.7) 92.71%,
      rgba(133, 134, 136, 0.7) 100%),
    linear-gradient(90deg,
      #A0A1A5 0%,
      #D3D4D9 1.82%,
      #6A6B70 5.73%,
      #797A7F 8.71%,
      #A8A9AE 21.38%,
      #A8A9AE 78.7%,
      #797A7F 91.76%,
      #6A6B70 94.67%,
      #D3D4D9 97.81%,
      #A0A1A5 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .36);
}

.login-page .device-wrapper .base .handle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 14px;
  background: linear-gradient(90deg,
      #C6C7CC 0%,
      #D0D1D6 47%,
      #C6C7CC 100%);
  border-radius: 0 0 16px 16px;
  box-shadow:
    inset 0 -2px 2px rgba(255, 255, 255, .4),
    inset -4px 0 6px -3px #000,
    inset 4px 0 6px -3px #000;
}

.login-page .device-wrapper .base .pedestal {
  position: absolute;
  bottom: -5px;
  width: 77px;
  height: 5.42px;
  background:
    linear-gradient(360deg, rgba(85, 85, 85, .7) 23%, rgba(73, 73, 73, 0) 50%),
    linear-gradient(90deg, #494949 4%, #202020 22%, #202020 76%, #494949 96%);
  clip-path: polygon(0% 0%,
      100% 0%,
      92% 100%,
      8% 100%);
}

.login-page .device-wrapper .base .pedestal.left {
  left: 60px;
}

.login-page .device-wrapper .base .pedestal.right {
  right: 60px;
}

.login-page .device-wrapper .base .pedestal .holder {
  position: absolute;
  top: 0;
  left: -1px;
  width: 77px;
  height: 2.7px;
  background: linear-gradient(90deg,
      #8E8F93 0%,
      #A7A7A9 5.14%,
      #535459 15.11%,
      #A7A7A9 37.6%,
      #A7A7A9 56.47%,
      #535459 82.56%,
      #A7A7A9 93.17%,
      #8E8F93 98.78%);
}

.login-page .page_container {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 71px;
  font-family: "Poppins", sans-serif;
  padding-top: 145px;
  padding-bottom: 60px;
  margin: 0 auto;
  margin-left: 40px;
}

.login-page .left-content {
  display: flex;
  flex-direction: column;
  gap: 33px;
  width: 444px;
}

.login-page .left-top-title {
  position: absolute;
  top: 8px;
  left: 0px;
}

.login-page .left-top-title h1 {
  font-family: "Judson", sans-serif;
  font-size: 80px;
  color: #484848;
  margin-bottom: 0px;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.login-page .subtitle {
  font-family: "Inter", sans-serif;
  font-size: 20px;
  color: #000;
  font-weight: 300;
  letter-spacing: 0;
  margin-bottom: 0px;
}

.login-page .warning-box {
  position: relative;
  border: 1px solid #717171;
  border-top: none;
  padding: 20px;
  max-width: 100%;
}

.login-page .warning-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background: #717171;
}

.login-page .warning-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 198px;
  right: 0;
  height: 1px;
  background: #717171;
}

.login-page .warning-label {
  position: absolute;
  top: -12px;
  left: 33px;
  background-color: transparent;
  white-space: nowrap;
}

.login-page .warning-label .warning-title {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  color: #000;
}

.login-page .warning-box p {
  font-size: 8px;
  color: #000;
  line-height: 147%;
  opacity: 77%;
  margin-bottom: 0px;
}

.login-page .right-content .login-box {
  position: relative;
  width: 412px;
  background-color: #F9F6FFBF;
  border-radius: 30px;
  padding: 30px 13px 8px 18px;
}

.login-page .login-box .box-top {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  margin-bottom: 20px;
}

.login-page .login-box .box-top img {
  width: 100%;
  max-width: 86px;
}

.login-page .box-top h2 {
  font-size: 20px;
  font-weight: 200;
  color: #3D3D3D;
  margin-top: 8px;
  margin-bottom: 0px;
  text-align: center;
}

.login-page .login-box label {
  display: block;
  font-size: 13px;
  color: #7C7C7C;
  font-weight: 400;
  margin-bottom: 3px;
}

.login-page .login-box input {
  width: 100%;
  padding: 8px;
  margin-bottom: 10px;
  background-color: #A6A6A6;
  border: 1px solid #DEDEDE;
  border-radius: 5px;
  font-size: 13px;
  color: #fff;
}

input:focus,
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  background-color: #A6A6A6;
  border: 1px solid #DEDEDE;
  color: #fff;
  -webkit-box-shadow: none !important;
  -webkit-text-fill-color: #fff !important;
}

.login-page .login-box input::placeholder {
  color: #fff;
  opacity: 43%;
}

.login-page .login-box input:focus {
  outline: 1px solid #2b7cff;
}

.login-page .login-box button {
  width: 100%;
  padding: 9px;
  background-color: #267DF1;
  border: 1px solid #267DF1;
  color: #fff;
  font-size: 17px;
  margin-top: 13px;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  font-weight: 500;
}

.login-page .login-box button:hover {
  background-color: #267DF1;
}

.login-page .login-box .forgot {
  display: block;
  font-size: 7px;
  font-weight: 300;
  line-height: 147%;
  color: #424141;
  opacity: 77%;
  text-decoration: none;
  text-align: center;
  margin-top: 10px;
}

.login-page .login-box .password-wrapper {
  position: relative;
}

.login-page .login-box .toggle-eye {
  position: absolute;
  right: 14px;
  top: 8px;
  width: 20px;
  height: 20px;
  background: url(../images/newPages/eye-white.png) no-repeat center;
  background-size: contain;
  cursor: pointer;
  user-select: none;
  z-index: 2;
}

.login-page .login-box .toggle-eye.active {
  filter: brightness(0) saturate(100%) invert(46%) sepia(98%) saturate(1685%) hue-rotate(201deg) brightness(96%) contrast(96%);
  opacity: 1;
}

/* ============ MOBILE (<=768px) ============ */
@media (max-width: 768px) {

  /* Stop anchoring the page to the bottom; let it flow naturally. */
  .login-page .page-container-fluid {
    display: block;
    min-height: auto;
  }

  /* Hide the marketing column. It carries .desktop-view, but the base rule
     `.login-page .left-content{display:flex}` (specificity 0,2,0) beats the
     global `.desktop-view{display:none}` (0,1,0), so it must be hidden here
     with a matching-specificity rule — otherwise its absolutely-positioned
     80px <h1> overlaps the card and its fixed 444px width overflows the phone. */
  .login-page .left-content {
    display: none;
  }

  /* Full width, no device offset. */
  .login-page .device-wrapper {
    max-width: 100%;
    margin-bottom: 0;
  }

  .login-page .device-wrapper .device-display {
    max-width: 100%;
    margin: 0;
  }

  /* Neutralize the phone-mockup frame (grey outer + black inner). */
  .login-page .device-display .device-outer-frame {
    background: transparent;
    border-radius: 0;
    filter: none;
    padding: 0;
  }

  .login-page .device-outer-frame .device-inner-frame {
    background: transparent;
    border-radius: 0;
    padding: 0;
  }

  /* Hide the notch and the pedestal base decoration. */
  .login-page .device-inner-frame .device-notch,
  .login-page .device-wrapper .base {
    display: none;
  }

  /* Let the screen breathe; no clipping, no faux-frame padding. */
  .login-page .device-inner-frame .device-screen {
    border-radius: 0;
    overflow: visible;
    padding-top: 0;
  }

  /* Single centered column: drop the flex offset and huge top padding. */
  .login-page .page_container {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-left: 0;
    padding: 24px 16px;
  }

  /* Center the login card, full width minus padding. */
  .login-page .right-content {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .login-page .right-content .login-box {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    padding: 24px 18px 12px;
    box-sizing: border-box;
  }

  /* Comfortable touch target on the submit button. */
  .login-page .login-box button {
    min-height: 44px;
  }

}