@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&family=Amiri:wght@400;700&family=Tajawal:wght@300;400;500;700&display=swap');
@import 'tailwindcss';
@import '../../../vendor/livewire/flux/dist/flux.css';
@import '../components/cursor.css';
@import '../components/scrollbar.css';
@import '../smart-language.css';
@import '../language-stability.css';
@import './components/team-layout.css';
@import './components/team-header.css';
@import './components/team-sidebar.css';
@import './components/team-main.css';
@import './components/team-footer.css';
@import './components/team-animations.css';
@import './components/team-dashboard-content.css';
@import './components/team-fast-event-welcome.css';
@import './components/team-fast-event-treasure.css';
@import './components/team-fast-event-duo.css';

/* ===== Team Dashboard Color Palette ===== */
:root {
  /* Primary Team Colors */
  --team-primary: #a855f7;
  --team-primary-dark: #9333ea;
  --team-primary-light: #c084fc;
  --team-secondary: #00ffff;
  --team-accent: #ff00ff;

  /* Status Colors */
  --team-success: #10b981;
  --team-warning: #f59e0b;
  --team-danger: #ef4444;
  --team-info: #3b82f6;

  /* Neutral Colors */
  --team-white: #ffffff;
  --team-gray-50: #f9fafb;
  --team-gray-100: #f3f4f6;
  --team-gray-200: #e5e7eb;
  --team-gray-300: #d1d5db;
  --team-gray-400: #9ca3af;
  --team-gray-500: #6b7280;
  --team-gray-600: #4b5563;
  --team-gray-700: #374151;
  --team-gray-800: #1f2937;
  --team-gray-900: #111827;

  /* Dark Theme Colors */
  --team-dark-bg: #0a0a0f;
  --team-dark-surface: #1a1a2e;
  --team-dark-card: #16213e;
  --team-dark-border: #2d3748;

  /* Gradients */
  --team-gradient-primary: linear-gradient(135deg, var(--team-primary), var(--team-primary-dark));
  --team-gradient-secondary: linear-gradient(135deg, var(--team-secondary), var(--team-primary));
  --team-gradient-dark: linear-gradient(135deg, var(--team-dark-bg), var(--team-dark-surface));

  /* Shadows */
  --team-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --team-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --team-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --team-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --team-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --team-shadow-glow: 0 0 20px rgba(168, 85, 247, 0.3);
  --team-shadow-neon: 0 0 30px rgba(0, 255, 255, 0.4);

  /* Spacing */
  --team-space-xs: 0.25rem;
  --team-space-sm: 0.5rem;
  --team-space-md: 1rem;
  --team-space-lg: 1.5rem;
  --team-space-xl: 2rem;
  --team-space-2xl: 3rem;

  /* Border Radius */
  --team-radius-sm: 0.25rem;
  --team-radius: 0.375rem;
  --team-radius-md: 0.5rem;
  --team-radius-lg: 0.75rem;
  --team-radius-xl: 1rem;
  --team-radius-2xl: 1.5rem;
  --team-radius-full: 9999px;

  /* Transitions */
  --team-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --team-transition-fast: all 0.15s ease;
  --team-transition-slow: all 0.5s ease;

  /* Typography */
  --team-font-primary: 'Inter', system-ui, sans-serif;
  --team-font-mono: 'JetBrains Mono', monospace;

  /* Z-Index Layers */
  --team-z-dropdown: 1000;
  --team-z-sticky: 1020;
  --team-z-fixed: 1030;
  --team-z-modal: 1040;
  --team-z-popover: 1050;
  --team-z-tooltip: 1060;
  --team-z-toast: 1070;

  /* Layout Dimensions */
  --team-header-height: 4rem;
  --team-sidebar-width: 16rem;
  --team-sidebar-collapsed-width: 4rem;
  --team-footer-height: 3rem;
}

/* ===== Team Base Styles ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--team-font-primary);
  background: var(--team-gradient-dark);
  color: #f0e7ff;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== Team Typography ===== */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 1rem 0;
}

a {
  color: var(--team-primary-light);
  text-decoration: none;
  transition: var(--team-transition-fast);
}

a:hover {
  color: var(--team-secondary);
}

/* ===== Team Form Elements ===== */
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

/* ===== Team Utilities ===== */
.team-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.team-text-gradient {
  background: var(--team-gradient-primary);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.team-neon {
  box-shadow: var(--team-shadow-neon);
}

/* ===== Team Scrollbar ===== */
.team-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.team-scrollbar::-webkit-scrollbar-track {
  background: rgba(26, 26, 46, 0.3);
  border-radius: var(--team-radius);
}

.team-scrollbar::-webkit-scrollbar-thumb {
  background: var(--team-gradient-primary);
  border-radius: var(--team-radius);
  box-shadow: var(--team-shadow-glow);
}

.team-scrollbar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, var(--team-secondary), var(--team-primary));
}

/* ===== Team Focus Styles ===== */
.team-focus:focus {
  outline: 2px solid var(--team-primary);
  outline-offset: 2px;
}

/* ===== Team Selection ===== */
::selection {
  background: var(--team-primary);
  color: var(--team-white);
}

::-moz-selection {
  background: var(--team-primary);
  color: var(--team-white);
}

/* ===== Team Print Styles ===== */
@media print {
  .team-no-print {
    display: none !important;
  }

  .team-layout-container {
    background: var(--team-white) !important;
    color: var(--team-gray-900) !important;
  }
}

/* ===== Team Responsive Breakpoints ===== */
@media (max-width: 640px) {
  :root {
    --team-header-height: 3.5rem;
    --team-sidebar-width: 100%;
    --team-footer-height: 2.5rem;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
}

/* ===== Team Dark Mode Enhancements ===== */
@media (prefers-color-scheme: dark) {
  body {
    color-scheme: dark;
  }
}

/* ===== Team Navigation Dashboard Links ===== */
.team-dashboard-link {
    color: var(--team-primary-light) !important;
    font-weight: 600;
    position: relative;
    transition: var(--team-transition);
    border-radius: var(--team-radius);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(0, 255, 255, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.team-dashboard-link:hover {
    color: var(--team-secondary) !important;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(0, 255, 255, 0.1));
    border-color: var(--team-secondary);
    box-shadow: var(--team-shadow-glow);
    transform: translateY(-1px);
}

.team-dashboard-link i {
    color: var(--team-primary-light);
    margin-right: 8px;
    transition: var(--team-transition);
}

.team-dashboard-link:hover i {
    color: var(--team-secondary);
    text-shadow: 0 0 10px var(--team-secondary);
}

/* Desktop Header Team Link */
.dropdown-menu-item-desktop.team-dashboard-link {
    border-left: 3px solid var(--team-primary);
    padding-left: 15px;
    position: relative;
    overflow: hidden;
}

.dropdown-menu-item-desktop.team-dashboard-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu-item-desktop.team-dashboard-link:hover::before {
    opacity: 1;
}

/* Tablet Header Team Link */
.dropdown-menu-item-tablet.team-dashboard-link {
    border-left: 3px solid var(--team-primary);
    padding-left: 15px;
    position: relative;
    overflow: hidden;
}

.dropdown-menu-item-tablet.team-dashboard-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dropdown-menu-item-tablet.team-dashboard-link:hover::before {
    opacity: 1;
}

/* Mobile Header Team Link */
.mobile-accordion-menu-item.team-dashboard-link {
    border-left: 3px solid var(--team-primary);
    padding-left: 15px;
    position: relative;
    overflow: hidden;
    margin: 4px 0;
}

.mobile-accordion-menu-item.team-dashboard-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-accordion-menu-item.team-dashboard-link:hover::before {
    opacity: 1;
}

/* Team Dashboard Link Badge */
.team-dashboard-link::after {
    content: 'Team';
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--team-gradient-primary);
    color: var(--team-white);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: var(--team-radius-full);
    box-shadow: var(--team-shadow-glow);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.team-dashboard-link:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Team Dashboard Link Active State */
.team-dashboard-link.active {
    background: var(--team-gradient-primary);
    color: var(--team-white) !important;
    border-color: var(--team-primary);
    box-shadow: var(--team-shadow-glow);
}

.team-dashboard-link.active i {
    color: var(--team-white);
}

/* Team Dashboard Link Pulse Animation */
@keyframes team-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
    }
}

.team-dashboard-link.pulse {
    animation: team-pulse 2s infinite;
}

/* Responsive adjustments for team dashboard links */
@media (max-width: 768px) {
    .team-dashboard-link {
        font-size: 14px;
        padding: 8px 12px;
    }

    .team-dashboard-link i {
        font-size: 16px;
    }

    .mobile-accordion-menu-item.team-dashboard-link {
        border-left-width: 2px;
        padding-left: 12px;
    }
}

@media (max-width: 480px) {
    .team-dashboard-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .team-dashboard-link::after {
        font-size: 9px;
        padding: 1px 4px;
    }
}

