/* Invegiant App - Modern Futuristic Theme */

/* CSS Variables - Matching Admin Panel */
:root {
  /* Primary Colors */
  --primary-color: #3b82f6;
  --primary-dark: #1d4ed8;
  --primary-light: #60a5fa;

  /* Secondary Colors */
  --secondary-color: #6b7280;
  --secondary-dark: #374151;
  --secondary-light: #9ca3af;

  /* Accent Colors */
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #ffd700;
  --accent-red: #ef4444;
  --accent-purple: #8b5cf6;

  /* Background Colors */
  --bg-primary: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  --bg-secondary: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(51, 65, 85, 0.9));
  --bg-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
  --bg-card: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));

  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-accent: #06b6d4;

  /* Border Colors */
  --border-primary: rgba(255, 255, 255, 0.18);
  --border-secondary: rgba(255, 255, 255, 0.12);
  --border-accent: rgba(59, 130, 246, 0.3);

  /* Shadow Colors */
  --shadow-primary: 0 20px 40px rgba(0, 0, 0, 0.3);
  --shadow-secondary: 0 10px 20px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  padding-top: 80px;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Glass Morphism Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Utility Classes */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.bg-gradient-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-primary);
}

.bg-gradient-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-secondary);
}

.text-primary {
  color: var(--text-primary) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-accent {
  color: var(--text-accent) !important;
}

/* Button Styles */
.btn {
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed, #6d28d9);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #6d28d9, #7c3aed, #8b5cf6);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-outline-primary {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  border: 2px solid #8b5cf6;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline-primary:hover {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  color: var(--text-primary);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  border-color: transparent;
}

.btn-success {
  background: linear-gradient(135deg, var(--accent-emerald), #059669);
  color: var(--text-primary);
}

.btn-danger {
  background: linear-gradient(135deg, var(--accent-red), #dc2626);
  color: var(--text-primary);
}

.btn-warning {
  background: linear-gradient(135deg, var(--accent-amber), #d97706);
  color: var(--text-primary);
}

.btn-info {
  background: linear-gradient(135deg, var(--accent-cyan), #0891b2);
  color: var(--text-primary);
}

/* Card Styles */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-primary);
  transition: var(--transition-normal);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-primary), var(--shadow-glow);
}

.card-header {
  background: var(--bg-glass);
  border-bottom: 1px solid var(--border-secondary);
  color: var(--text-primary);
  font-weight: 600;
}

.card-body {
  color: var(--text-secondary);
}

/* Form Styles */
.form-control,
.form-select {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-secondary);
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.form-control:focus,
.form-select:focus {
  background: var(--bg-glass);
  backdrop-filter: blur(8px);
  border-color: var(--primary-color);
  color: var(--text-primary);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  color: var(--text-primary);
  font-weight: 500;
}

/* Override Bootstrap form styles */
.form-control,
.form-select,
.form-check-input {
  background-color: transparent !important;
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-color: var(--border-secondary) !important;
  color: var(--text-primary) !important;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  background-color: transparent !important;
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25) !important;
}

.form-check-label {
  color: var(--text-primary) !important;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* Spinner Styles */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.spinner-container {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-primary);
  padding: 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-primary);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.spinner-text {
  color: var(--text-primary);
  font-size: 0.875rem;
  margin: 0;
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Toast Styles - Professional Futuristic Design */
.toast-container {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 10000 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  max-width: 400px !important;
  pointer-events: none !important;
}

.toast {
  position: relative !important;
  min-width: 350px !important;
  max-width: 400px !important;
  background: linear-gradient(145deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid transparent !important;
  border-radius: 16px !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(34, 197, 94, 0.1) !important;
  animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  padding: 0 !important;
  pointer-events: auto !important;
  transform: translateX(0) !important;
  overflow: hidden !important;
  position: relative !important;
}

.toast::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e 0%, #10b981 50%, #059669 100%);
  z-index: 1;
}

.toast::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
  z-index: 0;
  pointer-events: none;
}

.toast-success {
  --accent-color: #22c55e;
  --accent-glow: rgba(34, 197, 94, 0.3);
}

.toast-error {
  --accent-color: #ef4444;
  --accent-glow: rgba(239, 68, 68, 0.3);
}

.toast-warning {
  --accent-color: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.3);
}

.toast-info {
  --accent-color: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.3);
}

.toast-success::before {
  background: linear-gradient(90deg, #22c55e 0%, #10b981 50%, #059669 100%);
}

.toast-error::before {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 50%, #b91c1c 100%);
}

.toast-warning::before {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
}

.toast-info::before {
  background: linear-gradient(90deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
}

.toast-content {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  gap: 16px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 100%);
  border-radius: 16px;
}

.toast-icon {
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.toast-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color, #22c55e) 0%, var(--accent-color, #22c55e) 100%);
  opacity: 0.1;
  border-radius: 12px;
}

.toast-success .toast-icon {
  color: #22c55e;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.toast-error .toast-icon {
  color: #ef4444;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.2);
}

.toast-warning .toast-icon {
  color: #f59e0b;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2);
}

.toast-info .toast-icon {
  color: #3b82f6;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

.toast-message {
  flex: 1;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.4;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.01em;
}

.toast-close {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 0.875rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.toast-close::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color, #22c55e) 0%, var(--accent-color, #22c55e) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 8px;
}

.toast-close:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.toast-close:hover::before {
  opacity: 0.1;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%) scale(0.9);
    opacity: 0;
    filter: blur(10px);
  }
  to {
    transform: translateX(0) scale(1);
    opacity: 1;
    filter: blur(0);
  }
}

@keyframes toastGlow {
  0%,
  100% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 20px rgba(34, 197, 94, 0.1);
  }
  50% {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(34, 197, 94, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 30px rgba(34, 197, 94, 0.2);
  }
}

.toast {
  animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), toastGlow 3s ease-in-out infinite;
}

/* Common Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

.scale-in {
  animation: scaleIn 0.4s ease-out;
}

/* Hover Effects */
.hover-lift {
  transition: var(--transition-normal);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-primary), var(--shadow-glow);
}

.hover-glow {
  transition: var(--transition-normal);
}

.hover-glow:hover {
  box-shadow: var(--shadow-glow);
}

/* Glass Effect */
.glass-effect {
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-primary);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  body {
    padding-top: 70px;
  }
}

@media (max-width: 576px) {
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .toast {
    min-width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
    border-radius: 20px !important;
  }

  .toast-container {
    right: 20px !important;
    left: 20px !important;
    max-width: calc(100vw - 40px) !important;
    top: 20px !important;
  }

  .toast-content {
    padding: 16px 20px;
    gap: 12px;
  }

  .toast-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .toast-message {
    font-size: 0.85rem;
  }

  .toast-close {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }
}

/* Utility Classes for Responsive Design */
.d-mobile-none {
  display: none !important;
}

.d-mobile-block {
  display: block !important;
}

@media (min-width: 768px) {
  .d-mobile-none {
    display: block !important;
  }

  .d-mobile-block {
    display: none !important;
  }
}

/* Text Responsive */
@media (max-width: 576px) {
  .text-responsive {
    font-size: 0.875rem;
  }

  .h1-responsive {
    font-size: 1.75rem;
  }

  .h2-responsive {
    font-size: 1.5rem;
  }

  .h3-responsive {
    font-size: 1.25rem;
  }
}

/* Spacing Responsive */
@media (max-width: 768px) {
  .py-responsive {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .my-responsive {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }
}

/* Image Responsive */
.img-responsive {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .img-responsive {
    width: 100%;
  }
}

/* Aspect Ratio Utilities */
.aspect-ratio-16-9 {
  aspect-ratio: 16/9;
}

.aspect-ratio-4-3 {
  aspect-ratio: 4/3;
}

.aspect-ratio-1-1 {
  aspect-ratio: 1/1;
}

/* Flexbox Responsive Utilities */
@media (max-width: 768px) {
  .flex-mobile-column {
    flex-direction: column !important;
  }

  .flex-mobile-center {
    justify-content: center !important;
  }

  .flex-mobile-wrap {
    flex-wrap: wrap !important;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Selection Styling */
::selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}

::-moz-selection {
  background: rgba(59, 130, 246, 0.3);
  color: var(--text-primary);
}

/* Global Overrides to Remove White Backgrounds */
/* Removed problematic global transparent rule */

body,
html {
  background: var(--bg-primary) !important;
}

/* Bootstrap Overrides */
.container,
.container-fluid,
.row,
.col,
[class*="col-"] {
  background-color: transparent !important;
}

/* Card Overrides */
.card {
  background: var(--bg-card) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-primary) !important;
}

.card-header {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--border-secondary) !important;
}

.card-body {
  background: transparent !important;
  color: var(--text-secondary) !important;
}

.card-footer {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-top: 1px solid var(--border-secondary) !important;
}

/* Modal Overrides */
.modal-content {
  background: var(--bg-card) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-primary) !important;
  color: var(--text-primary) !important;
}

.modal-header {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-bottom: 1px solid var(--border-secondary) !important;
}

.modal-body {
  background: transparent !important;
  color: var(--text-secondary) !important;
}

.modal-footer {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-top: 1px solid var(--border-secondary) !important;
}

/* Alert Overrides */
.alert {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--border-secondary) !important;
  color: var(--text-primary) !important;
}

.alert-success {
  border-color: var(--accent-emerald) !important;
  color: var(--text-primary) !important;
}

.alert-danger {
  border-color: var(--accent-red) !important;
  color: var(--text-primary) !important;
}

.alert-warning {
  border-color: var(--accent-amber) !important;
  color: var(--text-primary) !important;
}

.alert-info {
  border-color: var(--accent-cyan) !important;
  color: var(--text-primary) !important;
}

/* Badge Overrides */
.badge {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--border-secondary) !important;
  color: var(--text-primary) !important;
}

.badge-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: var(--text-primary) !important;
}

.badge-success {
  background: linear-gradient(135deg, var(--accent-emerald), #059669) !important;
  color: var(--text-primary) !important;
}

.badge-danger {
  background: linear-gradient(135deg, var(--accent-red), #dc2626) !important;
  color: var(--text-primary) !important;
}

.badge-warning {
  background: linear-gradient(135deg, var(--accent-amber), #d97706) !important;
  color: var(--text-primary) !important;
}

.badge-info {
  background: linear-gradient(135deg, var(--accent-cyan), #0891b2) !important;
  color: var(--text-primary) !important;
}

/* Table Overrides */
.table {
  background: transparent !important;
  color: var(--text-secondary) !important;
}

.table thead th {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-color: var(--border-secondary) !important;
  color: var(--text-primary) !important;
}

.table tbody td {
  background: transparent !important;
  border-color: var(--border-secondary) !important;
  color: var(--text-secondary) !important;
}

.table-striped tbody tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.02) !important;
}

.table-hover tbody tr:hover {
  background: rgba(59, 130, 246, 0.05) !important;
}

/* List Group Overrides */
.list-group-item {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--border-secondary) !important;
  color: var(--text-secondary) !important;
}

.list-group-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.list-group-item.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-primary) !important;
}

/* Pagination Overrides */
.pagination .page-link {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid var(--border-secondary) !important;
  color: var(--text-secondary) !important;
}

.pagination .page-link:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-primary) !important;
}

.pagination .page-item.active .page-link {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-primary) !important;
}

/* Dropdown Overrides */
.dropdown-menu {
  background: var(--bg-card) !important;
  backdrop-filter: blur(12px) !important;
  border: 1px solid var(--border-primary) !important;
}

.dropdown-item {
  background: transparent !important;
  color: var(--text-secondary) !important;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-primary) !important;
}

.dropdown-item.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: var(--text-primary) !important;
}

/* Nav Overrides */
.nav-tabs {
  border-bottom: 1px solid var(--border-secondary) !important;
}

.nav-tabs .nav-link {
  background: transparent !important;
  border: 1px solid transparent !important;
  color: var(--text-secondary) !important;
}

.nav-tabs .nav-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: var(--border-secondary) !important;
  color: var(--text-primary) !important;
}

.nav-tabs .nav-link.active {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
  border-color: var(--border-secondary) !important;
  color: var(--text-primary) !important;
}

.nav-pills .nav-link {
  background: transparent !important;
  color: var(--text-secondary) !important;
}

.nav-pills .nav-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-primary) !important;
}

.nav-pills .nav-link.active {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)) !important;
  color: var(--text-primary) !important;
}

/* Progress Overrides */
.progress {
  background: var(--bg-glass) !important;
  backdrop-filter: blur(8px) !important;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-cyan)) !important;
}

/* Breadcrumb Overrides */
.breadcrumb {
  background: transparent !important;
}

.breadcrumb-item {
  color: var(--text-secondary) !important;
}

.breadcrumb-item.active {
  color: var(--text-primary) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted) !important;
}

/* Text Color Overrides */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-primary) !important;
}

p,
span,
div {
  color: var(--text-secondary) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-success {
  color: var(--accent-emerald) !important;
}

.text-danger {
  color: var(--accent-red) !important;
}

/* Global Rating Stars - Golden Color */
.rating-stars,
.rating-stars i,
.rating-stars .fas.fa-star,
.rating-stars .far.fa-star,
.rating-stars .fas.fa-star-half-alt,
.rating.text-warning,
.rating.text-warning i,
.rating.text-warning .fas.fa-star,
.rating.text-warning .far.fa-star {
  color: #ffd700 !important;
}

.rating-stars .far.fa-star,
.rating.text-warning .far.fa-star {
  opacity: 0.3 !important;
}

.text-warning {
  color: #ffd700 !important;
}

.text-info {
  color: var(--accent-cyan) !important;
}

.text-white {
  color: var(--text-primary) !important;
}

.text-dark {
  color: var(--text-primary) !important;
}

.text-light {
  color: var(--text-secondary) !important;
}
