/* MTips5s Photoshop Lite - Lens Flare Dialog Styles */

.lens-flare-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;
}

.lens-flare-window {
  width: 440px;
  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;
}

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

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

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

.lens-flare-close:hover {
  color: #fff;
}

.lens-flare-body {
  padding: 14px;
  display: flex;
  gap: 14px;
}

.lens-flare-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

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

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

.lens-flare-right .btn-primary:hover {
  background: #0088e0;
}

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

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

/* Interactive Preview Box */
.lf-preview-box {
  width: 100%;
  height: 180px;
  background: #111;
  border: 1px solid #444;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  cursor: crosshair;
}

.lf-preview-canvas {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Brightness row */
.lf-slider-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lf-slider-label {
  font-size: 11.5px;
  color: #ccc;
  display: flex;
  justify-content: space-between;
}

.lf-slider-inputs {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

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

/* Lens Type selection */
.lf-lens-types {
  background: #222223;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #383838;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11.5px;
}

.lf-lens-types label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #ccc;
}
