/* MTips5s Photoshop Lite - Color Balance Dialog Styles */

.color-balance-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #e0e0e0;
}

.color-balance-window {
  width: 420px;
  background: #2b2b2b;
  border: 1px solid #3c3c3c;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.color-balance-header {
  height: 38px;
  background: #1f1f1f;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
}

.color-balance-title {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-balance-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.color-balance-close:hover {
  color: #fff;
}

.color-balance-body {
  padding: 14px;
  display: flex;
  gap: 14px;
}

.color-balance-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.color-balance-right {
  width: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.color-balance-right button {
  width: 100%;
  padding: 6px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
}

.color-balance-right .btn-primary {
  background: #007acc;
  color: #fff;
  border-color: #0060a0;
}

.color-balance-right .btn-primary:hover {
  background: #0088e0;
}

.color-balance-right .btn-secondary {
  background: #3c3c3c;
  color: #ddd;
  border-color: #4a4a4a;
}

.color-balance-right .btn-secondary:hover {
  background: #4a4a4a;
  color: #fff;
}

/* Color Balance Sliders */
.cb-sliders-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #222223;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #383838;
}

.cb-slider-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
}

.cb-label-left {
  width: 55px;
  text-align: right;
  font-weight: 500;
}

.cb-label-right {
  width: 45px;
  text-align: left;
  font-weight: 500;
}

.cb-slider-row input[type="range"] {
  flex: 1;
  accent-color: #007acc;
  height: 4px;
  cursor: pointer;
}

.cb-num-input {
  width: 36px;
  background: #181818;
  border: 1px solid #3c3c3c;
  color: #eee;
  padding: 2px 4px;
  text-align: center;
  border-radius: 3px;
  font-size: 11px;
}

/* Tone range radio box */
.cb-tone-box {
  background: #222223;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid #383838;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cb-tone-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #ccc;
}

.cb-tone-radios {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

.cb-tone-radios label {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.cb-checkbox-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  cursor: pointer;
  color: #ccc;
}
