/* Custom Scrollbars */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #EEDCC2; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #d4bda0; }

.terminal-scroll::-webkit-scrollbar { width: 6px; }
.terminal-scroll::-webkit-scrollbar-track { background: #2d1b1b; }
.terminal-scroll::-webkit-scrollbar-thumb { background: #4B2E2E; border-radius: 10px; }

/* UI States */
.image-queued-delete { filter: grayscale(100%) opacity(40%); border: 3px solid #ef4444; transform: scale(0.95); }
.btn-loading { opacity: 0.7; cursor: not-allowed; pointer-events: none; }

/* Navigation */
.nav-active { background-color: #EEDCC2; color: #4B2E2E; font-weight: 700; border-left: 4px solid #4B2E2E; }
.nav-inactive { color: #8a7373; font-weight: 500; border-left: 4px solid transparent; }
.nav-inactive:hover { background-color: #fdfaf6; color: #4B2E2E; }

/* Sold Stamp Animation & Overlay */
.sold-overlay { 
  position: absolute; inset: 0; 
  background: rgba(75, 46, 46, 0.75); 
  display: flex; align-items: center; justify-content: center; 
  backdrop-filter: grayscale(100%) blur(2px); 
  border-radius: inherit; 
  z-index: 10;
}

.sold-text { 
  border: 4px solid #EEDCC2; 
  color: #EEDCC2; 
  font-weight: 900; 
  font-size: 1.5rem; 
  padding: 0.5rem 1.5rem; 
  letter-spacing: 3px; 
  text-transform: uppercase;
  text-shadow: 0 4px 6px rgba(0,0,0,0.6); 
  box-shadow: inset 0 0 0 2px rgba(238, 220, 194, 0.5), 0 0 10px rgba(0,0,0,0.5);
  /* The animated stamp effect */
  animation: stampIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes stampIn {
  0% { opacity: 0; transform: scale(2.5) rotate(-35deg); }
  100% { opacity: 1; transform: scale(1) rotate(-15deg); }
}

/* Transitions */
.view-section { animation: fadeIn 0.4s ease-in-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#logPanel { transition: width 0.3s ease, height 0.3s ease; }
