/* Modern Custom Styles - Glassmorphism & Neon */

:root {
  --primary-color: #00f3ff;
  --secondary-color: #bc13fe;
  --bg-color: #050510;
  --card-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-primary: #e0e0e0;
  --neon-glow: 0 0 10px rgba(0, 243, 255, 0.5), 0 0 20px rgba(0, 243, 255, 0.3);
}

body {
  background-color: var(--bg-color) !important;
  font-family: 'Inter', sans-serif; /* Modern Font */
  color: var(--text-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(188, 19, 254, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(0, 243, 255, 0.1) 0%, transparent 40%);
}

/* Glassmorphism Cards */
.card {
  background: var(--card-bg) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border) !important;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 15px !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 243, 255, 0.2); 
  border-color: rgba(0, 243, 255, 0.3) !important;
}

.card-title {
  color: var(--primary-color) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 5px rgba(0, 243, 255, 0.3);
}

/* Navbar & Sidebar */
.sidebar, .navbar {
  background: rgba(5, 5, 16, 0.8) !important;
  backdrop-filter: blur(10px);
  border-right: 1px solid var(--glass-border);
}

.sidebar .sidebar-header .sidebar-brand {
  color: var(--text-primary) !important;
}

.sidebar .sidebar-header .sidebar-brand span {
  color: var(--secondary-color) !important;
  text-shadow: 0 0 10px var(--secondary-color);
}

.nav-link {
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  text-shadow: 0 0 8px var(--primary-color);
  transform: translateX(5px);
}

.nav-link.active {
  color: var(--primary-color) !important;
  background: rgba(0, 243, 255, 0.1);
  border-radius: 10px;
}

/* Tables */
.table {
  color: var(--text-primary) !important;
}

.table thead th {
  border-bottom: 2px solid var(--primary-color) !important;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.table td {
  border-top: 1px solid var(--glass-border) !important;
}

.table-hover tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #00a8ff) !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(0, 243, 255, 0.4);
  color: #000 !important;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 243, 255, 0.6);
}

.btn-danger {
  background: linear-gradient(45deg, #ff0055, #ff0000) !important;
  box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}

/* Inputs */
.form-control {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--glass-border) !important;
  color: var(--text-primary) !important;
  border-radius: 8px;
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.2);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.floating-element {
  animation: float 4s ease-in-out infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color); 
}
 
::-webkit-scrollbar-thumb {
  background: #333; 
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color); 
}
