.language-switcher {
  position: fixed !important;
  top: calc(50vh - 45px) !important;
  right: 20px !important;
  z-index: 9999 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(8px) !important;
  border-radius: 25px !important;
  padding: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  width: 50px !important;
  height: 90px !important;
  justify-content: center !important;
  align-items: center !important;
}

.lang-btn {
  padding: 0;
  background: transparent;
  color: #333;
  text-decoration: none;
  border-radius: 50%;
  font-weight: 600;
  font-size: 12px;
  transition: all 0.3s ease;
  border: none;
  width: 34px;
  height: 34px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

/* Removed shine effect */

.lang-btn:hover {
  background: #E53935;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

.lang-btn.active {
  background: #E53935;
  color: white;
  box-shadow: 0 4px 12px rgba(229, 57, 53, 0.3);
}

/* Language Selection Popup */
.language-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.language-popup.show {
  opacity: 1;
  visibility: visible;
}

.language-popup-content {
  background: white;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.language-popup.show .language-popup-content {
  transform: translateY(0);
}

.language-popup-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.language-popup-subtitle {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.language-options {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.language-option {
  padding: 15px 25px;
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  min-width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.language-option:hover {
  background: #E53935;
  color: white;
  border-color: #E53935;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 57, 53, 0.3);
}

.language-flag {
  font-size: 24px;
  margin-bottom: 5px;
}

.language-name {
  font-size: 14px;
  opacity: 0.8;
}

/* Override any conflicting styles */
@media (max-width: 575.98px) {
  .language-switcher {
    top: 50vh !important;
    right: 10px !important;
    transform: translateY(-50%) !important;
    padding: 3px !important;
  }
  
  .lang-btn {
    padding: 8px 4px !important;
    font-size: 11px !important;
  }
  
  .language-popup-content {
    padding: 30px 20px;
    margin: 0 15px;
  }
  
  .language-options {
    flex-direction: column;
    gap: 10px;
  }
  
  .language-option {
    min-width: auto;
    width: 100%;
  }
}
