.steps-grid {
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr auto 1fr;
  place-items: center;
  gap: 20px;
  margin: 20px 0;
  display: grid;
}

.step-box {
  text-align: center;
  opacity: .5;
  background-color: #f8f9fa;
  border: 2px solid #dee2e6;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-width: 250px;
  max-width: 350px;
  min-height: 120px;
  padding: 20px;
  transition: all .3s ease-in-out;
  display: flex;
  transform: scale(.95);
}

.step-box.focused {
  opacity: 1;
  background-color: #d4edda;
  border-color: #28a745;
  transform: scale(1);
  box-shadow: 0 4px 12px #28a74526;
}

.step-box.unfocused {
  opacity: .4;
  background-color: #e9ecef;
  border-color: #adb5bd;
  transform: scale(.9);
}

.step-number {
  color: #6c757d;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.step-content {
  color: #495057;
  font-size: 20px;
  font-weight: bold;
}

.step-emoji {
  margin-bottom: 10px;
  font-size: 24px;
}

#boardStatus {
  color: #dc3545;
  font-weight: bold;
}

#boardStatus.connected {
  color: #28a745;
}

.status-board-display {
  text-align: center;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin: 20px 0;
  padding: 15px;
}

.status-line {
  margin-bottom: 10px;
  font-size: 16px;
}

.status-label {
  color: #6c757d;
  font-weight: 500;
}

.status-value {
  margin-left: 5px;
  font-weight: bold;
}

.status-value.disconnected {
  color: #dc3545;
}

.status-value.connected {
  color: #28a745;
}

.board-name-line {
  font-size: 18px;
}

.board-name-label {
  color: #6c757d;
  font-weight: 500;
}

.board-name-value {
  margin-left: 5px;
  font-weight: bold;
}

.board-name-value.disconnected {
  color: #dc3545;
}

.board-name-value.connected {
  color: #28a745;
}

.board-name-value.unnamed {
  color: #dc3545;
}

.board-name-warning {
  color: #ffc107;
  filter: drop-shadow(0 1px 2px #0003);
  margin-left: 8px;
  font-size: 16px;
}

.step-arrow {
  color: #6c757d;
  grid-area: 1 / 2;
  font-size: 48px;
}

.step1-grid {
  grid-area: 1 / 1;
}

.step2-grid {
  grid-area: 1 / 3;
}

.action1-grid {
  grid-area: 2 / 1;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
}

.action2-grid {
  text-align: center;
  flex-direction: column;
  grid-area: 2 / 3;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  display: flex;
}

.flash-warning {
  text-align: center;
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  border-radius: 6px;
  width: fit-content;
  max-width: 300px;
  margin: 0 auto 15px;
  padding: 8px 16px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 4px #0000001a;
}

.flash-warning span {
  justify-content: center;
  align-items: center;
  gap: 6px;
  display: flex;
}

.board-name-edit {
  text-align: center;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  margin-top: 15px;
  padding: 15px;
  display: none;
}

.board-name-edit.show {
  display: block;
}

.board-name-edit input[type="text"] {
  border: 1px solid #dee2e6;
  border-radius: 4px;
  width: 250px;
  margin: 0 10px;
  padding: 8px 12px;
  font-size: 14px;
}

.board-name-note {
  text-align: center;
  color: #6c757d;
  margin-top: 8px;
}

.board-name-buttons {
  text-align: center;
  margin-top: 10px;
}

.change-name-button {
  text-align: center;
  margin-top: 0;
  display: none !important;
}

.change-name-button.show {
  margin-top: 10px;
  display: block !important;
}

.bluetooth-retrieve-button {
  text-align: center;
  margin-top: 10px;
}

.feedback-area-grid {
  text-align: center;
  grid-area: 3 / 1 / auto / -1;
  width: 100%;
  margin-top: 10px;
}

.feedback-content {
  color: #495057;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  min-height: 20px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
  transition: all .3s;
  display: flex;
}

.feedback-content.connecting {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeaa7;
}

.feedback-content.connected {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.feedback-content.flashing {
  color: #0c5460;
  background-color: #d1ecf1;
  border-color: #bee5eb;
}

.feedback-content.error {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.feedback-help {
  text-align: left;
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  max-width: 600px;
  margin-top: 15px;
  margin-left: auto;
  margin-right: auto;
  padding: 15px 20px;
}

.feedback-help h4 {
  color: #856404;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
}

.feedback-help ul {
  color: #856404;
  margin: 0;
  padding-left: 20px;
}

.feedback-help li {
  margin-bottom: 5px;
  font-size: 14px;
  line-height: 1.4;
}

.control-terminal-container {
  gap: 20px;
  margin-top: 20px;
  display: flex;
}

.controls-section {
  flex: 1;
  min-width: 300px;
}

.terminal-section {
  flex: 1;
  min-width: 400px;
}

.advanced-options {
  border-top: 2px solid #dee2e6;
  margin-top: 30px;
  padding-top: 20px;
}

.advanced-toggle {
  cursor: pointer;
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px 20px;
  transition: background-color .2s;
  display: flex;
}

.advanced-toggle:hover {
  background-color: #e9ecef;
}

.advanced-toggle-text {
  color: #495057;
  font-weight: 500;
}

.advanced-arrow {
  color: #6c757d;
  font-size: 16px;
  transition: transform .3s;
}

.advanced-arrow.expanded {
  transform: rotate(180deg);
}

.advanced-content {
  animation: .3s ease-in-out fadeIn;
  display: none;
}

.advanced-content.show {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-controls {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.header-controls label {
  color: #495057;
  white-space: nowrap;
  margin: 0;
  font-weight: 500;
}

.header-controls select {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 14px;
}

.progress-section {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  margin: 25px 0;
  padding: 20px;
  box-shadow: 0 2px 8px #0000000d;
}

.progress-header {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  display: flex;
}

.progress-title {
  color: #495057;
  font-size: 18px;
  font-weight: 600;
}

.progress-overall {
  color: #007bff;
  background-color: #007bff1a;
  border: 2px solid #007bff33;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 20px;
  font-weight: bold;
}

.progress-bar-container {
  background-color: #e9ecef;
  border-radius: 6px;
  width: 100%;
  height: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px #0003;
}

.progress-bar {
  background: linear-gradient(90deg, #007bff 0%, #28a745 50%, #17a2b8 100%);
  border-radius: 6px;
  width: 0%;
  height: 100%;
  transition: width .3s;
  box-shadow: 0 2px 4px #007bff4d;
}

.progress-steps {
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 20px;
  display: grid;
}

.progress-step {
  text-align: center;
  opacity: .5;
  flex-direction: column;
  align-items: center;
  transition: all .3s;
  display: flex;
  transform: scale(.95);
}

.progress-step.active, .progress-step.completed {
  opacity: 1;
  transform: scale(1);
}

.progress-step.completed .step-circle {
  color: #0000;
  background-color: #28a745;
  border-color: #28a745;
}

.progress-step.completed .step-circle:after {
  content: "✓";
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.progress-step.active .step-circle {
  color: #fff;
  background-color: #007bff;
  border-color: #007bff;
  animation: 2s infinite pulse;
}

.step-circle {
  color: #6c757d;
  background-color: #fff;
  border: 3px solid #dee2e6;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: bold;
  transition: all .3s;
  display: flex;
  position: relative;
}

.step-label {
  color: #495057;
  justify-content: center;
  align-items: center;
  min-height: 32px;
  margin-bottom: 5px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
}

.step-percentage {
  color: #007bff;
  background-color: #007bff1a;
  border: 1px solid #007bff33;
  border-radius: 12px;
  min-width: 45px;
  padding: 2px 8px;
  font-size: 16px;
  font-weight: bold;
}

.progress-step.completed .step-percentage {
  color: #28a745;
  background-color: #28a7451a;
  border-color: #28a74533;
}

.progress-step.active .step-percentage {
  background-color: #007bff33;
  border-color: #007bff66;
  animation: 1.5s ease-in-out infinite alternate glow;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 #007bffb3;
  }

  70% {
    box-shadow: 0 0 0 10px #007bff00;
  }

  100% {
    box-shadow: 0 0 #007bff00;
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 5px #007bff4d;
  }

  to {
    box-shadow: 0 0 10px #007bff99;
  }
}

@media (width <= 768px) {
  .progress-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .progress-step .step-label {
    min-height: 24px;
    font-size: 12px;
  }

  .step-circle {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}
/*# sourceMappingURL=typescript.24ff7697.css.map */
