/* MinusWork™ Demo Page Styles */

/* Base Styles */
body {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  min-height: 100vh;
}

/* Demo Container */
.demo-container {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  margin: 2rem auto;
  max-width: 1200px;
  width: 90%;
  overflow: hidden;
}

/* Step Progress Indicator */
.step-progress {
  background: rgba(30, 41, 59, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.step-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border-width: 2px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.step-item.active {
  background-color: #f97316;
  border-color: #f97316;
  color: white;
}

.step-item.completed {
  background-color: #10b981;
  border-color: #10b981;
  color: white;
}

.step-item.inactive {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
}

.step-connector {
  flex: 1;
  height: 2px;
  margin: 0 0.5rem;
}

.step-connector.completed {
  background-color: #10b981;
}

.step-connector.inactive {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Option Cards */
.option-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.option-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Demo Step Styles */
.demo-step {
  padding: 2rem;
}

.pillar-badge {
  background-color: #f97316;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Custom Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #f97316;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Custom Form Elements */
.form-input {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Demo Results Panel */
.results-panel {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .demo-container {
    width: 95%;
    margin: 1rem auto;
  }
  
  .demo-step {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .step-item {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}