/* PR152 — Offline-first styles */

.pr152-offline-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.pr152-dot-green  { background: #2bb673; }
.pr152-dot-gray   { background: #b6b6b6; }
.pr152-dot-yellow { background: #f5c518; }
.pr152-dot-red    { background: #d8413a; }

.pr152-offline-banner {
  background: #fff7cc;
  color: #5b4a00;
  border-bottom: 1px solid #e7c64a;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}
.pr152-offline-banner a { color: #5b4a00; font-weight: 600; text-decoration: underline; }

.pr152-queue-inspector {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 9999;
  padding: 32px 16px;
}
.pr152-queue-inspector-body {
  background: #fff;
  border-radius: 8px;
  width: min(680px, 100%);
  padding: 16px 18px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.pr152-queue-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pr152-queue-table th, .pr152-queue-table td { padding: 6px 8px; border-bottom: 1px solid #eee; text-align: left; }
.pr152-queue-money { background: #ffe9c2; padding: 0 6px; border-radius: 10px; font-size: 11px; }

.pr152-conflict-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 12px 0;
  background: #fff;
}
.pr152-conflict-header { font-weight: 600; margin-bottom: 4px; }
.pr152-conflict-note { color: #5b4a00; font-size: 13px; margin-bottom: 8px; }
.pr152-conflict-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pr152-conflict-grid pre {
  background: #f6f8fa;
  padding: 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 220px;
  overflow: auto;
}
.pr152-conflict-actions { margin-top: 10px; display: flex; gap: 8px; }
.pr152-conflict-actions button { padding: 6px 12px; border-radius: 4px; border: 1px solid #ccc; background: #fafafa; cursor: pointer; }
.pr152-conflict-actions button[disabled] { opacity: 0.5; cursor: not-allowed; }

.pr152-bid-tracker-offline {
  padding: 32px 24px;
  text-align: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin: 24px auto;
  max-width: 520px;
}
.pr152-bid-tracker-offline h2 { margin-top: 0; color: #1a3450; }
.pr152-bt-offline-actions { margin-top: 16px; display: flex; gap: 10px; justify-content: center; }
.pr152-bt-offline-actions button { padding: 8px 18px; border-radius: 4px; border: 1px solid #1a3450; background: #1a3450; color: #fff; cursor: pointer; font-weight: 600; }
.pr152-bt-offline-actions button + button { background: #fff; color: #1a3450; }

.pr152-offline-settings { padding: 12px 16px; border: 1px solid #eee; border-radius: 8px; background: #fff; }
.pr152-offline-settings label { display: block; margin: 6px 0; font-size: 14px; }
.pr152-offline-settings input[type="number"] { width: 100px; margin-left: 8px; }
