/* ResourceCentral Custom Stylesheet */
:root {
  --bg-main: #0c0e12;
  --bg-card: #14171f;
  --bg-card-hover: #1a1e29;
  --border-color: #232838;
  --accent-blue: #3b82f6;
  --accent-indigo: #6366f1;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d1117;
}
::-webkit-scrollbar-thumb {
  background: #283044;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3b4663;
}

/* Miniature Shading 3D Dome */
.miniature-dome-sphere {
  position: relative;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3), inset 0 -4px 8px rgba(0, 0, 0, 0.5);
}

.miniature-dome-sphere::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 15%;
  width: 35%;
  height: 35%;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

/* Modal animation */
.modal-backdrop {
  backdrop-filter: blur(8px);
  background-color: rgba(6, 8, 12, 0.75);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 400px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.toast-success {
  background-color: #064e3b;
  border: 1px solid #059669;
  color: #ecfdf5;
}

.toast.toast-info {
  background-color: #1e1b4b;
  border: 1px solid #4f46e5;
  color: #e0e7ff;
}

.toast.toast-warning {
  background-color: #451a03;
  border: 1px solid #d97706;
  color: #fffbeb;
}

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

/* Active Nav Tab */
.nav-tab-btn.active {
  background-color: #23293a;
  color: #ffffff;
  border-color: #3b82f6;
}

/* Markdown styling in guides */
.guide-article h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid #232838;
  padding-bottom: 0.5rem;
}

.guide-article p {
  color: #d1d5db;
  line-height: 1.75;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

/* Print styling */
@media print {
  header, nav, #toast-container, .no-print {
    display: none !important;
  }
  body {
    background: white !important;
    color: black !important;
  }
}
