.custom-select {
  position: relative;
  width: 250px; 
  border: 10px solid white;
}

.select-input {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  cursor: pointer;  
  min-height: 40px; 

  font-size: var(--normal-text-font-size);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  border: 1px solid #ccc;
  width: 400px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 10;
  padding: 5px;
}

.dropdown-menu.show {
  display: flexbox;
}

.option {
  padding: 5px;
  cursor: pointer;
}

.option:hover {
  background-color: #f0f0f0;
}



/* and for month+year dropdown*/


.date-picker {
  position: relative;
  width: 140px; 
}


.date-picker-button, .select-input, .text-input {

  padding: 10px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  cursor: pointer;
} 

.text-input {
  width: 100%;
  cursor:auto;
  font-size: var(--normal-text-font-size);
}

.date-picker-button {
  list-style: none; /* Hides default details arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.date-picker-button::-webkit-details-marker {
  display: none;
}

.date-picker-button::after {
  content: "▾";
  font-size: 0.8rem;
}


.dropdown-panel,.dropdown-panel-style { 
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
 
.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 6px;
  display: flex;
  gap: 12px;
  z-index: 100;
}

.menu-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
}

.options-list {
  padding-right: 42px;
  max-height: 180px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.option-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
}

.option-item:hover {
  background-color: #f0f4f8;
}



.option-item input[type="radio"] {
  cursor: pointer;
}