@import url('mobile.css');
/* Wizard Fleet CSS */
.wizard-fleet-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px;
  font-family: var(--uicore-primary-font-family, "Inter");
}

.wizard-steps {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  gap: 20px;
}

.wizard-step {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wizard-step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ddd;
  margin: 0;
  color: #666;
  font-weight: bold;
  position: relative;
}



.wizard-step.active .wizard-step-number {
  background: #4caf50;
  color: white;
}

.wizard-step.completed .wizard-step-number {
  background: var(--e-global-color-uicore_primary) !important;
  color: white;
}

.wizard-step.skipped .wizard-step-number {
  background: #9e9e9e;
  color: white;
  text-decoration: line-through;
}

.wizard-step-title {
  color: #666;
  font-size: 14px;
  margin-bottom: 0px;
  font-weight: 500;
  line-height: 20px;
  white-space: nowrap;
}

.wizard-step.active .wizard-step-title {
  color: #4caf50;
  font-weight: bold;
  line-height: 20px;
}

.wizard-step.active .wizard-step-selection {
  opacity: 0.7;
  transform: scale(0.95);
  transition: all 0.3s ease;
}

.wizard-step.completed .wizard-step-title {
  color: var( --e-global-color-uicore_primary );
  font-weight: 500;
}

.wizard-step.completed .wizard-step-selection {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
}

/* Check icon styles */
.wizard-step-check-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: white;
  font-size: 18px;
  animation: checkIconAppear 0.3s ease-in-out;
}

.wizard-step-check-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

/* Alternative: Font Awesome icon */
.wizard-step-check-icon.fa {
  font-size: 16px;
}

/* Check icon animation */
@keyframes checkIconAppear {
  from {
    opacity: 0;
    transform: scale(0.5) rotate(-45deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.wizard-step-selection {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  opacity: 0.5;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.wizard-step-selection:empty {
  min-height: 0;
  opacity: 0;
  transform: scale(0.8);
}

.wizard-step-selection-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
  background: #f8f8f8;
}

.wizard-step.completed .wizard-step-selection-image {
  border-color: var( --e-global-color-uicore_primary );
  background: #fff;
}



.wizard-step-selection-count {
  background: #ececec;
  color: #194d78;
  padding: 4px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: bold;
  min-width: 50px;
  text-align: center;
  line-height: 10px;
}

.wizard-step-selection-vehicle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var( --e-global-color-uicore_primary );
  border-radius: 8px;
  color: white;
  font-size: 20px;
}


.wizard-content {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 300px;
}

.wizard-title {
  margin-top: 0;
  color: #333;
  font-size: 24px;
}

.wizard-subtitle {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
}

.vehicle-count-options,
.vehicle-type-options,
.fleet-groups,
.solution-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: space-between;
}

.vehicle-type-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(20%, 1fr));
}
.vehicle-type-option{
  text-align: left !important;
}
.vehicle-count-option,
.vehicle-type-option {
  flex: 1;
  min-width: 200px;
  padding: 20px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.vehicle-type-option.step2 {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding: 20px !important;
}

.vehicle-type-option {
  padding: 0 !important;
  justify-content: space-between !important;
  align-items: flex-end;
  overflow: hidden;
}

.vehicle-count-option:hover,
.vehicle-type-option:hover {
  border-color: #4caf50;
}

.vehicle-count-option.selected,
.vehicle-type-option.selected {
  border-color: #4caf50;
  background-color: rgba(76, 175, 80, 0.1);
}

.vehicle-count-option img,
.vehicle-type-option img {
  max-width: 100%;
  height: 80px !important;
}

.vehicle-count-option {
  position: relative;
  overflow: hidden;
}

.vehicle-count-option img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin-bottom: 15px;
  border-radius: 8px;
}

.fleet-group {
  width: 49%;
  margin-bottom: 20px;
}

.fleet-group-title {
  background-color: var( --e-global-color-uicore_primary );
  color: white;
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  margin: 0;
}

.fleet-group-solutions {
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 5px 5px;
  padding: 15px;
  background-color: white;
}

.solution-item {
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.solution-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.solution-checkbox {
  margin-right: 15px;
}

.solution-name {
  flex: 1;
}

.solution-sensor {
  color: #666;
  font-style: italic;
}

.button-group {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 30px;
}

.wizard-button {
  padding: 12px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.wizard-button.prev {
  background-color: #9e9e9e;
  color: white;
}

.wizard-button.next,
.wizard-button.submit {
  background-color: #4caf50;
  color: white;
}

.wizard-button.skip {
  background-color: #ff9800;
  color: white;
}

.wizard-button:hover {
  opacity: 0.9;
}

.wizard-button:disabled,
.wizard-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.wizard-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 4px solid rgba(76, 175, 80, 0.2);
  border-top-color: #4caf50;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Results page styling */
.wizard-results {
  margin-top: 30px;
}

.wizard-results-section {
  margin-bottom: 40px;
}

.wizard-results-title {
  font-size: 20px;
  color: var( --e-global-color-uicore_primary );
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var( --e-global-color-uicore_primary );
}

.wizard-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.sensor-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
}

.sensor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sensor-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.sensor-content {
  padding: 15px;
}

.sensor-title {
  font-size: 16px;
  margin: 0 0 10px;
}

.sensor-description {
  color: #666;
  margin-bottom: 10px;
  font-size: 14px;
}

.sensor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.sensor-meta-item {
  background: #f1f1f1;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  color: #555;
}

.bg-white {
  background-color: #fff;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}


.text-xl {
  font-size: 62px;
  line-height: 70px;
  letter-spacing: -5px;
}

.text-lg {
  font-size: 38px;
  line-height: 40px;
  letter-spacing: 0;
}

.text-md {
  font-size: 24px;
  line-height: 26px;
  letter-spacing: 0;
}

.text-sm {
  font-size: 16px;
  line-height: 18px;
  letter-spacing: 0;
}

.font-bold {
  font-weight: bold;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.hidden {
  display: none;
}

/* Accordion Sensors */
.accordion-sensors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(450px, 1fr));
  gap: 20px;
}

.sensor-accordion {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.sensor-accordion:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.sensor-accordion:hover .accordion-content,
.sensor-accordion.hover-active .accordion-content {
  max-height: 1000px;
}

.sensor-accordion:hover .accordion-icon,
.sensor-accordion.hover-active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 25px 20px 25px;
  cursor: pointer;
  background: #f8f9fa;
  transition: background-color 0.3s ease;
}

.sensor-accordion.active .accordion-header {
  background: #e9ecef;
}

.accordion-title {
  display: flex;
  gap: 15px;
}

.group-name {
  font-size: 24px;
  font-weight: 500;
  color: #333;
  line-height: 26px;
}

.sensor-count {
  font-size: 14px;
  color: #666;
  font-weight: 400;
  line-height: 26px;
  transition: all 0.3s ease;
}

.sensor-count.has-selection {
  color: #16a34a;
  font-weight: 500;
}

.accordion-icon {
  color: #666;
  transition: transform 0.3s ease;
}

.sensor-accordion:hover .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: white;
}

.sensor-accordion.active .accordion-content {
  max-height: 1000px;
}

.sensor-accordion.active .accordion-icon {
  transform: rotate(180deg);
}

.sensors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 15px;
  padding: 25px;
}

.sensor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.2s ease;
}

.sensor-item:hover {
  background: #e9ecef;
}

.sensor-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sensor-item input[type="checkbox"]:checked {
  background: #4caf50;
  border-color: #4caf50;
}

.sensor-item label {
  cursor: pointer;
  font-size: 16px;
  color: #333;
  font-weight: 400;
  flex: 1;
}

.select-all-section {
  padding: 0 25px 25px 25px;
  display: flex;
  justify-content: center;
}

.select-all-btn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.select-all-btn:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.select-all-btn:active {
  transform: translateY(0);
}

.select-all-btn.selected {
  background: #16a34a;
  pointer-events: none;
}

.select-all-btn.selected:hover {
  background: #16a34a;
  transform: none;
}

