.dropdown-container {
  margin: 0 0 10px 0;
  position: relative;
}

.dropdown-trigger {
  width: 100%;
  height: 36px;
  padding: 6px 30px 6px 10px;
  border: 2px solid #ccc;
  font-size: 14px;
  font-weight: 500;
  background: #f9f9f9;
  cursor: pointer;
  text-align: left;
  border-radius: 4px;
  box-sizing: border-box;
  position: relative;
  transition: all 0.2s ease;
  color: #0060c0;
  line-height: 1.2;
  display: grid; 
  align-items: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

.dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 10px;
  height: 6px;
  transform: translateY(-50%);
  background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOCIgdmlld0JveD0iMCAwIDEyIDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBvbHlnb24gcG9pbnRzPSIxLDEgNiw3IDExLDEiIGZpbGw9IiM5OTkiIC8+PC9zdmc+') no-repeat center center;
  background-size: 10px 6px;
  pointer-events: none;
}

.dropdown-trigger:hover {
  background-color: #f0f6ff;
  border-color: rgba(32,135,199,0.3);;
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.16);
}

.dropdown-trigger:focus {
  outline: none;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: calc(100% - 3px);
  background: rgba(255,255,255,0.98);
  border: 2px solid #A0C1D4;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 260px;
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 1000;
  display: none;
  margin: 0;
  padding: 0;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
}

.dropdown-menu::-webkit-scrollbar {
  width: 4px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: #2395DB;
  border-radius: 2px;
}
.dropdown-menu::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.dropdown-item {
  padding: 6px 10px;
  font-size: 13px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.15s ease;
  line-height: 1.2;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: #f0f6ff;
}

.dropdown-item.selected,
.dropdown-item:focus {
  background-color: #e3f2fd;
  font-weight: 600;
  color: #0060c0;
}

.dropdown-item.keyboard-selected {
  background-color: #b3d9ff;
  font-weight: 600;
}

.dropdown-open .dropdown-trigger {
  border-radius: 4px 4px 0 0;
  border-color: #2395DB;
  background-color: #f0f6ff;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .dropdown-trigger {
    font-size: 13px;
    height: 32px;
    padding: 4px 28px 4px 8px;
  }
}
