/* NubiaCars Shipping Estimator v2 — frontend styles */
.nubia-se {
  --se-blue: #086dff;
  --se-text: #0f172a;
  --se-muted: #64748b;
  --se-border: #dfe7f3;
  --se-bg: #f8fafc;
  --se-shadow: 0 7px 20px rgba(15, 23, 42, .07);
  background: #fff;
  border: 1px solid #e5ecf6;
  border-radius: 14px;
  box-shadow: var(--se-shadow);
  padding: 22px;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--se-text);
  max-width: 720px;
  margin: 0 auto;
}

.nubia-se h3 {
  text-align: center;
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 900;
}

.nubia-se .ship-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.nubia-se .ship-field {
  border: 1px solid var(--se-border);
  border-radius: 10px;
  padding: 13px;
  background: #fff;
}

/* Container size field spans full width on its own row */
.nubia-se .ship-field-full {
  grid-column: 1 / -1;
}

.nubia-se .ship-field small {
  display: block;
  color: var(--se-muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 6px;
}

.nubia-se .ship-field strong {
  font-size: 13px;
  font-weight: 800;
}

.nubia-se .ship-field select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  color: var(--se-text);
  font-family: inherit;
  padding: 2px 0;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23086dff' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
}

.nubia-se .radio-row {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.nubia-se .radio {
  border: 1px solid var(--se-border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  transition: all .15s ease;
  flex: 1;
  text-align: center;
}

.nubia-se .radio.active {
  border-color: var(--se-blue);
  color: var(--se-blue);
  background: #eff6ff;
}

.nubia-se .estimate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin: 16px 0;
}

.nubia-se .estimate-box {
  background: var(--se-bg);
  border: 1px solid #e5ecf6;
  border-radius: 10px;
  padding: 14px;
}

.nubia-se .estimate-box small {
  display: block;
  color: var(--se-muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
}

.nubia-se .estimate-box b {
  font-size: 22px;
  color: var(--se-blue);
  font-weight: 900;
  display: block;
  line-height: 1.2;
}

.nubia-se .estimate-box strong {
  font-size: 20px;
  font-weight: 900;
  display: block;
}

.nubia-se .ship-btn {
  width: 100%;
  height: 50px;
  background: var(--se-blue);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 900;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
  font-family: inherit;
}

.nubia-se .ship-btn:hover { background: #0859cc; }
.nubia-se .ship-btn:active { transform: translateY(1px); }
.nubia-se .ship-btn:disabled { background: #94a3b8; cursor: not-allowed; }

.nubia-se .live-note {
  font-size: 11px;
  color: var(--se-muted);
  margin-top: 13px;
  font-weight: 700;
  text-align: center;
}

.nubia-se .live-note.error { color: #dc2626; }

@media (max-width: 600px) {
  .nubia-se .ship-grid,
  .nubia-se .estimate {
    grid-template-columns: 1fr;
  }
  .nubia-se h3 { font-size: 16px; }
}
