/* Vibrant Prism Emerald Design - xleofx_member */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --primary-emerald: #00ff88;
  --emerald-glow: rgba(0, 255, 136, 0.4);
  --bg-dark: #030712;
  --card-bg: rgba(17, 24, 39, 0.7);
  --border-color: rgba(0, 255, 136, 0.1);
  --text-primary: #f9fafb;
}

body[data-theme="dark"] {
  background-color: var(--bg-dark) !important;
  background-image:
    radial-gradient(
      circle at 0% 0%,
      rgba(0, 255, 136, 0.05) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(0, 255, 136, 0.03) 0%,
      transparent 40%
    );
  font-family: "Outfit", sans-serif !important;
  color: var(--text-primary);
}

/* Glass Island Sidebar */
.left-sidebar {
  background: rgba(3, 7, 18, 0.6) !important;
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-color) !important;
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.sidebar-link {
  font-weight: 500;
  color: #94a3b8 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  margin: 5px 15px;
}

.sidebar-link:hover,
.sidebar-item.selected > .sidebar-link {
  background: rgba(0, 255, 136, 0.08) !important;
  color: var(--primary-emerald) !important;
  transform: scale(1.02);
}

/* Prism Dashboard Cards (Rotating Border Animation) */
.card,
.staticBlockinner {
  position: relative;
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 24px !important;
  backdrop-filter: blur(15px);
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 1;
}

.card:hover,
.staticBlockinner:hover {
  /* transform: translateY(-10px) rotateX(2deg); */
  border-color: var(--primary-emerald) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 255, 136, 0.15) !important;
}

/* Rotating Glow Effect for Cards */
.staticBlockinner::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    var(--primary-emerald)
  );
  animation: rotateGlow 4s linear infinite;
  z-index: -1;
  opacity: 0.1;
}

@keyframes rotateGlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.staticIcon {
  width: 55px;
  height: 55px;
  background: linear-gradient(
    135deg,
    rgba(0, 255, 136, 0.2) 0%,
    transparent 100%
  ) !important;
  border: 1px solid rgba(0, 255, 136, 0.3) !important;
  border-radius: 18px;
  color: var(--primary-emerald) !important;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.1);
}

.staticContent h6 {
  color: #94a3b8 !important;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.staticContent h3 {
  font-size: 2.2rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Modern High-End Tables */
.table thead th {
  background: rgba(255, 255, 255, 0.02) !important;
  border: none !important;
  color: var(--primary-emerald) !important;
  font-weight: 700;
  padding: 20px !important;
  letter-spacing: 1px;
}

.table tbody tr {
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.table tbody tr:hover {
  background: rgba(0, 255, 136, 0.03) !important;
}

.table td {
  padding: 20px !important;
  color: #e2e8f0 !important;
}

/* Neon Prism Buttons */
.btn-primary {
  background: linear-gradient(135deg, #00ff88 0%, #00b359 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 14px 28px !important;
  font-weight: 700 !important;
  color: #030712 !important;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 255, 136, 0.5);
}

/* Page Header Structure */
.x-page-title {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 20px;
  padding: 2rem !important;
  border: 1px solid var(--border-color);
}

.x-page-title h4 {
  font-weight: 800;
  color: #fff;
}

/* Navigation Structure Header */
.app-header {
  background: rgba(3, 7, 18, 0.7) !important;
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-color);
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-emerald);
}

/* Animation Overlay */
@keyframes fadeInSlide {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-fluid {
  animation: fadeInSlide 0.8s ease-out;
}
