
/*

  _______              _       _____       _       _   _                            _______ _____         _____ 
 |__   __|            (_)     / ____|     | |     | | (_)                          |__   __/ ____|  /\   |_   _|
    | |_ __ ___  _ __  _  ___| (___   ___ | |_   _| |_ _  ___  _ __  ___   ______     | | | (___   /  \    | |  
    | | '__/ _ \| '_ \| |/ __|\___ \ / _ \| | | | | __| |/ _ \| '_ \/ __| |______|    | |  \___ \ / /\ \   | |  
    | | | | (_) | |_) | | (__ ____) | (_) | | |_| | |_| | (_) | | | \__ \             | |  ____) / ____ \ _| |_ 
    |_|_|  \___/| .__/|_|\___|_____/ \___/|_|\__,_|\__|_|\___/|_| |_|___/             |_| |_____/_/    \_\_____|
                | |                                                                                             
                |_|                                                                                             

  TropicSolutions  •  TSAI
   T r o p i c S o l u t i o n s    –    T S A I 
  System entwickelt von TropicSolutions – Florian Bach

*/

/**
 * System entwickelt von TropicSolutions - Florian Bach
 * TSAI
 *
 * @package   Reparatursaurier
 * @author    Florian Bach
 * @copyright © 2025 TropicSolutions. Alle Rechte vorbehalten.
 * @license   Selfcoded by TropicSolutions
 * @link      https://tropicsolutions.net
 **/


/* Modern Glowing Navbar Component */

.glow-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideDown 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] .glow-navbar {
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.glow-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.15), 0 0 60px rgba(37, 99, 235, 0.1);
}

[data-theme="dark"] .glow-navbar.scrolled {
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 8px 32px rgba(59, 130, 246, 0.25), 0 0 60px rgba(59, 130, 246, 0.15);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.glow-navbar-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glow-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  position: relative;
}

.glow-brand-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  box-shadow: 0 8px 24px var(--primary-glow), 0 0 40px var(--primary-glow);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: pulse 3s ease-in-out infinite;
}

.glow-brand:hover .glow-brand-logo {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px var(--primary-glow), 0 0 60px var(--primary-glow);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 24px var(--primary-glow), 0 0 40px var(--primary-glow);
  }
  50% {
    box-shadow: 0 12px 32px var(--primary-glow), 0 0 60px var(--primary-glow);
  }
}

.glow-brand-text {
  display: flex;
  flex-direction: column;
}

.glow-brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.glow-brand-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.glow-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.glow-nav-item {
  position: relative;
}

.glow-nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.glow-nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.glow-nav-link::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glow-nav-link span {
  position: relative;
  z-index: 1;
}

.glow-nav-link:hover {
  color: white;
  transform: translateY(-2px);
}

.glow-nav-link:hover::before {
  opacity: 1;
}

.glow-nav-link:hover::after {
  opacity: 0.6;
}

.glow-nav-link.active {
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 16px var(--primary-glow), 0 0 32px var(--primary-glow);
}

.glow-nav-link.active::after {
  opacity: 0.4;
}

.glow-nav-icon {
  font-size: 1.125rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.glow-nav-link:hover .glow-nav-icon {
  transform: scale(1.2) rotate(5deg);
}

.glow-nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.glow-user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.glow-user-menu:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
  transform: translateY(-2px);
}

.glow-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  box-shadow: 0 4px 12px var(--primary-glow);
  transition: all 0.3s ease;
}

.glow-user-menu:hover .glow-user-avatar {
  transform: scale(1.1);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.glow-user-info {
  display: flex;
  flex-direction: column;
}

.glow-user-name {
  font-weight: 700;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.glow-user-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.glow-btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.glow-btn::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 12px;
  opacity: 0;
  filter: blur(8px);
  transition: opacity 0.3s ease;
  z-index: -1;
}

.glow-btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 16px var(--primary-glow);
}

.glow-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.glow-btn-primary:hover::before {
  opacity: 0.6;
}

.glow-btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
}

.glow-btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.glow-mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--surface);
  border-radius: 12px;
  border: 1px solid var(--border);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.glow-mobile-toggle:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px var(--primary-glow);
}

.glow-mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.glow-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.glow-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.glow-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}

@media (max-width: 1024px) {
  .glow-nav-menu {
    gap: 0.25rem;
  }

  .glow-nav-link {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 768px) {
  .glow-navbar-container {
    padding: 1rem;
  }

  .glow-mobile-toggle {
    display: flex;
  }

  .glow-nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--border);
  }

  .glow-nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .glow-nav-item {
    width: 100%;
  }

  .glow-nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .glow-nav-actions {
    flex-direction: column;
    width: 100%;
  }

  .glow-user-menu {
    width: 100%;
    justify-content: center;
  }

  .glow-btn {
    width: 100%;
    justify-content: center;
  }

  .glow-brand-text {
    display: none;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.glow-shimmer {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  background-size: 1000px 100%;
  animation: shimmer 3s infinite;
}
