.date-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.date-picker-input {
  width: 100%;
  padding: 10px 40px 10px 12px !important;
  background: var(--transparent-dark);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-color);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-picker-input:hover {
  border-color: var(--border-color-dark);
  background: rgba(255, 255, 255, 0.05);
}

.date-picker-input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(20, 11, 46, 1);
  box-shadow: 0 0 0 2px rgba(194, 139, 55, 0.2);
}

.date-picker-icon {
  position: absolute;
  right: 12px;
  color: var(--primary-color);
  font-size: 1rem;
  pointer-events: none;
  transition: all 0.3s ease;
}

.date-picker-input:hover + .date-picker-icon {
  color: var(--primary-light);
}

.time-picker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.time-picker-overlay.active {
  display: flex;
  opacity: 1;
}

.time-picker-modal {
  background: var(--bg-color);
  border: 2px solid var(--border-color-dark);
  border-radius: 16px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.8);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.time-picker-overlay.active .time-picker-modal {
  transform: scale(1);
}

.time-picker-header {
  background: rgba(194, 139, 55, 0.2);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.time-picker-header h4 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0;
}

.time-picker-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.time-picker-close:hover {
  background: rgba(194, 139, 55, 0.2);
  color: var(--primary-color);
}

.time-picker-content {
  padding: 20px;
}

.picker-columns {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.picker-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.picker-label {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
}

.picker-wheel {
  position: relative;
  height: 180px;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(20, 11, 46, 0.3);
  border: 1px solid var(--border-color);
}

.picker-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 18, 64, 0.9) 0%,
    rgba(26, 18, 64, 0.6) 15%,
    transparent 30%,
    transparent 70%,
    rgba(26, 18, 64, 0.6) 85%,
    rgba(26, 18, 64, 0.9) 100%
  );
  pointer-events: none;
  z-index: 3;
}

.picker-indicator {
  position: absolute;
  top: 50%;
  left: 5px;
  right: 5px;
  height: 36px;
  transform: translateY(-50%);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  background: rgba(194, 139, 55, 0.08);
  box-shadow: 
    0 0 10px rgba(194, 139, 55, 0.3),
    inset 0 0 10px rgba(194, 139, 55, 0.1);
  pointer-events: none;
  z-index: 2;
  transition: all 0.2s ease;
}

.picker-wheel-wrapper {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.picker-wheel-scroll {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 72px 0;
  transition: none;
  will-change: transform;
  touch-action: pan-y;
}

.picker-wheel-scroll:not(.scrolling) {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.picker-item {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  user-select: none;
  font-weight: 400;
}

.picker-item:hover {
  color: var(--text-color);
  background: rgba(194, 139, 55, 0.05);
}

.picker-item.selected {
  color: var(--primary-color);
  font-weight: bold;
  font-size: 1.15rem;
  text-shadow: 0 0 8px rgba(194, 139, 55, 0.5);
  transform: scale(1.05);
}

.picker-item.selected::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 10%;
  right: 10%;
  bottom: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(194, 139, 55, 0.15) 20%,
    rgba(194, 139, 55, 0.2) 50%, 
    rgba(194, 139, 55, 0.15) 80%,
    transparent 100%);
  border-radius: 4px;
  z-index: -1;
}

.picker-item.adjacent {
  color: var(--text-color);
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

.picker-item.distant {
  opacity: 0.4;
  font-size: 0.9rem;
  font-weight: 300;
}

.time-picker-footer {
  background: rgba(20, 11, 46, 0.5);
  border-top: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.time-picker-footer .btn {
  padding: 8px 20px;
  font-size: 0.9rem;
  min-width: 80px;
}

.picker-wheel::-webkit-scrollbar {
  display: none;
}

.picker-wheel {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.picker-wheel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at center, rgba(194, 139, 55, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.picker-wheel-scroll.scrolling .picker-item {
  pointer-events: none;
}

@keyframes pickerGlow {
  0%, 100% {
    box-shadow: 
      0 0 10px rgba(194, 139, 55, 0.3),
      inset 0 0 10px rgba(194, 139, 55, 0.1);
  }
  50% {
    box-shadow: 
      0 0 15px rgba(194, 139, 55, 0.5),
      inset 0 0 15px rgba(194, 139, 55, 0.2);
  }
}

@media (max-width: 480px) {
  .time-picker-modal {
    width: 95%;
    margin: 20px;
  }
  
  .picker-columns {
    gap: 12px;
  }
  
  .picker-wheel {
    height: 160px;
  }
  
  .picker-wheel-scroll {
    padding: 62px 0;
  }
  
  .picker-item {
    height: 32px;
    font-size: 0.9rem;
  }
  
  .picker-item.selected {
    font-size: 1rem;
  }
  
  .picker-label {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .time-picker-header {
    padding: 12px 16px;
  }
  
  .time-picker-content {
    padding: 16px;
  }
  
  .time-picker-footer {
    padding: 12px 16px;
  }
  
  .time-picker-footer .btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    min-width: 70px;
  }
}

@media (max-width: 320px) {
  .picker-columns {
    gap: 8px;
  }
  
  .picker-wheel {
    height: 140px;
  }
  
  .picker-wheel-scroll {
    padding: 52px 0;
  }
  
  .picker-item {
    height: 28px;
    font-size: 0.8rem;
  }
  
  .picker-item.selected {
    font-size: 0.9rem;
  }
}