/* BT Quote — Quick Quote tool styles. Ported verbatim from the
   BT-Quick-Quote-Tool WPCode snippet, plus .bt-share (copy quote link). */

.bt-tool {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  color: #222;
  width: 100%;
  background: #fff;
}
.bt-tool * { box-sizing: border-box; margin: 0; padding: 0; }
.bt-tool .bt-method {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.bt-tool .method-btn {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap;
  padding: 12px 16px;
  border: 2px solid #27267e;
  border-radius: 7px;
  background: #fff;
  color: #27267e;
  font-family: 'Oswald', sans-serif;
  font-size: 16px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer; user-select: none;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.bt-tool .method-btn:hover { background: #f2f2fa; }
.bt-tool .method-btn.sel {
  background: #27267e; color: #fff;
  box-shadow: 0 3px 10px rgba(39,38,126,0.25);
}
.bt-tool .method-btn .mb-sub {
  font-family: Tahoma, sans-serif;
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.5px; text-transform: none;
  opacity: 0.7;
}
.bt-tool .section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 6px;
}
.bt-tool .section-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #dde 30%, #dde 70%, transparent);
}
.bt-tool .section-divider-label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #bbb;
  white-space: nowrap;
}
.bt-tool .step-title {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #27267e;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.bt-tool .step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #27267e;
  color: #fff;
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: Tahoma, sans-serif;
}
.bt-tool .step-title-note {
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #666;
  margin-left: auto;
  line-height: 1.3;
  text-align: right;
}
.bt-tool .bt-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 8px;
  margin-bottom: 0;
  align-items: start;
}
@media (max-width: 680px) {
  .bt-tool .bt-grid { grid-template-columns: 1fr; }
}
.bt-tool .left-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bt-tool .bt-card {
  border: 1.5px solid #dde;
  border-radius: 7px;
  padding: 8px 12px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.bt-tool .bt-card:hover {
  border-color: #27267e;
  box-shadow: 0 2px 10px rgba(39,38,126,0.07);
}
.bt-tool .qty-row {
  display: flex;
  align-items: center;
  border: 2px solid #27267e;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 4px;
}
.bt-tool .qty-btn {
  width: 38px; height: 34px;
  border: none; background: #fff;
  font-size: 22px; font-weight: 700;
  color: #27267e; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}
.bt-tool .qty-btn:hover { background: #27267e; color: #fff; }
.bt-tool .qty-num {
  flex: 1; border: none; width: 0;
  text-align: center;
  font-size: 22px; font-weight: 700;
  font-family: Tahoma, sans-serif;
  color: #27267e; outline: none;
  background: #fff;
}
.bt-tool .qty-note {
  font-size: 12px; color: #666; line-height: 1.4;
}
.bt-tool .opt-list { display: flex; flex-direction: column; gap: 4px; }
.bt-tool .opt-row {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 9px;
  border: 1.5px solid #dde;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  background: #fff;
}
.bt-tool .opt-row:hover { border-color: #27267e; background: #f8f8fd; }
.bt-tool .opt-row.sel { border-color: #27267e; background: #f2f2fa; }
.bt-tool .opt-row input { display: none; }
.bt-tool .opt-dot {
  width: 13px; height: 13px;
  border: 2px solid #bbb; border-radius: 50%;
  flex-shrink: 0; transition: all 0.15s;
  display: flex; align-items: center; justify-content: center;
}
.bt-tool .opt-row.sel .opt-dot { border-color: #27267e; background: #27267e; }
.bt-tool .opt-row.sel .opt-dot::after {
  content: ''; width: 4px; height: 4px;
  background: #fff; border-radius: 50%;
}
.bt-tool .opt-body { flex: 1; min-width: 0; }
.bt-tool .opt-name { display: block; font-size: 13px; font-weight: 700; color: #27267e; }
.bt-tool .opt-sub { font-size: 12px; color: #444; line-height: 1.2; display: block; margin-top: 1px; }
.bt-tool .opt-badge {
  font-size: 12px; font-weight: 700;
  padding: 1px 6px; border-radius: 3px;
  background: #eee; color: #777;
  text-transform: uppercase; letter-spacing: 0.5px;
  white-space: nowrap; flex-shrink: 0;
  transition: all 0.15s;
  font-family: 'Oswald', sans-serif;
}
.bt-tool .opt-row.sel .opt-badge { background: #e535ab; color: #fff; }
.bt-tool .gmt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
@media (max-width: 400px) {
  .bt-tool .gmt-grid { grid-template-columns: 1fr; }
}
.bt-tool .gmt-card {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 4px 9px;
  border: 1.5px solid #dde;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.15s;
  user-select: none;
  background: #fff;
}
.bt-tool .gmt-card:hover { border-color: #27267e; background: #f8f8fd; }
.bt-tool .gmt-card.sel { border-color: #27267e; background: #f2f2fa; }
.bt-tool .gmt-card input { display: none; }
.bt-tool .gmt-dot {
  width: 13px; height: 13px; flex-shrink: 0;
  border: 2px solid #bbb; border-radius: 50%;
  margin-top: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.15s;
}
.bt-tool .gmt-card.sel .gmt-dot { border-color: #27267e; background: #27267e; }
.bt-tool .gmt-card.sel .gmt-dot::after {
  content: ''; width: 4px; height: 4px;
  background: #fff; border-radius: 50%;
}
.bt-tool .gmt-body { flex: 1; min-width: 0; }
.bt-tool .gmt-name { display: block; font-size: 13px; font-weight: 700; color: #27267e; line-height: 1.2; }
.bt-tool .gmt-sub { font-size: 12px; color: #444; line-height: 1.2; display: block; margin-top: 1px; }
.bt-tool .gmt-price {
  display: inline-block; margin-top: 3px;
  font-size: 11px; font-weight: 700;
  font-family: 'Oswald', sans-serif;
  padding: 1px 5px; border-radius: 3px;
  background: #eee; color: #777;
  transition: all 0.15s;
}
.bt-tool .gmt-card.sel .gmt-price { background: #e535ab; color: #fff; }
.bt-tool .bt-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 6px;
}
@media (max-width: 700px) {
  .bt-tool .bt-bottom { grid-template-columns: 1fr; }
}
.bt-tool .bt-results {
  background: #27267e;
  border-radius: 8px;
  padding: 11px 14px;
  display: flex;
  flex-direction: column;
}
.bt-tool .results-layout {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.bt-tool .price-side {
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 7px;
}
.bt-tool .price-eyebrow {
  font-family: 'Oswald', sans-serif;
  font-size: 14px; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 3px;
}
.bt-tool .price-display {
  display: flex; align-items: flex-start; justify-content: center;
  line-height: 1; margin-bottom: 3px;
}
.bt-tool .price-dollars {
  font-family: 'Oswald', sans-serif;
  font-size: 44px; font-weight: 700;
  color: #fff; letter-spacing: -1px; line-height: 1;
}
.bt-tool .price-cents {
  font-family: 'Oswald', sans-serif;
  font-size: 24px; font-weight: 600;
  color: rgba(255,255,255,0.75);
  margin-top: 5px; line-height: 1;
}
.bt-tool .summary-side { color: #fff; flex: 1; display: flex; flex-direction: column; }
.bt-tool .stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin-bottom: 6px;
}
.bt-tool .stat-box {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px; padding: 3px 8px; text-align: center;
}
.bt-tool .stat-lbl {
  font-family: 'Oswald', sans-serif;
  font-size: 10px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.7); margin-bottom: 2px;
}
.bt-tool .stat-val {
  font-family: 'Oswald', sans-serif;
  font-size: 17px; font-weight: 600; color: #fff; line-height: 1;
}
.bt-tool .stat-val.small {
  font-size: 12px; line-height: 1.25; padding-top: 2px;
}
.bt-tool .brk-wrap { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 8px; }
.bt-tool .brk-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 3px 0; font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.bt-tool .brk-row:last-child { border: none; }
.bt-tool .bl { color: rgba(255,255,255,0.6); }
.bt-tool .bv { font-weight: 700; color: #fff; }
.bt-tool .brk-total { margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.15) !important; }
.bt-tool .brk-total .bl { color: #fff; font-size: 14px; font-weight: 700; }
.bt-tool .brk-total .bv { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 700; color: #fff; }
.bt-tool .order-btn { margin-top: auto; padding-top: 7px; }
.bt-tool .order-btn button {
  width: 100%;
  background: #e535ab; color: #fff;
  border: none; border-radius: 6px;
  padding: 8px 16px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  box-shadow: 0 3px 10px rgba(229,53,171,0.4);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.bt-tool .order-btn button:hover {
  background: #cc2a96;
  box-shadow: 0 5px 16px rgba(229,53,171,0.55);
  transform: translateY(-1px);
}
.bt-tool .order-btn button:active { transform: translateY(0); }
.bt-tool .tbl-wrap { display: flex; flex-direction: column; }
.bt-tool .tbl-scroll {
  overflow-y: auto;
  border: 1.5px solid #27267e;
  border-radius: 7px;
}
.bt-tool table { width: 100%; border-collapse: collapse; }
.bt-tool table thead tr { background: #27267e; }
.bt-tool table th {
  padding: 6px 12px; text-align: left;
  font-family: 'Oswald', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.bt-tool table th:not(:first-child) { text-align: right; }
.bt-tool table th:first-child { color: #fff; }
.bt-tool table td {
  padding: 5px 12px; font-size: 13px; font-weight: 600;
  border-bottom: 1px solid #e8e8f2; color: #333;
}
.bt-tool table td:not(:first-child) { text-align: right; color: #27267e; }
.bt-tool table tr:last-child td { border-bottom: none; }
.bt-tool table tr:nth-child(even) td { background: #f7f7fc; }
.bt-tool table tr.active td { background: #f0f0f9 !important; font-weight: 700 !important; }
.bt-tool table tr.active td:first-child { color: #27267e !important; border-left: 3px solid #e535ab; }
.bt-tool table tr.active td:not(:first-child) { color: #27267e !important; }

/* ── Share / copy quote link ─────────────────────────────────────────── */
.bt-tool .bt-share {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-top: 2px;
}
.bt-tool .bt-share-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; color: #27267e;
  border: 1.5px solid #c9cbe6; border-radius: 6px;
  padding: 5px 14px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.bt-tool .bt-share-btn:hover { background: #27267e; border-color: #27267e; color: #fff; }
.bt-tool .bt-share-btn svg { width: 13px; height: 13px; flex-shrink: 0; }
.bt-tool .bt-share-msg {
  font-size: 12px; font-weight: 700; color: #1a7f37;
  opacity: 0; transition: opacity 0.2s;
}
.bt-tool .bt-share-msg.show { opacity: 1; }
.bt-tool .bt-share-msg.err { color: #b91c1c; }
.bt-tool .bt-share-url {
  width: 100%; margin-top: 6px;
  border: 1.5px solid #c9cbe6; border-radius: 6px;
  padding: 6px 10px; font-size: 12px;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  color: #27267e; background: #f7f7fc; outline: none;
  display: none;
}
.bt-tool .bt-share-url.show { display: block; }

/* ── Modal ───────────────────────────────────────────────────────────── */
.bt-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(20,20,60,0.65); backdrop-filter: blur(3px);
  z-index: 99999; align-items: center; justify-content: center; padding: 20px;
}
.bt-modal-overlay.open { display: flex; }
.bt-modal {
  background: #fff; border-radius: 14px;
  width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  animation: btModalIn 0.25s ease;
}
@keyframes btModalIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.bt-modal-head {
  background: #27267e; border-radius: 14px 14px 0 0;
  padding: 18px 22px 16px; position: relative;
}
.bt-modal-head h2 {
  font-family: 'Oswald', sans-serif; font-size: 20px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #fff; margin-bottom: 3px;
}
.bt-modal-head p { font-size: 12px; color: rgba(255,255,255,0.6); line-height: 1.5; }
.bt-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: rgba(255,255,255,0.15); border: none; color: #fff;
  width: 28px; height: 28px; border-radius: 50%; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background 0.15s;
}
.bt-modal-close:hover { background: rgba(255,255,255,0.3); }
.bt-modal-summary {
  background: #f4f4fb; border-bottom: 1px solid #e0e0f0;
  padding: 10px 22px; display: flex; flex-wrap: wrap; gap: 6px;
}
.bt-sum-chip {
  background: #27267e; color: #fff;
  font-family: 'Oswald', sans-serif; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; padding: 3px 10px; border-radius: 20px;
}
.bt-sum-chip.pink { background: #e535ab; }
.bt-modal-body { padding: 18px 22px; display: flex; flex-direction: column; gap: 12px; }
.bt-field label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: #27267e; margin-bottom: 5px; font-family: 'Oswald', sans-serif;
}
.bt-field input, .bt-field textarea {
  width: 100%; border: 1.5px solid #dde; border-radius: 6px;
  padding: 9px 12px; font-size: 14px;
  font-family: Tahoma, Geneva, Verdana, sans-serif;
  color: #222; outline: none;
  transition: border-color 0.15s, box-shadow 0.15s; background: #fff;
}
.bt-field input:focus, .bt-field textarea:focus {
  border-color: #27267e; box-shadow: 0 0 0 3px rgba(39,38,126,0.1);
}
.bt-field textarea { resize: vertical; min-height: 80px; }
.bt-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 460px) { .bt-field-row { grid-template-columns: 1fr; } }
.bt-modal-footer { padding: 0 22px 18px; display: flex; gap: 10px; flex-wrap: wrap; }
.bt-submit-btn {
  flex: 1; background: #e535ab; color: #fff;
  border: none; border-radius: 7px; padding: 11px 18px;
  font-family: 'Oswald', sans-serif; font-size: 15px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  box-shadow: 0 4px 14px rgba(229,53,171,0.35);
}
.bt-submit-btn:hover { background: #cc2a96; transform: translateY(-1px); }
.bt-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.bt-cancel-btn {
  background: #f0f0f8; color: #27267e;
  border: none; border-radius: 7px; padding: 11px 16px;
  font-family: 'Oswald', sans-serif; font-size: 14px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; cursor: pointer;
  transition: background 0.15s;
}
.bt-cancel-btn:hover { background: #e0e0f0; }
.bt-modal-success { display: none; padding: 36px 22px; text-align: center; }
.bt-modal-success.show { display: block; }
.bt-modal-success .check { font-size: 46px; margin-bottom: 12px; }
.bt-modal-success h3 {
  font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700;
  color: #27267e; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px;
}
.bt-modal-success p { font-size: 13px; color: #666; line-height: 1.6; }
@keyframes btPulse {
  0%, 100% { opacity: 0.2; }
  50%       { opacity: 0.5; }
}
.bt-tool .price-side { transition: opacity 0.15s ease; }
.bt-tool .price-side.loading { animation: btPulse 0.8s ease-in-out infinite; }
@keyframes btPriceFlash {
  0%   { opacity: 0.4; transform: translateY(4px); }
  100% { opacity: 1;   transform: translateY(0); }
}
.bt-tool .price-side.flash { animation: btPriceFlash 0.3s ease; }
.bt-tool .bt-foot {
  margin-top: 5px; font-size: 11px; color: #999;
  text-align: center; line-height: 1.6;
  padding-top: 7px; border-top: 1px solid #eee;
}
.bt-tool .bt-foot strong { color: #27267e; }
