.auth-wall {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
}

.auth-wall__panel {
  width: min(760px, 100%);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 22px 22px 20px;
  box-shadow: var(--card-shadow);
  box-sizing: border-box;
  max-height: 90vh;
  overflow: auto;
}

.auth-wall__stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.auth-wall__eyebrow {
  margin: 0;
  color: var(--muted-text-color);
  letter-spacing: 0.05em;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.auth-wall__title {
  margin: 0;
  font-size: 24px;
  color: var(--family-primary-color);
  text-align: center;
}

.auth-wall__description {
  margin: 0;
  color: var(--muted-text-color);
  line-height: 1.5;
  text-align: center;
}

.auth-wall__user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-color);
  font-weight: 600;
  justify-content: center;
  margin: 0 auto;
}

.auth-wall__plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  width: 100%;
  justify-items: center;
}

.auth-wall__plan {
  border: 1px dashed var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  max-width: 420px;
}

.auth-wall__plan-title {
  margin: 0;
  font-weight: 700;
  color: var(--text-color);
}

.auth-wall__plan-price {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--family-primary-color);
}

.auth-wall__plan-note {
  margin: 0;
  color: var(--muted-text-color);
  font-size: 13px;
}

.auth-wall__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.auth-wall__loader {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.35));
  animation: authPulse 1.4s ease-in-out infinite;
}

.auth-wall__panel form,
.auth-wall__panel .form {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  box-sizing: border-box;
}

.auth-wall__panel input,
.auth-wall__panel select,
.auth-wall__panel textarea {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  box-sizing: border-box;
}

@keyframes authPulse {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

@media (max-width: 720px) {
  .auth-wall__panel {
    padding: 18px;
  }

  .auth-wall__title {
    font-size: 20px;
  }

  .auth-wall__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-wall__actions button {
    width: 100%;
  }

  .auth-wall__panel input,
  .auth-wall__panel select,
  .auth-wall__panel textarea {
    max-width: 100%;
  }
}

.auth-wall__stack .stretch {
  align-self: stretch;
  width: 100%;
}
