/* MTips5s Photoshop Lite - Modify Selection Dialog Styles */

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

.mod-sel-window {
  width: 340px;
  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;
}

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

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

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

.mod-sel-close:hover {
  color: #fff;
}

.mod-sel-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mod-sel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mod-sel-label {
  font-size: 12px;
  color: #ccc;
  flex: 1;
}

.mod-sel-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.mod-sel-num:focus {
  border-color: #38bdf8;
}

.mod-sel-unit {
  font-size: 12px;
  color: #888;
}

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

.mod-sel-btn {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  outline: none;
}

.mod-sel-btn-cancel {
  background: #333;
  color: #ccc;
  border-color: #444;
}

.mod-sel-btn-cancel:hover {
  background: #3e3e3e;
  color: #fff;
}

.mod-sel-btn-primary {
  background: #0284c7;
  color: #fff;
}

.mod-sel-btn-primary:hover {
  background: #0369a1;
}
