/* buttons.css -- All button patterns */

/* ------------------------------------------------------------------ */
/* Primary button                                                       */
/* ------------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: #0a0a0f;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.85rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: box-shadow 0.2s, transform 0.1s;
  white-space: nowrap;
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ------------------------------------------------------------------ */
/* Small variant                                                        */
/* ------------------------------------------------------------------ */
.btn-small {
  padding: 0.45rem 0.9rem;
  font-size: 0.75rem;
}

/* ------------------------------------------------------------------ */
/* Ghost / secondary button                                             */
/* ------------------------------------------------------------------ */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem;
  background: transparent;
  color: var(--accent-primary);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.82rem;
  border: 1px solid var(--accent-primary);
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-ghost:hover {
  background: rgba(245, 166, 35, 0.1);
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.2);
}

.btn-ghost:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ------------------------------------------------------------------ */
/* Icon-only button                                                     */
/* ------------------------------------------------------------------ */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.btn-icon:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

/* ------------------------------------------------------------------ */
/* Pay toggle (ETH/FLIP/WWXRP currency switcher)                     */
/* ------------------------------------------------------------------ */
.pay-toggle {
  display: flex;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
}

.pay-toggle-btn {
  padding: 0.35rem 0.9rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border: none;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pay-toggle-btn.active {
  background: var(--accent-primary);
  color: #0a0a0f;
}

.pay-toggle-btn:not(.active):hover {
  color: var(--text-primary);
}
