.time-picker {
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  width: 100%;
  max-width: 100px;
}

.time-picker-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.time-picker-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.time-picker-input {
  width: 100%;
  padding: 10px 40px 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.time-picker-input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

.time-picker-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.time-picker-toggle {
  position: absolute;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #666;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-picker-toggle:disabled {
  color: #ccc;
  cursor: not-allowed;
}

.time-picker-toggle:hover:not(:disabled) {
  color: #333;
}

.time-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  max-height: 300px;
  overflow-y: auto;
}

.time-picker-column {
  flex: 1;
  min-width: 60px;
}

.time-picker-header {
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #666;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.time-picker-list {
  overflow-y: auto;
  max-height: 250px;
}

.time-picker-item {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: none;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.time-picker-item:hover {
  background-color: #f0f7ff;
}

.time-picker-item.selected {
  background-color: #4a90e2;
  color: white;
}
