/* ========================================================
   Hussein Craft - Pterodactyl Cockpit Theme v3.5
   Modern Tailwind-enhanced dark theme
   ======================================================== */

@layer utilities {
  .scrollbar-none::-webkit-scrollbar {
    display: none;
  }
  .scrollbar-none {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #070a11;
}
::-webkit-scrollbar-thumb {
  background: #1e293f;
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

.terminal-scroll::-webkit-scrollbar {
  width: 5px;
}
.terminal-scroll::-webkit-scrollbar-thumb {
  background: #1e293f;
}

/* Navigation Tabs */
.ptero-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ptero-tab-btn:hover {
  color: #f8fafc;
  background-color: rgba(255, 255, 255, 0.04);
}

.ptero-tab-btn.active {
  color: #60a5fa;
  background-color: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.25);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

/* Sections */
.ptero-section {
  display: none;
}

.ptero-section.active {
  display: block;
  animation: pteroFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pteroFade {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Terminal Line Classes */
.terminal-line {
  display: block;
  word-break: break-all;
  white-space: pre-wrap;
  line-height: 1.6;
}

.line-info { color: #94a3b8; }
.line-warn { color: #f59e0b; }
.line-error { color: #f87171; }
.line-command { color: #34d399; font-weight: 600; }
.line-system { color: #38bdf8; }

/* Toast Notifications */
.toast {
  pointer-events: auto;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: toastSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-success {
  background: #064e3b;
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}

.toast-error {
  background: #7f1d1d;
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.toast-info {
  background: #172554;
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

@keyframes toastSlide {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
