/* Custom Base & Animations */
@layer base {
  body {
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
}

/* Custom scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d5c7b3;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a89d8d;
}

/* Tab button active state */
.tab-btn {
  color: #57534e;
}
.tab-btn.active {
  background-color: #ffffff;
  color: #0D5C3A;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

/* Modal slide up animation */
.modal-animation {
  animation: modalEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Dragging styling */
.dragging-item {
  opacity: 0.5;
  transform: scale(0.98);
  background-color: #f0fdf4 !important;
  border: 2px dashed #0D5C3A !important;
}

/* Pulsing highlight for active turn */
.active-turn-ring {
  box-shadow: 0 0 0 2px #C59B27;
}

/* Micro interaction on interactive lists */
.turn-row {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.turn-row:hover {
  transform: translateY(-1px);
}

@media print {
  header, .tab-btn, button, #viewSettings {
    display: none !important;
  }
}