/**
 * U-Snap it — Slope Question Styles
 */

.slope-question {
  margin: 1.5rem 0;
}

.slope-question .form-label {
  margin-bottom: 0.75rem;
}

.slope-question .form-label strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.slope-question .label-hint {
  color: #9ca3af;
  font-size: 0.875rem;
}

.slope-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.slope-option {
  flex: 1;
  min-width: 140px;
  cursor: pointer;
}

.slope-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.slope-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.2s ease;
  text-align: center;
}

.slope-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.slope-option.selected .slope-card,
.slope-option input:checked + .slope-card {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.15);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.3);
}

.slope-icon {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.slope-label {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.slope-desc {
  color: #9ca3af;
  font-size: 0.75rem;
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 480px) {
  .slope-options {
    flex-direction: column;
  }
  
  .slope-option {
    min-width: 100%;
  }
  
  .slope-card {
    flex-direction: row;
    text-align: left;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
  }
  
  .slope-icon {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
  
  .slope-card > div {
    display: flex;
    flex-direction: column;
  }
}
