/* Custom styles for CraftDock */

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.6);
}
::-webkit-scrollbar-thumb {
  background: rgba(51, 65, 85, 0.8);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 85, 105, 0.9);
}

/* Glassmorphism styling */
.glass-panel {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px fill rgba(255, 255, 255, 0.05);
}

/* Custom Tab Buttons */
.tab-btn {
  padding: 0.375rem 0.875rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8; /* slate-400 */
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.tab-btn:hover {
  color: #f1f5f9; /* slate-100 */
  background: rgba(30, 41, 59, 0.5);
}
.tab-btn.active {
  background: #10b981; /* emerald-500 */
  color: #0f172a; /* slate-900 */
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

/* Monospace Console Styling */
#console {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  white-space: pre-wrap;
  word-break: break-all;
  line-height: 1.5;
  background-color: #020617; /* slate-950 */
}

/* Smooth fade-in animation for panel updates */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.3s ease forwards;
}
