/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  padding: 0 12px;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary--full {
  width: 100%;
}

.btn-auth {
  height: 40px;
  padding: 0 16px;
  background: var(--auth-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  cursor: pointer;
}

.btn-text {
  background: none;
  border: none;
  color: var(--auth-primary);
  font-size: 14px;
  cursor: pointer;
}

.btn-text--muted {
  color: var(--muted-text);
  font-size: 16px;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 6px;
  border: none;
  background: transparent;
  border-radius: var(--radius-md);
  color: var(--muted-text);
  cursor: pointer;
}

.btn-icon:hover {
  background: var(--activity-bar-hover-overlay);
}

.btn-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.btn-send .material-symbols-outlined {
  font-size: 18px;
}

/* ── Inputs ── */
.input-field {
  width: 100%;
  padding: 14px 12px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.input-field:focus {
  border-color: var(--auth-primary);
  border-width: 1.5px;
  padding: 13.5px 11.5px;
}

.input-field::placeholder {
  color: #9ca3af;
}

.input-search {
  width: 100%;
  height: 38px;
  padding: 10px 10px 10px 32px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: 12px;
  outline: none;
}

.input-search:focus {
  border-color: var(--accent-blue);
}

.input-search-wrap {
  position: relative;
}

.input-search-wrap .material-symbols-outlined {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--session-section-label);
  pointer-events: none;
}

.input-search--sm {
  height: 36px;
}

/* ── Chips / tags ── */
.chip-tool {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  background: var(--pill-background);
  border: 1px solid #93c5fd;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
  color: var(--pill-foreground);
}

.chip-tool .chip-close {
  font-size: 14px;
  opacity: 0.6;
  cursor: pointer;
}

.chip-skill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--assistant-accent);
}

.chip-model {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 420px;
  padding: 8px 10px;
  background: var(--panel-background);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.chip-model .material-symbols-outlined {
  font-size: 14px;
  color: var(--muted-text);
}

/* ── Badges ── */
.badge-official {
  display: inline-block;
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 600;
  background: var(--official-bg);
  color: var(--official-fg);
  border: 1px solid var(--official-border);
  border-radius: 4px;
}

.badge-update {
  padding: 1px 6px;
  font-size: 9px;
  font-weight: 600;
  background: var(--accent-blue);
  color: #fff;
  border-radius: 8px;
}

/* ── Extension tab pills ── */
.ext-tabs {
  display: flex;
  gap: 4px;
}

.ext-tab {
  padding: 4px 14px;
  border: none;
  border-radius: var(--radius-pill);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted-text);
  cursor: pointer;
}

.ext-tab.is-active {
  background: var(--accent-blue);
  color: #fff;
  font-weight: 600;
}

/* ── Checkbox ── */
.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.54);
}

.checkbox-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--auth-primary);
  border-radius: 4px;
}

/* ── Info box ── */
.info-box {
  padding: 12px;
  background: #f9fafb;
  border-radius: var(--radius-md);
}

.info-box--blue {
  background: var(--token-badge-background);
  border: 1px solid var(--token-badge-border);
}

.info-box__title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 6px;
}

.info-box__title .material-symbols-outlined {
  font-size: 16px;
  color: #6b7280;
}

.info-box p,
.info-box ul {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.info-box ul {
  padding-left: 0;
  list-style: none;
}

.info-box li::before {
  content: "• ";
}

/* ── QR placeholder ── */
.qr-mock {
  width: 200px;
  height: 200px;
  background:
    linear-gradient(90deg, #111 2px, transparent 2px) 0 0 / 12px 12px,
    linear-gradient(#111 2px, transparent 2px) 0 0 / 12px 12px;
  background-color: #fff;
  border: 8px solid #fff;
  box-shadow: inset 0 0 0 2px #e5e7eb;
}

.qr-box {
  width: 300px;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-lg);
  background: #fff;
}
