.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition:
    transform 0.2s,
    opacity 0.2s,
    background-color 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  gap: 0.5rem;
  width: 100%; /* Full width to match the design */
  margin-bottom: 12px;
}

button-group .btn {
  margin-bottom: 0; /* Clear bottom margin inside the grid */
}

.btn:active {
  transform: scale(0.98);
}

.btn:disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* --- VARIANTS --- */

/* Main standalone buttons (like HelloAsso) will be Red */
.btn-default {
  background: var(--destructive);
  color: var(--destructive-foreground);
}
.btn-default:hover {
  opacity: 0.9;
}

/* Buttons inside the social group automatically turn Blue */
button-group .btn-default {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-destructive {
  background: var(--destructive);
  color: var(--destructive-foreground);
}
.btn-destructive:hover {
  opacity: 0.9;
}

.btn-outline {
  border-color: var(--primary);
  background: transparent;
  color: var(--primary);
}
.btn-outline:hover {
  background: rgba(0, 38, 84, 0.05); /* Very light blue tint */
}

.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover {
  background: #f3f4f6;
  color: var(--foreground);
}
.btn-primary {
  background-color: #a04a2d;
  color: white;
  margin: 20px 0;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: scale(1.02);
  background-color: #c05d38;
}
/* --- SIZES --- */
.btn-default-size {
  height: auto;
  min-height: 2.75rem;
  padding: 10px 20px;
}
.btn-sm {
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.75rem;
}
.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}
.btn-icon {
  height: 2.5rem;
  width: 2.5rem;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  pointer-events: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
