/* MTips5s Photoshop Lite - Black & White and Photo Filter Styles */

.bw-modal, .photo-filter-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;
}

.bw-window {
  width: 480px;
  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;
}

.photo-filter-window {
  width: 380px;
  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;
}

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

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

.bw-close, .photo-filter-close {
  background: none;
  border: none;
  color: #aaa;
  font-size: 18px;
  cursor: pointer;
}

.bw-close:hover, .photo-filter-close:hover {
  color: #fff;
}

.bw-body, .photo-filter-body {
  padding: 14px;
  display: flex;
  gap: 16px;
}

.bw-controls-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bw-actions-col {
  width: 100px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bw-actions-col button, .photo-filter-body button {
  padding: 6px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-bw-primary:hover {
  background: #0088e0;
}

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

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

/* Preset selector */
.bw-preset-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.bw-preset-row select {
  flex: 1;
  background: #1e1e1e;
  border: 1px solid #3c3c3c;
  color: #eee;
  padding: 4px 8px;
  border-radius: 3px;
  font-size: 11.5px;
}

/* Color sliders */
.bw-slider-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
}

.bw-slider-label {
  width: 75px;
  color: #ccc;
  display: flex;
  align-items: center;
  gap: 6px;
}

.bw-color-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

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

.bw-slider-num {
  width: 44px;
  background: #1e1e1e;
  border: 1px solid #3c3c3c;
  color: #eee;
  padding: 2px 4px;
  text-align: right;
  border-radius: 3px;
  font-size: 11px;
}

/* Tint section */
.bw-tint-box {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid #383838;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bw-tint-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #ccc;
}

.bw-tint-color-picker {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 1px solid #555;
  border-radius: 3px;
  cursor: pointer;
  background: none;
}
