/*
 * Button component styles
 */

a[class*="btn-"]:hover {
  text-decoration: none;
}

.btn {
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-md);
  font-family: "Geist Mono", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-large {
  width: 100%;
  padding: var(--space-4) var(--space-6);
  font-size: 1rem;
}

.btn-primary {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: inherit;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

a.btn-primary {
  color: var(--gray-900);
}

a.btn-primary:hover {
  color: var(--gray-900);
}

.btn-primary:hover {
  background: var(--gray-200);
}

.btn-primary:disabled {
  background: var(--gray-800);
  color: var(--gray-600);
  cursor: not-allowed;
}

.btn-primary:disabled:hover {
  background: var(--gray-800);
}

.btn-secondary {
  background: var(--gray-700);
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-600);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

a.btn-secondary {
  color: white;
}

a.btn-secondary:hover {
  color: white;
}

.btn-secondary:hover {
  background: var(--gray-600);
}

.btn-secondary:disabled {
  background: var(--gray-800);
  border-color: var(--gray-700);
  color: var(--gray-500);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-outline {
  background: transparent;
  color: var(--blue-500);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--blue-500);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: inherit;
  font-size: 0.875rem;
  text-decoration: none;
  display: inline-block;
}

a.btn-outline {
  color: var(--blue-500);
}

a.btn-outline:hover {
  color: var(--blue-500);
  text-decoration: none;
}

.btn-outline:hover {
  background: rgba(59, 130, 246, 0.1);
}

.btn-danger {
  background: #dc2626;
  color: white;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid #dc2626;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  font-family: inherit;
  font-size: 0.875rem;
}

.btn-danger:hover {
  background: #b91c1c;
}

.btn-small {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  background: var(--gray-700);
  color: white;
  border: 1px solid var(--gray-600);
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s ease;
}

.btn-small:hover {
  background: var(--gray-600);
  color: white;
}

.btn-small-danger {
  background: #7f1d1d;
  border-color: #991b1b;
}

.btn-small-danger:hover {
  background: #991b1b;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: "Geist Mono", monospace;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

.button-primary {
  background: #ffffff;
  color: #000000;
}

.button-primary:hover {
  background: var(--gray-200);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.button-secondary {
  background: var(--gray-800);
  color: var(--gray-200);
  border: 1px solid var(--gray-700);
}

.button-secondary:hover {
  background: var(--gray-700);
  border-color: var(--gray-600);
}
