.quick-format-popup {
  width: min(310px, 92vw);
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 18px;
  background: white;
  color: #25313a;
  box-shadow: 0 12px 40px #0003;
  font-family: Arial, sans-serif;
}

.quick-format-popup::backdrop {
  background: #0006;
}

.qf-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.qf-close {
  border: 0;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.qf-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 15px;
}

.qf-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #ccc;
  padding: 13px 10px;
  margin-bottom: 8px;
  font-size: 13px;
}

.qf-option.selected {
  background: #edf7f8;
  border-bottom: 3px solid #087f83;
}

.qf-option.unavailable {
  opacity: .55;
}

.qf-option small {
  font-size: 11px;
}

.qf-add {
  width: 100%;
  padding: 13px;
  margin-top: 12px;
  background: #087f83;
  color: white;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  cursor: pointer;
}

.qf-add:disabled {
  background: #aaa;
  cursor: not-allowed;
}

/* PDF sale pricing */
.qf-price {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}

.qf-old-price {
  color: #888;
  font-size: 12px;
  font-weight: 400;
  text-decoration: line-through;
}
