
/* Com imagens SVG/PNG */
.image-flag-selector {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.img-current-flag {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1.5px solid #ccc;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
  overflow: hidden;
  padding: 2px;
}

.img-current-flag:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  border-color: #2E54B5;
}

.img-current-flag img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.img-dropdown {
  position: absolute;
  bottom: calc(100% + 8px);
  top:auto;
  right: 0;
  background: white;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 8px;
  border: 1px solid #eee;
  min-width: 50px;
}

.image-flag-selector.active .img-dropdown {
  display: flex;
  animation: slideUp 0.2s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.img-option {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 2px;
}

.img-option:hover {
  border-color: #2E54B5;
  transform: scale(1.08);
}

.img-option img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.img-option.current {
  border-color: #2E54B5;
  background: #f0f7ff;
  cursor: default;
}

.img-option.current:hover {
  transform: none;
}
