@font-face {
  font-family: "Inter";
  src: url("/static/fonts/inter-v20-latin-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.login-page,
.login-page * {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* All Page */
.login-page {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

/* Background */
.login-bg {
  position: absolute;
  inset: 0;
  background-image: var(--bg-url);
  background-size: cover;
  background-position: center;
}

.login-shell{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 80px;
  padding-right: 16px;
  position: relative;
  z-index: 1;
}

/* Card */
.login-card {
  width: 400px;
  max-width: 400px;
  background: rgb(255 255 255 / 96%);
  border-radius: 10px;
  flex: 0 0 400px;
  padding: 44px 48px;
  backdrop-filter: blur(6px);
  border: 1px solid rgb(0 0 0 / 6%);
}

.login-card-inner{
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}


.login-logo {
  width: 180px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}

.login-brand {
  font-weight: 400;
  font-size: 24px;
  letter-spacing: 0.2px;
}

.login-title {
  font-weight: 400;
  font-size: 24px;
  color: rgb(23 23 23);
  margin-top: 8px;
}

.login-subtitle {
  color: rgb(65 65 65);
  font-size: 14px;
  line-height: 21px;
  margin-bottom: 24px;
}

.login-btn {
  border-radius: 8px;
  font-weight: 400;
  font-size: 16px;
  margin-top: 8px;
  color: #fff;
  background-color: rgb(23 23 23);
  border-color: rgb(23 23 23);
}

.login-btn,
.login-btn:hover,
.login-btn:focus,
.login-btn:active,
.login-btn:focus-visible {
  background-color: rgb(23 23 23) !important;
  border-color: rgb(23 23 23) !important;
  color: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  transform: none !important;
}

/* Mobile: takes up all the space */
@media (width <= 575.98px) {
  .login-bg { display: none; }
  .login-page { background: #fff; }

  .login-shell{
    padding-left: 0;
    padding-right: 0;
    justify-content: center;
  }

  .login-card {
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    padding: 40px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    border: 0;
    box-shadow: none !important;
  }
}

/* 1100px → 1366px: 80px → 142px */
@media (width >= 1100px){
  .login-shell{
    padding-left: calc(80px + (100vw - 1100px) * 0.233083);
  }
}

/* 1366px → 1920px : 142px → 280px */
@media (width >= 1366px){
  .login-shell{
    padding-left: calc(142px + (100vw - 1366px) * 0.249097);
  }
}