* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f0f0f0;
  transition: none;
}

.dark-mode,
html.dark-mode body {
  background-color: #0d1b2a;
  color: #ffffff;
}

.navbar {
  background-color: white;
  border-bottom: 1px solid #e9ecef;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: none;
}

.dark-mode .navbar {
  /*background-color: #1E2A38;*/
  background: #242c3a;
  border-bottom-color: #404040;
}

.navbar-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333;
}

.navbar-brand .icon {
  width: 32px;
  height: 32px;
  background: #6c3cfa;
  /*background: linear-gradient(to right, #F52795, #2780F5);*/
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Texto que dice Genvi en el NavBar*/
.navbar-brand .brand-text {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.9px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin-left: auto;
  margin-right: 20px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  text-decoration: none;
  color: #7c7c7eff;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.5px;
}
.nav-link.active {
  color: #000000;
  font-weight: 500;
}
/*.nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px; /* separación del texto */
/*transform: translateX(-50%);
  width: 60%; /* ocupa solo el 60% del link */
/*height: 5px;
  border-radius: 4px; /* puntas redondeadas */
/*background: linear-gradient(90deg, #F52795, #2780F5);
}*/
.dark-mode .nav-link {
  color: #d1d5db;
}
.dark-mode .nav-link.active {
  color: #ffffff;
}
.dark-mode .navbar-brand .brand-text {
  color: #ffffff;
}
.nav-link:hover {
  color: #000000;
}

.dark-mode .nav-link:hover {
  color: #ffffff;
}

.profile-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.profile-btn:hover {
  transform: scale(1.05);
}

.theme-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: #f3f4f6;
  color: #374151;
  margin-right: 8px;
}

.theme-toggle:hover {
  transform: scale(1.05);
}
/* Logo de Modo oscuro */
.dark-mode .theme-toggle {
  background-color: #404040;
  color: #fbbf24;
}

.desktop-theme-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  gap: 4px;
  width: 24px;
  height: 24px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background-color: #000000;
  transition: all 0.3s ease;
  display: block;
}

.dark-mode .hamburger span {
  background-color: #d1d5db;
}

.hamburger.active span:nth-child(1) {
  position: absolute;
  top: 50%;
  transform: rotate(45deg);
  background-color: #f44336;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  position: absolute;
  top: 50%;
  transform: rotate(-45deg);
  background-color: #f44336;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-right: 0px;
    background-color: #f9f9f9;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid #e9ecef;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .dark-mode .navbar-nav {
    background-color: #242c3a;
    border-bottom-color: #404040;
  }

  .navbar-nav.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 20px 16px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e9ecef;
  }
  .dark-mode .nav-link {
    border-bottom-color: #404040;
  }
  .nav-link i {
    font-size: 16px;
  }
  .hamburger {
    display: flex;
  }

  .profile-btn {
    display: none;
  }

  .theme-toggle {
    display: flex;
  }
}

.mobile-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Desktop - hide theme toggle in desktop, show in mobile controls */
@media (min-width: 768px) {
  .mobile-controls .theme-toggle {
    display: none;
  }

  .desktop-theme-toggle {
    display: flex;
  }

  .navbar-nav {
    margin-left: auto;
    margin-right: 20px;
  }
}

@media (max-width: 768px) {
  .desktop-theme-toggle {
    display: none;
  }
}

/*==================================================================================================*/
/*                                Estilos generales para los textarea                               */
/*==================================================================================================*/
textarea {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif; /* fuente moderna y legible */
  font-size: 16px; /* tamaño cómodo para lectura */
  line-height: 1.6; /* espaciado entre líneas */
}
/*==================================================================================================*/
/*                                                 Footer                                           */
/*==================================================================================================*/
.footer {
  background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  color: white;
  width: 100%;
  padding: 40px 20px 20px;
  margin-top: 40px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #e2e8f0;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-icon {
  background: #6c3cfa; /* CC = aproximadamente 80% de opacidad */
  width: 50px;
  height: 50px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  flex-shrink: 0;
}

.logo-text h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 5px;
}

.logo-text p {
  color: #a0aec0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about-text {
  color: #a0aec0;
  line-height: 1.6;
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav-links a {
  color: #a0aec0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  padding: 5px 0;
  border-left: 3px solid transparent;
  padding-left: 15px;
}

.nav-links a:hover {
  color: #6c3cfa;
  border-left-color: #6c3cfa;
  padding-left: 20px;
}

.footer-bottom {
  border-top: 1px solid #4a5568;
  padding-top: 25px;
  padding-bottom: 20px;
  text-align: center;
  color: #a0aec0;
  font-size: 0.9rem;
}
.footer-bottom a {
  color: #667eea;
  text-decoration: none;
}
.footer-bottom strong {
  color: #6c3cfa;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .nav-links a {
    border-left: none;
    border-bottom: 2px solid transparent;
    padding-left: 0;
    padding-bottom: 5px;
  }

  .nav-links a:hover {
    border-left: none;
    border-bottom-color: #6c3cfa;
    padding-left: 0;
  }
}

/* ================================================================================================== */
/*                              Breadcrumb - Agregar al final de style.css                              */
/* ================================================================================================== */
.breadcrumb {
  background: transparent;
  margin-top: 65px;
  font-size: 14px;
  color: #6b7280;
  /* border-bottom: 1px solid rgba(0, 0, 0, 0.05); */

  /* Animaciones */
  opacity: 0;
  transform: translateY(0);
  transition: all 0.3s ease;
}
.breadcrumb.sticky-active {
  position: sticky;
  top: 65px;

  /* Mostrar suavemente */
  opacity: 1;
  transform: translateY(0);
}
.breadcrumb-text {
  width: 100%;
  color: #6b7280;
  font-weight: 500;
  max-width: 1200px;
  display: flex;
  margin: 0 auto;
}

.breadcrumb-separator {
  margin: 0 8px;
  color: #6b7280;
}

/* Modo oscuro para breadcrumb */
.dark-mode .breadcrumb {
  color: #9ca3af;
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
}

.dark-mode .breadcrumb-link {
  color: #9ca3af;
}

.dark-mode .breadcrumb-separator,
.dark-mode .breadcrumb-text {
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .breadcrumb {
    display: none;
  }
}
/* ================================================================================================ */
/*                                Estilo para las listas despegables                                */
/* ================================================================================================ */
select {
  width: 100%;
  padding: 12px 40px 12px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #374151;
  background-color: transparent;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;

  /* Línea vertical y flecha personalizada */
  background-image: linear-gradient(to right, #d1d5db 1px, transparent 1px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat, no-repeat;
  background-position: right 42px center, right 12px center;
  background-size: 1px 100%, 20px;
}
/* Modo oscuro */
.dark-mode select {
  color: #e5e7eb;
  border-color: #4b5563;
  background-image: linear-gradient(to right, #4b5563 1px, transparent 1px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}


.gradient-icon {
  background: linear-gradient(135deg, #f52795cc 0%, #2780f5cc 100%); /* Cambia colores */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
