
.cont-header {
  background: var(--gradient-primary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100000;
  transition: .3s all;
}

.course-notification-bar ~ .cont-header,
.course-notification-bar + .cont-header {
  top: var(--notification-bar-height, 50px);
}

.course-notification-bar {
  background: linear-gradient(to right, #18181b, #27272a, #18181b);
  border-bottom: 1px solid #3f3f46;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100001;
  animation: slideInFromTop 0.5s ease-out;
}

.course-notification-content {
  display: flex;
  align-items: center;
  justify-content: between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px;
}

.notification-left-section {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.notification-emoji-container {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 50%;
  flex-shrink: 0;
}

.notification-emoji {
  font-size: 24px;
}

.notification-text-container {
  flex: 1;
}

.notification-top-text {
  font-size: 12px;
  font-weight: 600;
  color: #0ea5e9;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.notification-main-message {
  font-size: 20px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  /* text-balance: balance; */
}

.highlight-text { 
  color: #0ea5e9;
}

.notification-icon {
  font-size: 20px;
  animation: pulse 2s infinite, glow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 2px 8px rgba(255,255,255,0.4));
  color: #fbbf24;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.countdown-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.countdown-text {
  font-size: 12px;
  font-weight: 500;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

.countdown-timer {
  display: flex;
  gap: 8px;
}

.countdown-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(39, 39, 42, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid #3f3f46;
  border-radius: 8px;
  padding: 12px 8px;
  min-width: 70px;
}

.countdown-number {
  font-size: 32px;
  font-weight: 700;
  color: white;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-card:last-child .countdown-number {
  color: #0ea5e9;
}

.countdown-label {
  font-size: 10px;
  font-weight: 500;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.notification-right-section {
  flex-shrink: 0;
}

.notification-btn {
  background: #0ea5e9;
  color: white;
  padding: 24px 32px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(14, 165, 233, 0.2);
  display: inline-block;
}

.notification-btn:hover {
  background: #0284c7;
  color: white;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 40px rgba(14, 165, 233, 0.3);
  text-decoration: none;
}

@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6), 0 0 20px rgba(251, 191, 36, 0.4);
  }
  to {
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.8), 0 0 25px rgba(251, 191, 36, 0.6);
  }
}

@media (min-width: 640px) {
  .notification-emoji-container {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .course-notification-content {
    flex-direction: column;
    gap: 12px;
    padding: 12px 16px;
  }
  
  .notification-left-section {
    text-align: center;
    justify-content: center;
  }
  
  .countdown-section {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 768px) {
  .course-notification-content {
    padding: 8px 12px;
    gap: 8px;
  }
  
  .notification-top-text {
    font-size: 10px;
    margin-bottom: 2px;
  }
  
  .notification-main-message {
    font-size: 16px;
    line-height: 1.2;
  }
  
  .countdown-text {
    font-size: 10px;
    margin-bottom: 4px;
  }
  
  .countdown-timer {
    gap: 4px;
  }
  
  .countdown-card {
    min-width: 50px;
    padding: 6px 4px;
  }
  
  .countdown-number {
    font-size: 20px;
  }
  
  .countdown-label {
    font-size: 8px;
    margin-top: 2px;
  }
  
  .notification-btn {
    font-size: 12px;
    padding: 10px 16px;
  }
}

/* Estilos para dropdowns en el header */
.cont-header .dropdown-toggle {
  color: white;
  text-decoration: none;
  border: none;
  background: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.cont-header .dropdown-toggle:hover,
.cont-header .dropdown-toggle:focus {
  color: var(--white);
  text-decoration: none;
}

.cont-header .dropdown-toggle::after {
  margin-left: 0.5em;
  vertical-align: 0.125em;
}

.cont-header .dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  min-width: 200px;
}

.cont-header .dropdown-item {
  color: #333;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cont-header .dropdown-item:hover,
.cont-header .dropdown-item:focus {
  background: linear-gradient(135deg, #00A9C5 0%, #087EAD 100%);
  color: white;
}

/* Estilos para mobile */
.mobile-nav-link.dropdown-toggle {
  color: white;
  font-weight: 500;
}

.mobile-nav-link.dropdown-toggle:hover {
  color: #0ea5e9;
}

@media (max-width: 768px) {
  .cont-header .dropdown-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    margin-top: 0.5rem;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
  }
  
  .cont-header .dropdown-menu.show {
    display: block !important;
  }
  
  .cont-header .dropdown-item {
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
  }
  
  .cont-header .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #0ea5e9;
    transform: none;
  }
  
  /* Prevenir que el dropdown cierre el menú móvil */
  .cont-header .dropdown-toggle {
    pointer-events: auto;
  }
}

@media (max-width: 480px) {
  .course-notification-content {
    padding: 6px 8px;
    gap: 6px;
  }
  
  .notification-left-section {
    gap: 8px;
  }
  
  .notification-main-message {
    font-size: 14px;
  }
  
  .countdown-text {
    display: none;
  }
  
  .countdown-card {
    min-width: 40px;
    padding: 3px 2px;
  }
  
  .countdown-number {
    font-size: 16px;
  }
  
  .countdown-label {
    font-size: 6px;
  }
  
  .notification-btn {
    font-size: 10px;
    padding: 6px 10px;
  }
}


.cont-header i {
  font-size: 20px;
  color: var(--white);
}

.cont-header i:hover {
  color: var(--third);
  transition: .3s all;
}

.cont-header nav a {
  text-decoration: none;
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
  transition: .3s all;
}

.cont-header nav a:hover {
  color: var(--white);
}

.cont-header .cont-top {
  position: relative;
  display: flex;
}

.cont-header .cont-top::before {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 70%;
  height: .5px;
  background: var(--white);
}

/* Contenedor del menú hamburguesa */
.mobile-menu-toggle {
  padding: 8px;
}

/* Botón hamburguesa mejorado */
.cont-header .burger-icon {
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 30px;
  position: relative;
  transition: all 0.3s ease;
}

.cont-header .burger-icon:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Líneas del hamburguesa */
.burger-line {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger-line:nth-child(1) {
  transform: translateY(0);
}

.burger-line:nth-child(2) {
  opacity: 1;
}

.burger-line:nth-child(3) {
  transform: translateY(0);
}

/* Animación cuando está abierto */
.burger-icon[aria-expanded="true"] .burger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-icon[aria-expanded="true"] .burger-line:nth-child(2) {
  opacity: 0;
}

.burger-icon[aria-expanded="true"] .burger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hover effects */
.burger-icon:hover .burger-line {
  background: var(--third);
}

.cont-header .collapse .menu-collapse {
  background: var(--gradient-primary) !important;
}

.mobile-nav-link {
  color: var(--white) !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
}

.mobile-nav-link:hover {
  color: var(--third) !important;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

/* Animación para el menú colapsable */
.collapse {
  transition: all 0.3s ease-in-out;
}

.collapse.show {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.cont-header .collapse .menu-collapse a {
  text-decoration: none;
  color: var(--white);
  font-size: 14px;
  font-weight: 200;
  transition: .3s all;
}