.redbox-login-page {
  display: block !important;
  place-items: initial !important;
  min-height: 100vh;
  margin: 0;
  padding: 0 !important;
  border-top: 0 !important;
  overflow-x: hidden;
  background: #f2f3f4 !important;
  color: #151515;
}

.redbox-loading-page {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #070707;
  color: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.redbox-loading-shell {
  width: min(420px, calc(100vw - 40px));
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.redbox-loading-logo {
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
}

.redbox-loading-orbit {
  position: relative;
  width: 78px;
  height: 78px;
  animation: redbox-loading-spin 1.08s linear infinite;
}

.redbox-loading-orbit span {
  position: absolute;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #f04423;
  box-shadow: 0 0 22px rgba(240, 68, 35, 0.42);
}

.redbox-loading-orbit span:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.redbox-loading-orbit span:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  opacity: 0.78;
}

.redbox-loading-orbit span:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.52;
}

.redbox-loading-orbit span:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0.28;
}

.redbox-loading-shell h1 {
  margin: 8px 0 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 4.6vw, 2.55rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
}

.redbox-loading-shell p {
  margin: 0;
  color: #aeb4bf;
  font-size: 1rem;
  font-weight: 620;
}

.redbox-public-page {
  min-height: 100vh;
  margin: 0;
  background: #f2f3f4;
  color: #151515;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.redbox-public-shell {
  width: min(880px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.redbox-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111111;
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: none;
}

.redbox-public-brand img {
  width: 28px;
  height: 28px;
}

.redbox-public-card {
  margin-top: 28px;
  padding: clamp(28px, 5vw, 54px);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.1);
}

.redbox-public-card h1 {
  margin: 0;
  color: #111111;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: 0;
}

.redbox-public-lead {
  margin: 18px 0 34px;
  max-width: 680px;
  color: #4b5563;
  font-size: 1.08rem;
  line-height: 1.6;
  font-weight: 560;
}

.redbox-public-card section {
  padding-top: 22px;
  border-top: 1px solid #eceff3;
}

.redbox-public-card section + section {
  margin-top: 22px;
}

.redbox-public-card h2 {
  margin: 0 0 9px;
  color: #171717;
  font-size: 1rem;
  font-weight: 860;
}

.redbox-public-card section p {
  margin: 0;
  color: #4f5967;
  font-size: 0.98rem;
  line-height: 1.62;
}

.redbox-public-form {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #eceff3;
}

.redbox-public-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #303846;
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 650;
}

.redbox-public-check input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #f04423;
  flex: 0 0 auto;
}

.redbox-public-form button {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  background: #f04423;
  color: #ffffff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.redbox-public-form button:hover {
  background: #dd3214;
}

@keyframes redbox-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.redbox-login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(420px, 1.05fr);
  background: #f2f3f4;
}

.redbox-login-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: clamp(42px, 7vw, 88px);
  overflow: hidden;
  color: #ffffff;
  background: #070707;
}

.redbox-login-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: -1px;
  width: 36%;
  height: 100%;
  clip-path: polygon(76% 0, 100% 0, 100% 100%, 0 100%);
  background: #f2f3f4;
  z-index: -1;
}

.redbox-hero-inner {
  width: min(520px, 100%);
}

.redbox-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(240, 68, 35, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f4;
  font-size: 0.86rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.redbox-hero-pill img {
  width: 18px;
  height: 18px;
}

.redbox-login-hero h1 {
  margin: 34px 0 22px;
  max-width: 560px;
  color: #ffffff;
  font-size: clamp(3rem, 5.2vw, 5.8rem);
  line-height: 0.98;
  font-weight: 850;
}

.redbox-login-hero p {
  margin: 0;
  max-width: 520px;
  color: #e6e6e6;
  font-size: clamp(1rem, 1.3vw, 1.28rem);
  line-height: 1.65;
  font-weight: 520;
}

.redbox-hero-list {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  max-width: 455px;
}

.redbox-hero-list div {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 760;
}

.redbox-hero-list i {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #f04423;
  box-shadow: 0 0 0 5px rgba(240, 68, 35, 0.14);
}

.redbox-login-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 48px 32px;
}

.redbox-login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0 auto 26px;
  color: #111111;
}

.redbox-login-logo img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.redbox-login-logo div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.redbox-login-logo strong {
  color: #111111;
  font-size: 2.28rem;
  font-weight: 900;
  line-height: 0.92;
}

.redbox-login-logo span {
  color: #5d626b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.redbox-auth-card {
  width: min(445px, calc(100vw - 40px)) !important;
  padding: 38px 36px 34px !important;
  border: 0 !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.05) !important;
}

.redbox-auth-card h2 {
  margin: 0;
  color: #171717;
  font-size: 1.88rem;
  line-height: 1.08;
  font-weight: 850;
  text-align: center;
}

.redbox-auth-card > p {
  margin: 12px auto 28px;
  max-width: 310px;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.45;
  text-align: center;
}

.redbox-auth-card .alert {
  margin-bottom: 18px;
  border-radius: 12px;
}

.redbox-login-form {
  gap: 16px;
}

.redbox-login-form label {
  gap: 8px;
  color: #303030;
  font-size: 0.86rem;
  font-weight: 800;
}

.redbox-login-form input {
  min-height: 54px !important;
  border: 1px solid #d6dce4 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #171717 !important;
  padding: 0 16px !important;
  font-size: 0.96rem !important;
  font-weight: 620;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.redbox-login-form input::placeholder {
  color: #8a94a3;
}

.redbox-login-form input:focus {
  border-color: #f04423 !important;
  box-shadow: 0 0 0 4px rgba(240, 68, 35, 0.12);
}

.redbox-login-form .password-field input {
  padding-right: 52px !important;
}

.redbox-login-form .password-toggle {
  right: 11px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #5d626b;
}

.redbox-login-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
  border: 0;
  border-radius: 16px;
  background: #090909;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.redbox-login-submit:hover {
  transform: translateY(-1px);
  background: #1a1a1a;
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.28);
}

.redbox-login-submit span {
  color: #f04423;
  font-size: 1.12rem;
}

.redbox-auth-card .gmail-login-divider {
  margin: 22px 0 16px;
  color: #8b95a5;
}

.redbox-google-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 50px !important;
  border-radius: 15px !important;
  border: 1px solid #d6dce4 !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-weight: 820 !important;
  text-decoration: none;
}

.redbox-google-btn:hover {
  border-color: #f04423 !important;
  background: #fff7f4 !important;
}

.redbox-ios-app .redbox-login-hero {
  padding: 24px 24px 28px;
}

.redbox-ios-app .redbox-login-hero h1 {
  margin: 20px 0 12px;
  font-size: clamp(2.2rem, 7vw, 3.15rem);
  line-height: 0.98;
}

.redbox-ios-app .redbox-login-hero p {
  font-size: 0.98rem;
  line-height: 1.46;
}

.redbox-ios-app .redbox-hero-list {
  margin-top: 18px;
  gap: 8px;
}

.redbox-ios-app .redbox-hero-list div {
  min-height: 38px;
  padding: 0 13px;
  font-size: 0.86rem;
}

.redbox-ios-app .redbox-login-panel {
  justify-content: flex-start;
  padding: 24px 20px 112px;
}

.redbox-ios-app .redbox-auth-card {
  width: min(438px, calc(100vw - 40px)) !important;
  padding: 28px 32px 30px !important;
}

.redbox-ios-app .redbox-login-logo {
  margin-bottom: 18px;
}

.redbox-ios-app .redbox-login-logo img {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
}

.redbox-ios-app .redbox-login-logo strong {
  font-size: 1.95rem;
}

.redbox-ios-app .redbox-auth-card h2 {
  font-size: 1.68rem;
}

.redbox-ios-app .redbox-auth-card > p {
  margin: 10px auto 20px;
}

@media (max-width: 980px) {
  .redbox-login-shell {
    grid-template-columns: 1fr;
    background: #f2f3f4;
  }

  .redbox-login-hero {
    min-height: auto;
    padding: 28px 24px 34px;
  }

  .redbox-login-hero::after {
    display: none;
  }

  .redbox-login-hero h1 {
    margin: 24px 0 14px;
    font-size: clamp(2.35rem, 12vw, 3.9rem);
  }

  .redbox-hero-list {
    margin-top: 22px;
    gap: 9px;
  }

  .redbox-hero-list div {
    min-height: 42px;
    font-size: 0.88rem;
  }

  .redbox-login-panel {
    justify-content: flex-start;
    padding: 28px 20px 36px;
  }

  .redbox-login-logo {
    margin-bottom: 22px;
  }

  .redbox-login-logo img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .redbox-login-logo strong {
    font-size: 2rem;
  }

  .redbox-login-logo span {
    max-width: 230px;
    font-size: 0.78rem;
  }

  .redbox-auth-card {
    padding: 30px 24px 26px !important;
    border-radius: 22px !important;
  }
}

@media (max-width: 520px) {
  .redbox-login-hero {
    padding: 24px 18px 28px;
  }

  .redbox-login-panel {
    padding: 24px 14px 30px;
  }

  .redbox-auth-card {
    width: min(100%, calc(100vw - 28px)) !important;
  }

  .redbox-auth-card h2 {
    font-size: 1.58rem;
  }

  .redbox-login-form input,
  .redbox-login-submit {
    min-height: 50px !important;
  }
}
