/* ApiTech Logo Styles */
.apitech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: inherit;
}

.apitech-logo-symbol {
  width: 60px;
  height: 60px;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.apitech-logo-symbol:hover {
  transform: scale(1.05);
}

.apitech-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.apitech-logo-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.5px;
}

.apitech-logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Logo en header */
.header-logo .apitech-logo-symbol {
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.header-logo .apitech-logo-main {
  font-size: 1.25rem;
}

.header-logo .apitech-logo-subtitle {
  font-size: 0.6rem;
}

/* Logo en login */
.login-logo .apitech-logo-symbol {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.login-logo .apitech-logo-main {
  font-size: 2rem;
  margin-bottom: 4px;
}

.login-logo .apitech-logo-subtitle {
  font-size: 0.8rem;
}

/* Logo en loading */
.loading-logo .apitech-logo-symbol {
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  animation: logoPulse 2s ease-in-out infinite;
}

.loading-logo .apitech-logo-main {
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.loading-logo .apitech-logo-subtitle {
  font-size: 1rem;
}

/* Animaciones */
@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

/* Logo en sidebar */
.sidebar-logo {
  padding: 16px;
  border-bottom: 1px solid var(--gray-200);
  margin-bottom: 16px;
}

.sidebar-logo .apitech-logo-symbol {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.sidebar-logo .apitech-logo-main {
  font-size: 1.3rem;
}

.sidebar-logo .apitech-logo-subtitle {
  font-size: 0.65rem;
}

/* Logo en favicon */
.favicon-logo {
  width: 32px;
  height: 32px;
}

/* Responsive logo */
@media (max-width: 768px) {
  .header-logo .apitech-logo-symbol {
    width: 32px;
    height: 32px;
  }
  
  .header-logo .apitech-logo-main {
    font-size: 1.1rem;
  }
  
  .header-logo .apitech-logo-subtitle {
    font-size: 0.55rem;
  }
  
  .login-logo .apitech-logo-symbol {
    width: 60px;
    height: 60px;
  }
  
  .login-logo .apitech-logo-main {
    font-size: 1.5rem;
  }
}

/* Logo con efecto 3D */
.logo-3d {
  perspective: 1000px;
}

.logo-3d .apitech-logo-symbol {
  transform-style: preserve-3d;
  animation: logoRotate 10s linear infinite;
}

@keyframes logoRotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Logo en modo oscuro */
@media (prefers-color-scheme: dark) {
  .apitech-logo-main {
    color: var(--text-white);
  }
  
  .apitech-logo-subtitle {
    color: var(--gray-400);
  }
}
