:root {
  --main-blue: #4a90e2;
  --a-color: #ff7675;
  --b-color: #55efc4;
  --start-color: #a29bfe;
  --end-color: #fab1a0;
}

.header-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  background: #2d3436;
  padding: 12px 18px;
  border-radius: 8px;
}
.header-group h3 {
  margin: 0;
  font-family: monospace;
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.4;
}
.a-color {
  color: var(--a-color);
}
.b-color {
  color: var(--b-color);
}
.start-color {
  color: var(--start-color);
  font-weight: bold;
}
.end-color {
  color: var(--end-color);
  font-weight: bold;
}
.a-color-text {
  color: #d63031;
  font-weight: bold;
}
.b-color-text {
  color: #00b894;
  font-weight: bold;
}
.start-color-text {
  color: #6c5ce7;
  font-weight: bold;
}
.end-color-text {
  color: #e17055;
  font-weight: bold;
}
.settings-row {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
  align-items: flex-end;
}
.toggle-group {
  flex: 1;
  min-width: 140px;
}
.toggle-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #636e72;
}
.view-toggle {
  display: flex;
  background: #f1f2f6;
  border-radius: 8px;
  padding: 3px;
}
.view-toggle button {
  flex: 1;
  border: none;
  padding: 6px;
  cursor: pointer;
  border-radius: 6px;
  background: transparent;
  font-size: 0.8rem;
  font-weight: 600;
  color: #333333;
}
.view-toggle button.active {
  background: white;
  color: var(--main-blue);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 15px;
}
.preset-btn {
  background: #f8f9fa;
  border: 1px solid #e1e4e8;
  padding: 8px 4px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.2s;
  color: #333333;
}
.preset-btn.active {
  background: var(--main-blue);
  color: white;
  border-color: var(--main-blue);
}
.description {
  display: flex;
  align-items: center;
  gap: 10px;
  
  font-size: 0.95rem;
  color: #333;
  margin: 12px 0;
  font-weight: 600;
  border: 2px solid var(--main-blue);
  padding: 8px;
  background-color: #eef6ff;
  border-radius: 10px;

  font-variant: small-caps;
  letter-spacing: 0.5px;

  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.description .icon {
  font-size: 1.1rem;
  color: var(--main-blue);
  flex-shrink: 0;
}

.warning-box {
  background: #fff5f5;
  border: 1px solid #feb2b2;
  color: #c53030;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  margin-top: 15px;
}
.sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.slider-item label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 5px;
  color: #2d3436;
}
.view-div {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
  gap: 8px;
  margin: 25px 0;
}
.view-ul ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.item {
  transition: 0.3s;
  background: #f1f2f6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  border-radius: 6px;
  font-weight: bold;
  color: #b2bec3;
  font-size: 0.9rem;
}
.view-ul .item {
  margin-bottom: 5px;
  justify-content: flex-start;
  padding-left: 15px;
  min-height: 40px;
}
input[type="range"] {
  accent-color: var(--main-blue);
  cursor: pointer;
  width: 100%;
  vertical-align: middle;
}
hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 15px 0;
}
