/* ==========================================================================
   Setup Guide Page Styles
   ========================================================================== */

.setup-page {
  min-height: calc(100vh - var(--nav-h));
  padding: 40px 0 80px;
}

.page-header {
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 2px solid rgba(251, 191, 36, 0.2);
}

.page-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.page-description {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}

/* Tabs */
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid rgba(251, 191, 36, 0.2);
  padding-bottom: 0;
}

.tab-button {
  background: transparent;
  border: none;
  color: var(--muted);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  position: relative;
  bottom: -2px;
}

.tab-button:hover {
  color: var(--text);
  background: rgba(251, 191, 36, 0.05);
}

.tab-button.active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.setup-content {
  max-width: 800px;
}

.setup-step {
  margin-bottom: 48px;
}

.setup-step h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.setup-step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 12px;
}

.setup-step p:last-child {
  margin-bottom: 0;
}

.setup-step code {
  font-family: 'Courier New', Consolas, monospace;
  font-size: 14px;
  color: var(--golden);
  background: rgba(251, 191, 36, 0.1);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.code-block {
  background: rgba(26, 11, 46, 0.6);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-left: 4px solid var(--brand);
  padding: 16px;
  margin: 12px 0;
  border-radius: 4px;
  font-family: 'Courier New', Consolas, monospace;
  font-size: 14px;
  color: var(--golden);
  overflow-x: auto;
}

.code-block a {
  color: var(--brand);
  text-decoration: none;
  word-break: break-all;
}

.code-block a:hover {
  text-decoration: underline;
  color: var(--brand-2);
}

.config-section {
  margin-bottom: 20px;
}

.config-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.note {
  font-size: 14px;
  color: var(--muted);
  font-style: italic;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .setup-page {
    padding: 32px 0 60px;
  }

  .page-header {
    margin-bottom: 32px;
  }

  .tabs {
    gap: 4px;
    margin-bottom: 24px;
  }

  .tab-button {
    padding: 10px 16px;
    font-size: 14px;
  }

  .setup-step {
    margin-bottom: 36px;
  }

  .code-block {
    font-size: 13px;
    padding: 12px;
  }
}

@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    border-bottom: none;
    gap: 8px;
    margin-bottom: 24px;
  }

  .tab-button {
    width: 100%;
    text-align: left;
    border-bottom: none;
    border-left: 3px solid transparent;
    padding: 12px 16px;
  }

  .tab-button.active {
    border-left-color: var(--brand);
    border-bottom-color: transparent;
    background: rgba(251, 191, 36, 0.1);
  }
}
