@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
  --primary: #556dff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family:
    "Pretendard Variable",
    -apple-system,
    BlinkMacSystemFont,
    system-ui,
    Roboto,
    "Helvetica Neue",
    "Segoe UI",
    "Apple SD Gothic Neo",
    "Noto Sans KR",
    "Malgun Gothic",
    sans-serif;
  padding: 40px;
  color: #333;
}

.dashboard {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.controls {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 22px;
  border-radius: 14px;
  background: #111;
  color: #f5f5f5;
}

.controls h3 {
  font-size: 18px;
  font-weight: 700;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.control-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  font-weight: bold;
  color: #f5f5f5;
}

.value-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #111;
  background: #fff;
}

.control-group input[type="range"] {
  width: 100%;
  cursor: pointer;
  accent-color: var(--primary);
}

.control-group input[type="text"] {
  padding: 8px;
  border: 1px solid #2c2c2c;
  border-radius: 4px;
  background: #1d1d1d;
  color: #fff;
}

.control-group input[type="text"]::placeholder {
  color: #999;
}

.control-group input[type="color"] {
  width: 100%;
  height: 36px;
  border: 1px solid #2c2c2c;
  border-radius: 6px;
  background: #1d1d1d;
  cursor: pointer;
}

.row {
  display: flex;
  gap: 15px;
}

.row > div {
  flex: 1;
}

.toggle-row {
  gap: 10px;
}

.toggle-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #2c2c2c;
  border-radius: 8px;
  background: #1a1a1a;
  color: #f5f5f5;
  cursor: pointer;
}

.toggle-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.toggle-item span {
  font-size: 13px;
  font-weight: 600;
}

.chart-view {
  width: 100%;
  display: flex;
  justify-content: center;
  padding:40px 20px;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
}
