/* components.css - v.1.1 */

/* === PRZYCISKI SYSTEMOWE POSX === */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  /* wymiary standardowe */
  width: 100px;
  height: 50px;
  min-width: 100px;
  max-width: 100px;

  /* styl graficzny */
  background: var(--posx-orange);
  color: var(--posx-text-light);
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;

  /* wygląd spójny dla ekranów dotykowych */
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  background: var(--posx-orange-dark);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

/* === WARIANTY KOLORYSTYCZNE === */
.btn-orange {
  background: var(--posx-orange);
  color: var(--posx-text-light);
}

.btn-orange:hover {
  background: var(--posx-orange-dark);
}

.btn-dark {
  background: var(--posx-bg-dark);
  color: var(--posx-text-light);
}

.btn-light {
  background: var(--posx-bg-light);
  color: var(--posx-text-dark);
  border: 1px solid var(--posx-border-light);
}

/* === WYŁĄCZONE PRZYCISKI === */
.btn:disabled {
  background: var(--posx-gray);
  color: var(--posx-text-muted);
  cursor: not-allowed;
  transform: none;
}

/* === PRZYCISK ZAMKNIĘCIA === */
.close-btn {
  background: transparent;
  color: var(--posx-orange);
  border: none;
  cursor: pointer;
  font-size: 36px;          /* 🔹 zwiększony rozmiar ikony */
  line-height: 1;
  padding: 8px 12px;        /* 🔹 większy obszar dotykowy */
  border-radius: 8px;
  transition: color 0.2s ease, background 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.close-btn:hover {
  color: var(--posx-orange-dark);
  background: rgba(255, 140, 0, 0.1); /* 🔹 delikatny efekt podświetlenia przy dotyku */
}

/* components.css - v.1.1 */