/* TezSlider component styles */

.tez-slider-container {
  /* Extends shared styles from form-fields.css */
}

.tez-slider-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tez-slider-label-container {
  width: 100%;
}

.tez-slider-control {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tez-slider-input {
  flex: 1;
  margin-right: 10px;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: linear-gradient(to right, #2980b9, #e74c3c);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  transition: opacity .2s;
}

.tez-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ecf0f1;
  cursor: pointer;
  border: 2px solid #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
  transition: all 0.2s ease;
}

.tez-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.7);
}

.tez-slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ecf0f1;
  cursor: pointer;
  border: 2px solid #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.5);
  transition: all 0.2s ease;
}

.tez-slider-input::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(231, 76, 60, 0.7);
}

.tez-slider-input:focus {
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.3);
}

.tez-slider-value {
  width: 70px;
  padding-left: 10px;
  padding-right: 10px;
  min-width: 70px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: #ecf0f1;
  font-family: 'Orbitron', sans-serif;
  background-color: rgba(0, 0, 0, 0.3);
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 4px;
  border: 1px solid rgba(231, 76, 60, 0.3);
  flex-shrink: 0;
}

/* Error state */
.tez-slider-container.error .tez-slider-input {
  border-color: #e74c3c;
}

.tez-slider-container.error .tez-slider-value {
  color: #e74c3c;
}

/* Disabled state */
.tez-slider-container.disabled .tez-slider-input {
  opacity: 0.5;
  cursor: not-allowed;
}

.tez-slider-container.disabled .tez-slider-input::-webkit-slider-thumb {
  cursor: not-allowed;
}

.tez-slider-container.disabled .tez-slider-input::-moz-range-thumb {
  cursor: not-allowed;
}

.tez-slider-container.disabled .tez-slider-value {
  opacity: 0.5;
} 