/**
 * Country Picker Integration CSS for Europa V2 Theme
 */

/* Navigation integration container */
.country-picker-navigation {
  display: flex;
  align-items: center;
  padding: 0 15px;
  margin-left: auto;
}

/* Simple dropdown styles */
.simple-country-dropdown {
  position: relative;
  display: inline-block;
}

.simple-country-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 8px 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
  min-width: 70px;
  text-decoration: none;
}

.simple-country-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
  text-decoration: none;
}

.simple-country-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 999999;
  max-height: 400px;
  overflow-y: auto;
  margin-top: 4px;
  min-width: 250px;
  animation: fadeInDown 0.2s ease-out;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.simple-country-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  gap: 8px;
}

.simple-country-item:hover {
  background: #f8f9fa;
  border-left: 3px solid #007bff;
  padding-left: 9px;
}

.country-flag, .small-flag {
  width: 18px;
  height: 13px;
  object-fit: cover;
  border-radius: 2px;
}

.country-code, .country-code-small {
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  color: #666;
}

.country-name {
  color: #333;
  font-weight: 500;
}

/* Europa V2 specific adjustments */
header .country-picker-navigation {
  position: relative;
  z-index: 20000;
}
