/* MTips5s Photoshop Lite - Posterize & Exposure Dialog Styles */

.post-exp-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.75);
  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;
}

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

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

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

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

.post-exp-close:hover {
  color: #fff;
}

.post-exp-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-exp-preview-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #1e1e1e;
  border: 1px solid #353535;
  border-radius: 4px;
  padding: 8px;
  gap: 8px;
}

.post-exp-preview-canvas {
  max-width: 100%;
  max-height: 160px;
  border-radius: 3px;
  background: #111;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.post-exp-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-exp-label {
  width: 120px;
  font-size: 12px;
  color: #ccc;
}

.post-exp-slider {
  flex: 1;
  height: 6px;
  -webkit-appearance: none;
  background: #3a3a3a;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.post-exp-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #0ea5e9;
  border: 2px solid #fff;
  cursor: pointer;
}

.post-exp-num {
  width: 60px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  border-radius: 3px;
  font-size: 11px;
  text-align: right;
  padding: 3px 6px;
  outline: none;
}

.post-exp-footer {
  background: #1f1f1f;
  border-top: 1px solid #333;
  padding: 10px 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.post-exp-btn {
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
}

.post-exp-btn-cancel {
  background: #333;
  color: #ccc;
  border-color: #444;
}

.post-exp-btn-cancel:hover {
  background: #3e3e3e;
  color: #fff;
}

.post-exp-btn-primary {
  background: #0284c7;
  color: #fff;
}

.post-exp-btn-primary:hover {
  background: #0369a1;
}

.post-exp-btn-reset {
  margin-right: auto;
  background: transparent;
  color: #888;
  border: 1px solid #444;
}

.post-exp-btn-reset:hover {
  color: #fff;
  border-color: #666;
}
