/*
 * SentinelSecurity — セットアップウィザード スタイルシート
 * CSS prefix: .sss-wiz-*
 */

/* ============================================================
   カスタムプロパティ
   ============================================================ */
:root {
  --sss-wiz-primary:        #2271b1;
  --sss-wiz-primary-dark:   #135e96;
  --sss-wiz-primary-light:  #e8f0f8;
  --sss-wiz-success:        #00a32a;
  --sss-wiz-success-light:  #edfaef;
  --sss-wiz-warning:        #dba617;
  --sss-wiz-warning-light:  #fef8e1;
  --sss-wiz-danger:         #d63638;
  --sss-wiz-danger-light:   #fbeaea;
  --sss-wiz-info-light:     #e7f3fc;
  --sss-wiz-bg:             #f0f0f1;
  --sss-wiz-surface:        #ffffff;
  --sss-wiz-border:         #c3c4c7;
  --sss-wiz-text:           #1d2327;
  --sss-wiz-text-muted:     #646970;
  --sss-wiz-sidebar-w:      240px;
  --sss-wiz-radius:         6px;
  --sss-wiz-shadow:         0 1px 4px rgba(0, 0, 0, 0.1);
  --sss-wiz-transition:     0.2s ease;
}

/* ============================================================
   リセット / ベース
   ============================================================ */
.sss-wiz-body {
  background: var(--sss-wiz-bg);
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  font-size: 14px;
  color: var(--sss-wiz-text);
}

.sss-wiz-body *,
.sss-wiz-body *::before,
.sss-wiz-body *::after {
  box-sizing: border-box;
}

/* WordPress の #wpcontent padding を打ち消す */
.sss-wiz-body #wpcontent,
.sss-wiz-body #wpbody-content {
  padding: 0;
  float: none;
}

/* ============================================================
   ルートレイアウト
   ============================================================ */
.sss-wiz-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ============================================================
   ヘッダー
   ============================================================ */
.sss-wiz-header {
  background: var(--sss-wiz-primary);
  color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

.sss-wiz-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  height: 52px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.sss-wiz-header__brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 15px;
}

.sss-wiz-header__icon {
  font-size: 20px;
  line-height: 1;
}

.sss-wiz-header__version {
  font-size: 11px;
  opacity: 0.75;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 1px 7px;
}

.sss-wiz-header__title {
  flex: 1;
  text-align: center;
  font-size: 14px;
  opacity: 0.9;
}

.sss-wiz-skip-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: background var(--sss-wiz-transition);
  white-space: nowrap;
}

.sss-wiz-skip-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* ============================================================
   メインレイアウト（サイドバー + コンテンツ）
   ============================================================ */
.sss-wiz-layout {
  display: flex;
  flex: 1;
  max-width: 1100px;
  margin: 32px auto;
  width: 100%;
  gap: 24px;
  padding: 0 20px;
  align-items: flex-start;
}

/* ============================================================
   サイドバー / ステップナビ
   ============================================================ */
.sss-wiz-sidebar {
  width: var(--sss-wiz-sidebar-w);
  flex-shrink: 0;
  background: var(--sss-wiz-surface);
  border-radius: var(--sss-wiz-radius);
  box-shadow: var(--sss-wiz-shadow);
  overflow: hidden;
  position: sticky;
  top: 70px;
}

.sss-wiz-steps {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.sss-wiz-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  cursor: default;
  transition: background var(--sss-wiz-transition);
}

.sss-wiz-step__badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1;
  transition: background var(--sss-wiz-transition), color var(--sss-wiz-transition);
}

.sss-wiz-step__label {
  font-size: 13px;
  line-height: 1.3;
  transition: color var(--sss-wiz-transition);
}

/* 未到達 */
.sss-wiz-step--pending .sss-wiz-step__badge {
  background: #e5e5e5;
  color: #888;
}
.sss-wiz-step--pending .sss-wiz-step__label {
  color: var(--sss-wiz-text-muted);
}

/* 現在 */
.sss-wiz-step--active {
  background: var(--sss-wiz-primary-light);
}
.sss-wiz-step--active .sss-wiz-step__badge {
  background: var(--sss-wiz-primary);
  color: #fff;
}
.sss-wiz-step--active .sss-wiz-step__label {
  color: var(--sss-wiz-primary-dark);
  font-weight: 600;
}

/* 完了 */
.sss-wiz-step--done .sss-wiz-step__badge {
  background: var(--sss-wiz-success);
  color: #fff;
}
.sss-wiz-step--done .sss-wiz-step__badge .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
}
.sss-wiz-step--done .sss-wiz-step__label {
  color: var(--sss-wiz-text-muted);
}

/* ============================================================
   メインコンテンツエリア
   ============================================================ */
.sss-wiz-main {
  flex: 1;
  min-width: 0;
}

/* ============================================================
   パネル（各ステップ）
   ============================================================ */
.sss-wiz-panel {
  display: none;
  background: var(--sss-wiz-surface);
  border-radius: var(--sss-wiz-radius);
  box-shadow: var(--sss-wiz-shadow);
  padding: 32px 36px;
}

.sss-wiz-panel--active {
  display: block;
}

.sss-wiz-panel__head {
  margin-bottom: 28px;
  border-bottom: 1px solid var(--sss-wiz-border);
  padding-bottom: 20px;
}

.sss-wiz-panel__head--centered {
  text-align: center;
}

.sss-wiz-panel__title {
  font-size: 20px;
  font-weight: 600;
  color: var(--sss-wiz-text);
  margin: 0 0 8px;
}

.sss-wiz-panel__description {
  font-size: 14px;
  color: var(--sss-wiz-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ============================================================
   ようこそ: フィーチャーグリッド
   ============================================================ */
.sss-wiz-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.sss-wiz-feature-card {
  background: var(--sss-wiz-bg);
  border: 1px solid var(--sss-wiz-border);
  border-radius: var(--sss-wiz-radius);
  padding: 18px 16px;
  text-align: center;
}

.sss-wiz-feature-card__icon {
  font-size: 28px;
  color: var(--sss-wiz-primary);
  display: block;
  margin-bottom: 10px;
  width: 28px;
  height: 28px;
  margin-left: auto;
  margin-right: auto;
}

.sss-wiz-feature-card__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.sss-wiz-feature-card__body {
  font-size: 12px;
  color: var(--sss-wiz-text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ============================================================
   ボタン
   ============================================================ */
.sss-wiz-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--sss-wiz-border);
}

.sss-wiz-actions--centered {
  justify-content: center;
  border-top: none;
  padding-top: 0;
}

.sss-wiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  line-height: 1.5;
  transition: background var(--sss-wiz-transition), box-shadow var(--sss-wiz-transition), border-color var(--sss-wiz-transition);
}

.sss-wiz-btn .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
  line-height: 1;
}

.sss-wiz-btn--primary {
  background: var(--sss-wiz-primary);
  color: #fff;
  border-color: var(--sss-wiz-primary);
}

.sss-wiz-btn--primary:hover,
.sss-wiz-btn--primary:focus {
  background: var(--sss-wiz-primary-dark);
  border-color: var(--sss-wiz-primary-dark);
  color: #fff;
  box-shadow: 0 0 0 1px var(--sss-wiz-primary-dark);
  outline: none;
}

.sss-wiz-btn--secondary {
  background: var(--sss-wiz-surface);
  color: var(--sss-wiz-primary);
  border-color: var(--sss-wiz-primary);
}

.sss-wiz-btn--secondary:hover {
  background: var(--sss-wiz-primary-light);
}

.sss-wiz-btn--ghost {
  background: transparent;
  color: var(--sss-wiz-text-muted);
  border-color: var(--sss-wiz-border);
}

.sss-wiz-btn--ghost:hover {
  background: var(--sss-wiz-bg);
  color: var(--sss-wiz-text);
}

.sss-wiz-btn--large {
  padding: 11px 28px;
  font-size: 15px;
}

.sss-wiz-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   フォーム
   ============================================================ */
.sss-wiz-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sss-wiz-fieldset {
  border: 1px solid var(--sss-wiz-border);
  border-radius: var(--sss-wiz-radius);
  padding: 18px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sss-wiz-fieldset__legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--sss-wiz-text);
  padding: 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sss-wiz-fieldset__legend .dashicons {
  color: var(--sss-wiz-primary);
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.sss-wiz-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sss-wiz-field--inline {
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.sss-wiz-field--toggle-row {
  flex-direction: row;
  align-items: center;
}

.sss-wiz-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--sss-wiz-text);
  min-width: 140px;
}

.sss-wiz-input {
  border: 1px solid var(--sss-wiz-border);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--sss-wiz-text);
  background: var(--sss-wiz-surface);
  transition: border-color var(--sss-wiz-transition), box-shadow var(--sss-wiz-transition);
}

.sss-wiz-input:focus {
  border-color: var(--sss-wiz-primary);
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.15);
  outline: none;
}

.sss-wiz-input--number {
  width: 80px;
  text-align: center;
}

.sss-wiz-input--wide {
  width: 100%;
  max-width: 420px;
}

.sss-wiz-select {
  border: 1px solid var(--sss-wiz-border);
  border-radius: 4px;
  padding: 7px 10px;
  font-size: 13px;
  color: var(--sss-wiz-text);
  background: var(--sss-wiz-surface);
  min-width: 180px;
}

.sss-wiz-number-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sss-wiz-number-unit {
  font-size: 13px;
  color: var(--sss-wiz-text-muted);
}

.sss-wiz-url-wrap {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.sss-wiz-url-prefix {
  background: #f6f7f7;
  border: 1px solid var(--sss-wiz-border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  padding: 7px 10px;
  font-size: 12px;
  color: var(--sss-wiz-text-muted);
  white-space: nowrap;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sss-wiz-url-wrap .sss-wiz-input {
  border-radius: 0 4px 4px 0;
  flex: 1;
  min-width: 120px;
}

/* ============================================================
   トグルスイッチ
   ============================================================ */
.sss-wiz-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
}

.sss-wiz-toggle__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.sss-wiz-toggle__track {
  position: relative;
  width: 38px;
  height: 22px;
  background: #c3c4c7;
  border-radius: 11px;
  flex-shrink: 0;
  transition: background var(--sss-wiz-transition);
}

.sss-wiz-toggle__track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform var(--sss-wiz-transition);
}

.sss-wiz-toggle__input:checked + .sss-wiz-toggle__track {
  background: var(--sss-wiz-primary);
}

.sss-wiz-toggle__input:checked + .sss-wiz-toggle__track::after {
  transform: translateX(16px);
}

.sss-wiz-toggle__input:focus + .sss-wiz-toggle__track {
  box-shadow: 0 0 0 2px rgba(34, 113, 177, 0.25);
}

.sss-wiz-toggle__label {
  font-size: 13px;
  color: var(--sss-wiz-text);
}

/* サブフィールドのアニメーション */
.sss-wiz-subfields {
  padding-left: 8px;
  border-left: 2px solid var(--sss-wiz-primary-light);
}

/* ============================================================
   ヒント
   ============================================================ */
.sss-wiz-hint {
  font-size: 12px;
  color: var(--sss-wiz-text-muted);
  margin: 2px 0 0;
  line-height: 1.5;
}

.sss-wiz-hint--warning {
  color: #795b00;
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.sss-wiz-hint--warning .dashicons {
  font-size: 14px;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sss-wiz-hint--centered {
  text-align: center;
}

/* ============================================================
   アラート
   ============================================================ */
.sss-wiz-alert {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--sss-wiz-radius);
  font-size: 13px;
  margin-top: 16px;
}

.sss-wiz-alert .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sss-wiz-alert--error {
  background: var(--sss-wiz-danger-light);
  color: #7b1618;
  border: 1px solid rgba(214, 54, 56, 0.3);
}

.sss-wiz-alert--error .dashicons {
  color: var(--sss-wiz-danger);
}

.sss-wiz-alert--success {
  background: var(--sss-wiz-success-light);
  color: #005c18;
  border: 1px solid rgba(0, 163, 42, 0.3);
}

.sss-wiz-alert--success .dashicons {
  color: var(--sss-wiz-success);
}

.sss-wiz-alert--info {
  background: var(--sss-wiz-info-light);
  color: #0a3a5c;
  border: 1px solid rgba(34, 113, 177, 0.25);
}

/* ============================================================
   スキャン UI
   ============================================================ */
.sss-wiz-scan-launcher {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-bottom: 20px;
}

.sss-wiz-scan-progress {
  margin-bottom: 16px;
}

.sss-wiz-scan-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sss-wiz-scan-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 4px;
  background: var(--sss-wiz-bg);
  font-size: 13px;
}

.sss-wiz-scan-check__icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--sss-wiz-text-muted);
}

.sss-wiz-scan-check.is-running .sss-wiz-scan-check__icon {
  color: var(--sss-wiz-primary);
  animation: sss-spin 1s linear infinite;
}

.sss-wiz-scan-check.is-done {
  background: var(--sss-wiz-info-light);
}

.sss-wiz-scan-check.is-done .sss-wiz-scan-check__icon {
  color: var(--sss-wiz-success);
}

.sss-wiz-scan-check.is-error .sss-wiz-scan-check__icon {
  color: var(--sss-wiz-danger);
}

.sss-wiz-scan-check__label {
  flex: 1;
}

.sss-wiz-scan-check__result {
  font-size: 12px;
  color: var(--sss-wiz-text-muted);
}

.sss-wiz-scan-summary {
  border: 1px solid var(--sss-wiz-border);
  border-radius: var(--sss-wiz-radius);
  padding: 18px;
  margin-bottom: 12px;
}

.sss-wiz-scan-summary__title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px;
}

.sss-wiz-scan-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sss-wiz-scan-result-card {
  background: var(--sss-wiz-surface);
  border: 1px solid var(--sss-wiz-border);
  border-radius: var(--sss-wiz-radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: var(--sss-wiz-shadow);
}

.sss-wiz-scan-result-card__grade-badge {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  background: #8c8f94;
}

.sss-wiz-scan-result-card--good    .sss-wiz-scan-result-card__grade-badge { background: var(--sss-wiz-success); }
.sss-wiz-scan-result-card--warning .sss-wiz-scan-result-card__grade-badge { background: var(--sss-wiz-warning); }
.sss-wiz-scan-result-card--danger  .sss-wiz-scan-result-card__grade-badge { background: var(--sss-wiz-danger); }

/* グレード別バッジカラー（ダッシュボードと同一） */
.sss-wiz-scan-result-card--grade-aplus .sss-wiz-scan-result-card__grade-badge {
  background: linear-gradient(135deg, #1E8C77 0%, #197763 100%);
  color: #fff;
}
.sss-wiz-scan-result-card--grade-a .sss-wiz-scan-result-card__grade-badge {
  background: linear-gradient(135deg, #5AA469 0%, #4B8959 100%);
  color: #fff;
}
.sss-wiz-scan-result-card--grade-b .sss-wiz-scan-result-card__grade-badge {
  background: linear-gradient(135deg, #C3D825 0%, #9BAC1D 100%);
  color: #333;
}
.sss-wiz-scan-result-card--grade-c .sss-wiz-scan-result-card__grade-badge {
  background: linear-gradient(135deg, #E5A91A 0%, #B78715 100%);
  color: #333;
}
.sss-wiz-scan-result-card--grade-d .sss-wiz-scan-result-card__grade-badge {
  background: linear-gradient(135deg, #E65A2C 0%, #C7431D 100%);
  color: #fff;
}
.sss-wiz-scan-result-card--grade-f .sss-wiz-scan-result-card__grade-badge {
  background: linear-gradient(135deg, #D0021B 0%, #9D0114 100%);
  color: #fff;
}

.sss-wiz-scan-result-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.sss-wiz-scan-result-card__label {
  font-size: 13px;
  color: var(--sss-wiz-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sss-wiz-scan-result-card__score {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--sss-wiz-text);
}

.sss-wiz-scan-result-card--good    .sss-wiz-scan-result-card__score { color: var(--sss-wiz-success); }
.sss-wiz-scan-result-card--warning .sss-wiz-scan-result-card__score { color: var(--sss-wiz-warning); }
.sss-wiz-scan-result-card--danger  .sss-wiz-scan-result-card__score { color: var(--sss-wiz-danger); }
.sss-wiz-scan-result-card--none    .sss-wiz-scan-result-card__score { color: #8c8f94; }

.sss-wiz-scan-summary .sss-wiz-hint {
  margin-top: 16px;
}

/* ============================================================
   ユーティリティ
   ============================================================ */
.is-hidden {
  display: none !important;
}

.sss-wiz-complete-summary__value {
  color: var(--sss-wiz-text-muted);
  font-size: 12px;
}

/* ============================================================
   バッジ
   ============================================================ */
.sss-wiz-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
}

.sss-wiz-badge--good    { background: var(--sss-wiz-success-light); color: #005c18; }
.sss-wiz-badge--warning { background: var(--sss-wiz-warning-light); color: #795b00; }
.sss-wiz-badge--danger  { background: var(--sss-wiz-danger-light);  color: #7b1618; }
.sss-wiz-badge--none    { background: #e5e5e5; color: #646970; }

/* ============================================================
   完了ステップ
   ============================================================ */
.sss-wiz-complete-icon {
  width: 72px;
  height: 72px;
  background: var(--sss-wiz-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.sss-wiz-complete-icon .dashicons {
  font-size: 36px;
  width: 36px;
  height: 36px;
  color: var(--sss-wiz-primary);
}

.sss-wiz-complete-summary {
  background: var(--sss-wiz-info-light);
  border-radius: var(--sss-wiz-radius);
  padding: 18px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.sss-wiz-complete-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
}

.sss-wiz-complete-item .dashicons {
  color: var(--sss-wiz-success);
  font-size: 18px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.sss-wiz-complete-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

/* ============================================================
   スピナー
   ============================================================ */
.sss-wiz-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: sss-spin 0.7s linear infinite;
  flex-shrink: 0;
}

/* アイコンスピン */
@keyframes sss-spin {
  to { transform: rotate(360deg); }
}

.sss-spin {
  animation: sss-spin 1s linear infinite;
  display: inline-block;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 780px) {
  .sss-wiz-layout {
    flex-direction: column;
    margin: 16px auto;
    gap: 16px;
    padding: 0 12px;
  }

  .sss-wiz-sidebar {
    width: 100%;
    position: static;
  }

  .sss-wiz-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px;
  }

  .sss-wiz-step {
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    border-left: none;
    border-bottom: 3px solid transparent;
    align-items: center;
    text-align: center;
    min-width: 64px;
  }

  .sss-wiz-step--active {
    border-bottom-color: var(--sss-wiz-primary);
    border-left: none;
  }

  .sss-wiz-panel {
    padding: 20px 16px;
  }

  .sss-wiz-header__title {
    display: none;
  }
}

@media (max-width: 480px) {
  .sss-wiz-feature-grid {
    grid-template-columns: 1fr;
  }

  .sss-wiz-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .sss-wiz-btn {
    justify-content: center;
  }
}
