/* ========================================
   Modern Header Styles
   ======================================== */

.modern-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 15px 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1000;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-left a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.modern-header .header-img {
  width: auto;
  height: 80px;
  transition: transform 0.3s ease;
}

.modern-header .header-img:hover {
  transform: scale(1.05);
}

.header-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.modern-header .header-caption {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
  margin: 0;
  padding: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.header-section {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-icon {
  color: #4CAF50;
  font-size: 18px !important;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.section-name {
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.modern-header .version {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.user-dropdown {
  background: white !important;
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: #333 !important;
  font-weight: 500;
  padding: 8px 16px !important;
  border-radius: 25px !important;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-dropdown:hover {
  background: #f8f9fa !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.user-dropdown .user-name {
  font-size: 0.95rem;
  vertical-align: middle;
}

.user-info {
  padding: 20px !important;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  cursor: default !important;
}

.user-info:hover {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modern-header {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  .header-left {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .modern-header .header-caption {
    font-size: 1.5rem;
  }

  .header-section {
    justify-content: center;
  }

  .header-right {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .modern-header .header-img {
    height: 60px;
  }

  .modern-header .header-caption {
    font-size: 1.2rem;
  }

  .section-name {
    font-size: 0.8rem;
  }

  .user-dropdown {
    font-size: 0.85rem;
    padding: 6px 12px !important;
  }
}

