/* MyAdvisors Logo System CSS */

/* Base logo classes */
.logo-svg {
  display: inline-block;
  transition: all 0.3s ease;
}

.logo-dark {
  display: block;
}

.logo-light {
  display: none;
}

/* Dark theme/background overrides */
.dark .logo-dark,
[data-theme="dark"] .logo-dark {
  display: none;
}

.dark .logo-light,
[data-theme="dark"] .logo-light {
  display: block;
}

/* Size variations */
.logo-favicon {
  width: 32px;
  height: 32px;
}

.logo-splash {
  width: 200px;
  height: auto;
  animation: logoSplashSequence 3s ease-in-out forwards;
}

.logo-header-full {
  max-width: 200px;
  height: auto;
}

.logo-navbar {
  height: 40px;
  width: auto;
}

.logo-navbar-mobile {
  height: 30px;
  width: auto;
}

.logo-shield {
  width: 30px;
  height: 30px;
}

.logo-onboarding {
  height: 40px;
  width: auto;
  opacity: 0;
  animation: fadeInLogo 0.5s ease-in 0.3s forwards;
}

.logo-paywall {
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}

.logo-footer {
  max-width: 120px;
  height: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.logo-footer:hover {
  opacity: 1;
}

/* Animation keyframes */
@keyframes logoSplashSequence {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  30% {
    opacity: 1;
    transform: scale(1);
  }
  60% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .logo-header-full {
    max-width: 150px;
  }
  
  .logo-navbar {
    height: 35px;
  }
  
  .logo-onboarding {
    height: 35px;
  }
  
  .logo-paywall {
    max-width: 200px;
  }
  
  .logo-footer {
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .logo-header-full {
    max-width: 120px;
  }
  
  .logo-navbar {
    height: 30px;
  }
  
  .logo-shield {
    width: 25px;
    height: 25px;
  }
}