.pandora-login {
  min-height: calc(100vh - 4.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}

@media (min-width: 1024px) {
  .pandora-login {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    min-height: calc(100vh - 5rem);
    padding: 3rem 2rem;
  }
}

.pandora-login__brand {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 26rem;
  padding: 2rem 1.5rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

@media (min-width: 1024px) {
  .pandora-login__brand {
    flex: 0 0 22rem;
    width: 22rem;
    max-width: none;
    align-items: flex-start;
    text-align: left;
    padding: 2.5rem 2.25rem;
    border-bottom: none;
    border-radius: 1rem 0 0 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none;
  }
}

.pandora-login__brand-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(168, 85, 247, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 75%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.pandora-login__brand-grid {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 100%);
}

.pandora-login__brand-inner {
  position: relative;
  z-index: 1;
  max-width: 22rem;
}

.pandora-login__logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  margin-bottom: 1.5rem;
}

.pandora-login__logo-link img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
}

.pandora-login__store-name {
  margin: 0;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.pandora-login__headline {
  margin: 0 0 0.75rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}

.pandora-login__tagline {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

.pandora-login__perks {
  display: none;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.25rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  .pandora-login__perks {
    display: flex;
  }
}

.pandora-login__perk {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.pandora-login__perk-dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 9999px;
  background: #a855f7;
  flex-shrink: 0;
}

.pandora-login__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 26rem;
  padding: 2rem 1.5rem 0;
}

@media (min-width: 1024px) {
  .pandora-login__panel {
    flex: 0 0 26rem;
    width: 26rem;
    max-width: none;
    padding: 2.5rem 2.25rem;
    border-radius: 0 1rem 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.pandora-login__card {
  width: 100%;
  max-width: 26rem;
}

.pandora-login__card-header {
  margin-bottom: 1.75rem;
}

@media (min-width: 1024px) {
  .pandora-login__card-header {
    display: none;
  }
}

.pandora-login__card-title {
  margin: 0 0 0.35rem;
  font-family: 'Montserrat', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.pandora-login__card-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

.pandora-login__social {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

@media (min-width: 420px) {
  .pandora-login__social {
    grid-template-columns: 1fr 1fr;
  }
}

.pandora-login__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.85rem;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
  cursor: pointer;
}

.pandora-login__social-btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
}

.pandora-login__social-btn:active {
  transform: scale(0.98);
}

.pandora-login__social-btn svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

.pandora-login__divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.35);
  text-transform: lowercase;
}

.pandora-login__divider::before,
.pandora-login__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.pandora-login__field {
  margin-bottom: 1rem;
}

.pandora-login__label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
}

.pandora-login__input {
  width: 100%;
  height: 2.85rem;
  padding: 0 0.95rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0c0e;
  color: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pandora-login__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.pandora-login__input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.pandora-login__otp-wrap {
  margin-bottom: 0.5rem;
}

.pandora-login__otp-grid {
  display: flex;
  gap: 0.45rem;
  justify-content: center;
}

.pandora-login__otp-input {
  width: 2.65rem;
  height: 2.85rem;
  text-align: center;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0c0c0e;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 400px) {
  .pandora-login__otp-input {
    width: 2.85rem;
    height: 3rem;
  }
}

.pandora-login__otp-input:focus {
  outline: none;
  border-color: rgba(168, 85, 247, 0.55);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.pandora-login__otp-hint {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.pandora-login__otp-hint strong,
.pandora-login__otp-hint #user-email {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.pandora-login__submit {
  width: 100%;
  height: 2.85rem;
  margin-top: 0.35rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #161618;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.pandora-login__submit:hover:not(:disabled) {
  border-color: rgba(255, 255, 255, 0.45);
  background: #1c1c1f;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.pandora-login__submit:active:not(:disabled) {
  transform: scale(0.99);
}

.pandora-login__submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.pandora-login__back {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pandora-login__back:hover {
  color: rgba(255, 255, 255, 0.75);
}
