:root {
  --background-color: #f0f0f0;
  --text-color: #333333;
  --primary-color: #f0f0f0;
  --secondary-color: #5AC8FA;
  --espressif-red-color: #E8362D;
  --border-color: #d1d1d1;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

@font-face {
  font-family: 'Trueno-bold';
  src: url('./trueno/TruenoBd.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Trueno-regular';
  src: url('./trueno/TruenoRg.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Trueno-light';
  src: url('./trueno/TruenoLt.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}
.n-result .n-result-icon .n-base-icon {
  color: #1290d8;
}
.n-checkbox.n-checkbox--checked .n-checkbox-box,
.n-checkbox.n-checkbox--indeterminate .n-checkbox-box {
  background-color: #1290d8;
}
.n-button {
  background-color: var(--espressif-red-color)
}
.n-card {
  border: none;
}
.n-radio .n-radio__dot {
  display: none;
}
body {
  font-family: 'Trueno-regular', var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  zoom: 0.8;
}

.n-layout-header {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.n-layout-content {
  padding: 20px;
}

.wizard-container {
  padding: 2rem;
  padding-top: 0px;
  padding-bottom: 0px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
  flex: 1;
  justify-content: center;
  text-align: center;
}

.wizard-step-container {
  padding: 20px;
  max-width: 1024px;
  margin: 0 auto;
}

h2 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.n-button {
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.n-button:not(:last-child) {
  margin-right: 10px;
}

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

.n-button:active {
  transform: translateY(1px);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 122, 255, 0.2);
}

.installer {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.header {
  background-color: var(--espressif-red-color);
  color: white;
  padding: 1rem;
  padding-left: 80px;
  padding-right: 80px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header img {
  height: 40px;
  padding: -1rem;
  width: auto;
  object-fit: contain;
}

.header h2 {
  margin: 0;
  font-size: 1.25rem;
}

#app {
  background-color: #f5f5f5;
  background-image: url('./bg.png');
  background-size: cover;
  background-position: center;
}

.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;

}

.welcome-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
}

.welcome-card h1 {
  font-size: 1.875rem;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.content {
  margin-bottom: 2rem;
}

.content p {
  color: #4b5563;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  color: #4b5563;
}

.feature-icon {
  background-color: #fee2e2;
  color: var(--espressif-red-color);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}

.get-started {
  width: 100%;
  margin-top: 1.5rem;
}

.footer {
  padding: 1rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  max-width: 100%;
}

.version {
  text-align: center;
}

.log-link {
  position: absolute;
  right: 0;
}

.title {
  font-size: 27px;
  font-family: 'Trueno-bold', sans-serif;
  color: #374151;
  margin-bottom: 0.5rem;
}

.complete-result .n-base-icon svg {
  margin-top: 15px;
  width: 60px;
  text-align: center;
  align-content: center;
}

.simple_install_result_positive .n-base-icon svg {
  margin-top: 15px;
  width: 60px;
  text-align: center;
  align-content: center;
}

.status-message .n-base-icon svg {
  color: var(--espressif-red-color);
  margin-top: 15px;
  width: 60px;
  text-align: center;
  align-content: center;
}

.status-message .n-button--ghost {
  background-color: white;
  border-color: var(--espressif-red-color);
  color: black;
}
