/* Полировка страницы входа/регистрации Workshop. Грузится только на /account
   (через _HEAD_ASSETS), поэтому селекторы можно держать общими. */

.sw-shell {
  padding: 24px 16px !important;
}

/* ── Карточка входа ── */
.sw-card {
  max-width: 460px !important;
  width: 100%;
  padding: 36px 32px 32px !important;
  border-radius: 26px !important;
  background: rgba(7, 12, 22, 0.92) !important;
  border: 1px solid rgba(0, 200, 255, 0.18) !important;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* ── Чип «Доступ к Workshop» ── */
.sw-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase;
  color: #8fe6ff !important;
  background: rgba(0, 200, 255, 0.1) !important;
  border: 1px solid rgba(0, 200, 255, 0.24) !important;
  border-radius: 100px !important;
}

.sw-card h1 {
  margin-top: 18px !important;
  font-size: clamp(26px, 4vw, 32px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
  color: #fff !important;
}

/* ── Поля ── */
.sw-field {
  display: block;
}

.sw-field span {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(180, 200, 224, 0.85);
}

.sw-field input {
  width: 100%;
  padding: 13px 15px !important;
  border-radius: 13px !important;
  background: rgba(4, 9, 18, 0.82) !important;
  border: 1px solid rgba(0, 200, 255, 0.18) !important;
  color: #eef4ff !important;
  font-size: 15px !important;
  transition: border-color 180ms, box-shadow 180ms;
}

.sw-field input::placeholder {
  color: rgba(110, 135, 175, 0.55);
}

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

/* ── Кнопки ── */
.sw-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px !important;
  margin-top: 20px !important;
}

.sw-btn {
  width: 100%;
  justify-content: center;
  padding: 13px 18px !important;
  border-radius: 13px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.sw-btn-primary {
  order: -2;
  background: linear-gradient(135deg, #f0b34a, #d2870f) !important;
  color: #1a0f00 !important;
  box-shadow: 0 8px 26px rgba(240, 179, 74, 0.34) !important;
}

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

/* «Зарегистрироваться» — заметная вторичная (cyan-outline) */
#workshop-shared-account-register {
  order: -1;
  background: rgba(0, 200, 255, 0.08) !important;
  border: 1px solid rgba(0, 200, 255, 0.4) !important;
  color: #8fe6ff !important;
}

#workshop-shared-account-register:hover {
  background: rgba(0, 200, 255, 0.16) !important;
  border-color: rgba(0, 200, 255, 0.6) !important;
}

.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.72) !important;
  font-weight: 600 !important;
}

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

/* ── Подсказки ── */
.sw-help {
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(168, 186, 210, 0.62) !important;
}

.sw-help code {
  color: #8fe6ff;
  background: rgba(0, 200, 255, 0.1);
  padding: 1px 6px;
  border-radius: 6px;
}
