/* Skill Training Settings Styles */

.skill-training-settings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.skill-setting-item {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 8px;
  padding: 16px;
}

.skill-header {
  margin-bottom: 12px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-icon-img {
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
}

.skill-name {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Skill description */
.skill-description {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0 0;
  padding-left: 32px;
}

/* Skill methods */
.skill-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
  padding-left: 32px;
}

.skill-method-tag {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.skill-method-tag.disabled {
  opacity: 0.5;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
}

/* Skill milestones */
.skill-milestones {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  padding-left: 32px;
}

.skill-milestone-slider {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-milestone-slider label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.skill-milestone-slider .milestone-value,
.skill-milestone-slider .randomize-value,
.skill-milestone-slider .start-random-value {
  color: #ffd700;
  font-weight: bold;
}

/* Slider styling */
.skill-milestone-slider .slider {
  width: 200px;
  height: 6px;
  border-radius: 3px;
  background: rgba(0, 0, 0, 0.5);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.skill-milestone-slider .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffd700;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

.skill-milestone-slider .slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffd700;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.5);
}

/* Start randomizing input */
.skill-start-random-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.skill-start-random-input label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

.skill-start-random-input input[type="number"] {
  width: 60px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 4px;
  color: #ffd700;
  font-size: 13px;
  text-align: center;
}

.skill-start-random-input input[type="number"]:focus {
  outline: none;
  border-color: #ffd700;
  box-shadow: 0 0 4px rgba(255, 215, 0, 0.3);
}

/* Example */
.skill-example {
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 4px;
  font-size: 12px;
}

.skill-example strong {
  color: rgba(255, 255, 255, 0.9);
  margin-right: 6px;
}

.skill-example code {
  color: #00ff00;
  font-family: 'Courier New', monospace;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1200px) {
  .skill-training-settings {
    grid-template-columns: 1fr;
  }
}
