/* STARCOMP RAJAWALI - Modern Dashboard & Presentation Styles */

:root {
  --starcomp-navy: #0f172a;
  --starcomp-blue: #1e40af;
  --starcomp-accent: #3b82f6;
  --starcomp-gold: #f59e0b;
  --starcomp-emerald: #10b981;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  overflow-x: hidden;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.glass-panel-dark {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.6);
}

.glass-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

/* Pulse indicator for live data & edit mode */
@keyframes soft-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.04); }
}

.animate-soft-pulse {
  animation: soft-pulse 2s infinite ease-in-out;
}

/* Edit Mode Visual Indicator */
.edit-mode-active .editable-item {
  position: relative;
  outline: 2px dashed rgba(59, 130, 246, 0.5);
  outline-offset: 2px;
  border-radius: 6px;
  transition: outline-color 0.2s ease;
}

.edit-mode-active .editable-item:hover {
  outline-color: rgba(37, 99, 235, 1);
  background-color: rgba(239, 246, 255, 0.35);
}

/* Presentation Slide Transitions */
.presentation-slide {
  display: none;
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.presentation-slide.active {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Toast Notification animations */
@keyframes slideInRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(110%);
    opacity: 0;
  }
}

.toast-enter {
  animation: slideInRight 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-exit {
  animation: fadeOutRight 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

/* Badge Glow */
.glow-gold {
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.glow-blue {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.35);
}

.glow-emerald {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.35);
}

/* Print optimizations */
@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: white;
  }
}
