/* ==========================================================================
   Components: Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: var(--font-size-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}

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

/* Primary Button */
.btn-primary {
  background-color: var(--primary-light);
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--primary-hover);
}

/* Secondary Button */
.btn-secondary {
  background-color: var(--bg-color);
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--surface-hover);
  border-color: var(--text-muted);
}

/* Outline Button */
.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-color);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--surface-hover);
}

/* Text Button */
.btn-text {
  background-color: transparent;
  color: var(--primary-light);
  padding: 0.5rem 1rem;
}

.btn-text:hover:not(:disabled) {
  text-decoration: underline;
  background-color: var(--surface-hover);
}

/* Icon Button (Kare boyut) */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background-color: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background-color: var(--surface-hover);
  color: var(--primary-light);
}

/* Yükseklik (Sizes) */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-xs);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-base);
}

/* Block Button */
.btn-block {
  display: flex;
  width: 100%;
}
