/* Премиум-скин Workshop: приводит канонические sw-* страницы (логин, тарифы,
   legal) к виду front-door — неон-cyan + золото + glassmorphism.
   Грузится ПОСЛЕ workshop.css, поэтому переопределяет его. */

:root {
  --sw-primary: #00c8ff;
  --sw-primary-hover: #33d3ff;
  --sw-architect: #00c8ff;
  --sw-bg-primary: #03050b;
  --sw-bg-secondary: #0a1320;
  --sw-bg-tertiary: #101c2c;
  --sw-text-primary: #e8edf8;
  --sw-text-secondary: rgba(232, 237, 248, 0.65);
  --sw-border: rgba(0, 200, 255, 0.18);
  --sw-gold: #f0b34a;
}

body {
  background:
    radial-gradient(110% 80% at 18% 0%, rgba(0, 140, 255, 0.1), transparent 60%),
    radial-gradient(90% 70% at 92% 100%, rgba(240, 179, 74, 0.07), transparent 60%),
    linear-gradient(180deg, #03050b 0%, #05080f 55%, #02040a 100%) !important;
  color: #e8edf8 !important;
}

/* ── Карточки: glassmorphism + неон-бордер ── */
.sw-card {
  background: rgba(6, 11, 22, 0.85) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 200, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

/* ── Чипы-пилюли ── */
.sw-chip {
  border-radius: 100px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(232, 237, 248, 0.7) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── Поля ввода ── */
.sw-field input,
.sw-field select,
.sw-field textarea,
input.sw-input {
  background: rgba(6, 11, 22, 0.7) !important;
  border: 1px solid rgba(0, 200, 255, 0.18) !important;
  border-radius: 12px !important;
  color: #e8edf8 !important;
}

.sw-field input:focus,
.sw-field select:focus,
.sw-field textarea:focus {
  border-color: rgba(0, 200, 255, 0.44) !important;
  box-shadow: 0 0 0 4px rgba(0, 200, 255, 0.07) !important;
  outline: none;
}

/* ── Кнопки ── */
.sw-btn {
  border-radius: 12px !important;
}

.sw-btn-primary {
  background: linear-gradient(135deg, #f0b34a, #b06808) !important;
  color: #050200 !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 6px 24px rgba(240, 179, 74, 0.3) !important;
}

.sw-btn-primary:hover {
  box-shadow: 0 10px 32px rgba(240, 179, 74, 0.46) !important;
  transform: translateY(-1px);
}

.sw-btn-secondary {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: rgba(232, 237, 248, 0.78) !important;
}

.sw-btn-secondary:hover {
  border-color: rgba(0, 200, 255, 0.32) !important;
  color: #e8edf8 !important;
}

/* ── Акценты ── */
.sw-brand-title,
h1,
h2 {
  color: #f5f8fd;
}

.sw-help {
  color: rgba(232, 237, 248, 0.58) !important;
}

/* ── Кнопка «показать пароль» ── */
.iw-pw-wrap {
  position: relative;
  display: block;
}

.iw-pw-wrap input {
  width: 100%;
  padding-right: 44px !important;
}

.iw-pw-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  opacity: 0.7;
}

.iw-pw-toggle:hover {
  opacity: 1;
  background: rgba(0, 200, 255, 0.1);
}
