/* Unified Button System - 3 Categories Only */

/* Base Button Styles */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  min-width: 120px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Category 1: Primary Buttons */
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
}

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

/* Category 2: Secondary Buttons */
.btn-secondary {
  background: var(--gray);
  color: var(--white);
}

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

/* Category 3: Danger Buttons */
.btn-danger {
  background: #ff4444;
  color: var(--white);
}

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

/* View Toggle Buttons */
.view-btn {
  background: transparent;
  color: var(--white);
  padding: 8px;
  min-width: auto;
  border-radius: 8px;
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    min-width: 100px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    min-width: 80px;
  }
}