/* Componentes CSS - Header y Footer */

/* Header Component Styles */
#header-observatory {
  background: white !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 80px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  width: 100% !important;
}

#header-observatory .menubar {
  background: white !important;
  padding: 1rem 0 !important;
  display: block !important;
  visibility: visible !important;
}

#header-observatory .navbar {
  background: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.header-observatory-logo {
  display: flex !important;
  align-items: center;
  gap: 1rem;
  visibility: visible !important;
  opacity: 1 !important;
}

.logo-container {
  display: flex !important;
  align-items: center;
  gap: 1rem;
}

.circular-logo {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #1e3a8a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3) !important;
  overflow: hidden !important;
}

.circular-logo img {
  width: 35px !important;
  height: 35px !important;
  object-fit: contain !important;
  filter: brightness(0) invert(1) !important;
}

.logo-separator {
  width: 1px !important;
  height: 40px !important;
  background: #666 !important;
  margin: 0 1rem !important;
}

.logo-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.1rem !important;
}

.ministry-name {
  font-size: 0.7rem !important;
  font-weight: 600 !important;
  color: #1e3a8a !important;
  font-family: 'Museo Sans', sans-serif !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.1 !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 !important;
}

.ministry-name-line1 {
  font-size: 0.65rem !important;
}

.ministry-name-line2 {
  font-size: 0.65rem !important;
}

#header-observatory .navbar-nav .nav-item {
  font-size: 0.9rem !important;
  font-family: 'Museo Sans', sans-serif !important;
}

/* Footer Component Styles */
.pt-footer {
  background: #f8f9fa !important;
  padding: 3rem 0 1rem !important;
  margin-top: 2rem !important;
}

.pt-footer h3 {
  color: #000000 !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  font-family: 'Museo Sans', sans-serif !important;
  margin-bottom: 1rem !important;
}

.pt-footer p {
  color: #000000 !important;
  font-size: 0.9rem !important;
  font-family: 'Museo Sans', sans-serif !important;
  margin-bottom: 0.5rem !important;
}

.pt-footer ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.pt-footer ul li {
  margin-bottom: 0.5rem !important;
}

.pt-footer ul li a {
  color: #000000 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-family: 'Museo Sans', sans-serif !important;
  transition: color 0.3s ease !important;
}

.pt-footer ul li a:hover {
  color: #1e3a8a !important;
}

.footer-buttons {
  margin-top: 1rem !important;
}

.footer-buttons .btn {
  margin-right: 0.5rem !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.8rem !important;
  font-family: 'Museo Sans', sans-serif !important;
}

.copyrights {
  text-align: center !important;
  padding-top: 2rem !important;
  border-top: 1px solid #e9ecef !important;
  margin-top: 2rem !important;
}

.copyrights p {
  color: #000000 !important;
  font-size: 0.8rem !important;
  font-family: 'Museo Sans', sans-serif !important;
  margin: 0 !important;
}

.back-to-top {
  position: fixed !important;
  bottom: 2rem !important;
  right: 2rem !important;
  background: #1e3a8a !important;
  color: white !important;
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(30, 58, 138, 0.3) !important;
  transition: all 0.3s ease !important;
  z-index: 1000 !important;
}

.back-to-top:hover {
  background: #1e40af !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.4) !important;
}

.back-to-top svg {
  width: 20px !important;
  height: 20px !important;
  fill: white !important;
}

/* Login Page Specific Adjustments */
.login-page {
  margin-top: 80px !important; /* Space for fixed header */
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .login-page {
    margin-top: 60px !important;
  }

  .pt-footer {
    padding: 2rem 0 1rem !important;
  }

  .pt-footer h3 {
    font-size: 1.1rem !important;
  }

  .pt-footer p {
    font-size: 0.85rem !important;
  }
}
