.body {
  font-family: "Vazirmatn", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  margin: 0;
  background-color: #25d8c92a;
  direction: rtl;
}

.header {
  text-align: center;
  margin-bottom: 20px;
}

.header__title {
  margin: 0;
  font-size: 2.5em;
  color: #333;
}

.header__subtitle {
  font-size: 1.2em;
  color: #666;
  margin-bottom: 20px;
  max-width: 800px;
  line-height: 2;
}

.section {
  width: 80%;
  max-width: 800px;
  margin-bottom: 40px;
  padding: 20px;
  background-color: #f9f9f9; /* Light grey for better contrast */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#demo {
  overflow: hidden; /* Hide any overflow if spinner grows larger */
}

.customization__form-container {
  display: flex;
  flex-direction: column;
}

.customization__label {
  font-family: "Vazirmatn", sans-serif;
  font-size: 1rem;
  margin: 12px 0;
}

.customization__input,
.customization__select {
  width: 100%;
  height: 40px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "Vazirmatn", sans-serif;
  box-sizing: border-box;
}

.customization__color-input {
  width: 100%;
  height: 40px;
  border: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.customization__color-input::-webkit-color-swatch-wrapper {
  padding: 0;
  border-radius: 4px;
}

.customization__color-input::-webkit-color-swatch {
  border: none;
  border-radius: 4px;
}

.customization__input:disabled,
.customization__color-input:disabled,
.customization__select:disabled {
  background-color: #f0f0f0;
  cursor: not-allowed;
  color: #a0a0a0;
}

.pre {
  white-space: pre;
  overflow-x: auto;
  direction: ltr;
}

.line-numbers-rows {
  padding-right: 10px;
}

.pre--line-numbers {
  padding-left: 10px;
}

.demo__button-container {
  display: flex;
  justify-content: center;
}

.demo__button {
  width: 180px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 5px;
  font-family: "Vazirmatn", sans-serif;
}

.demo__button:hover {
  background-color: #2980b9;
}

#borderWidthDisplay {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
  text-align: center;
}

/* Customization Section Styles */
.customization__checkbox-container {
  display: flex;
  align-items: center;
  margin: 10px 0;
}

.customization__checkbox-container:last-child {
  margin-top: 0;
}

.customization__checkbox {
  margin-right: 10px; /* Adjust the space between the checkbox and label */
  accent-color: var(--color-primary); /* Use primary color for the checkbox */
}

.demo__switch-container {
  text-align: center;
}

.demo__button-wrapper {
  text-align: center;
  margin: 16px 0;
}

#formBuilder {
  max-width: 1200px;
}