
.auth-shell {
  padding: 0 8px;
}

.panel {
  background: linear-gradient(180deg, rgba(16, 24, 43, 0.97), rgba(9, 14, 28, 0.97));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.panel__body {
  padding: 16px;
}

.auth-pane-title {
  margin: 0 0 14px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.01em;
}

.auth-pane-title .accent {
  color: #ff2d86;
}

.form-shell {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 6px;
}

.field__label {
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.field__input {
  appearance: none;
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.96);
  color: var(--text);
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field__input:focus {
  outline: none;
  border-color: rgba(255, 45, 134, 0.68);
  box-shadow: 0 0 0 3px rgba(255, 45, 134, 0.16);
}

.field__input.error {
  border-color: rgba(239, 68, 68, 0.6);
}

.form-alert {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #fecaca;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.85rem;
}

.form-actions {
  margin-top: 2px;
}

.form-actions .btn-flat-primary {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff4ba1 0%, #ff2d86 100%) !important;
  color: #fff !important;
  font-family: "Titillium Web", sans-serif !important;
  font-weight: 800;
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.form-actions .btn-flat-primary:hover,
.form-actions .btn-flat-primary:focus {
  transform: translateY(-1px);
  outline: none;
}

.form-actions .btn-flat-primary:active {
  transform: translateY(0);
}

.auth-switch {
  color: var(--muted);
  font-size: 0.86rem;
}

.link-muted,
.auth-switch a {
  color: #ff2d86;
  font-weight: 800;
  text-decoration: none;
}

.link-muted:hover,
.auth-switch a:hover {
  color: #ff4ba1;
  text-decoration: underline;
}

.auth-pane {
  animation: fadeIn 0.18s ease;
}

.is-hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0.6;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mini-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  margin: 14px 0 6px;
}

.subscription-note {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.subscription-note strong {
  color: #fff;
}

.league-chips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.league-chip {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.5rem;
  text-align: center;
}

.league-chip img {
  width: 1.5rem;
  height: 1.5rem;
  margin-bottom: 0.25rem;
}

.league-name {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
}

.league-status {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
}

.steps-timeline {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: grid;
  gap: 8px;
}

.steps-timeline--compact li {
  display: grid;
  grid-template-columns: 14px 1fr;
  align-items: center;
  column-gap: 10px;
  position: relative;
  min-height: 18px;
}

.steps-timeline--compact li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: -8px;
  width: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent);
}

.steps-timeline--compact li:last-child::before {
  display: none;
}

.steps-timeline--compact .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 45, 134, 0.35);
  border: 1px solid rgba(255, 45, 134, 0.7);
  box-shadow: inset 0 0 0 2px rgba(255, 45, 134, 0.25);
}

.steps-timeline--compact .label {
  color: var(--muted);
  font-weight: 600;
  line-height: 1.2;
}

.steps-timeline--compact .label i {
  color: #a855f7;
}

@media (max-width: 360px) {
  .steps-timeline--compact {
    gap: 6px;
  }

  .steps-timeline--compact li {
    column-gap: 8px;
  }
}

.subscription-intro .text-center a {
  color: #ff2d86;
  text-decoration: none;
}

.subscription-intro .text-center a:hover {
  color: #ff4ba1;
  text-decoration: underline;
}
