/* =========================
   REQUEST A QUOTE — PAGE STYLES
   Self-contained — no index.css dependency
========================= */

:root {
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(217 46% 15%);

  --card: hsl(0 0% 100%);
  --card-foreground: hsl(217 46% 15%);

  --popover: hsl(0 0% 100%);
  --popover-foreground: hsl(217 46% 15%);

  --primary: hsl(350 87% 42%);
  --primary-foreground: hsl(0 0% 100%);

  --secondary: hsl(217 46% 20%);
  --secondary-foreground: hsl(0 0% 100%);

  --muted: oklch(96.8% 0.007 247.896);
  --muted-foreground: #5e6b64;

  --accent: hsla(222, 100%, 27%, 0.533);
  --accent-foreground: hsl(0 0% 100%);

  --destructive: hsl(0 84.2% 60.2%);
  --destructive-foreground: hsl(210 40% 98%);

  --border: #d3d7de;
  --input: #d3d7de;
  --ring: hsl(350 87% 42%);

  --radius: 0.75rem;

  --success: #1a7a4a;
  --header-h: 64px;
}

/* =========================
   BASE RESET & TYPOGRAPHY
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-optical-sizing: auto;
}

h1, h2, h3, h4, h5, h6, button, strong, a {
  font-family: "Manrope", sans-serif;
  font-optical-sizing: auto;
}

p {
  text-wrap: balance;
}

body.ob-active .site-footer,
body.ob-active .site-header,
body.ob-active .sidebar-backdrop,
body.ob-active #mobileMenu {
  display: none;
}

/* =========================
   MINIMAL PAGE LOGO (top-left)
========================= */
.ob-page-logo {
  padding: 28px 40px;
  background: #fff;
}

.ob-page-logo a {
  display: inline-block;
  line-height: 0;
}

.ob-page-logo img {
  height: 32px;
  width: auto;
}

/* =========================
   SUCCESS MODE — hide progress bar
========================= */
body.ob-success-mode .ob-progress {
  display: none;
}

/* ── Page background ── */
.ob-main {
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: #fff;
}

/* ── Centered card ── */
.ob-shell {
  width: 100%;
  max-width: 720px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* ── Form panel (full width of card) ── */
.ob-right {
  display: flex;
  flex-direction: column;
}

/* =========================
   PROGRESS BAR
========================= */
.ob-progress {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 28px;
  height: 52px;
  background: #fff;
}

.ob-progress__back {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: all 0.2s;
  font-size: 11px;
  font-family: inherit;
}

.ob-progress__back:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  background: rgba(0,0,0,0.03);
}

.ob-progress__back:disabled {
  cursor: not-allowed;
}

.ob-progress__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted-foreground);
  white-space: nowrap;
  min-width: 80px;
  letter-spacing: 0.2px;
}

.ob-progress__track {
  flex: 1;
  height: 4px;
  background: #eaedf1;
  border-radius: 99px;
  overflow: hidden;
}

.ob-progress__fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.ob-progress__pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  min-width: 36px;
  text-align: right;
}

/* =========================
   STEPS WRAPPER
========================= */
.ob-steps-wrap {
  display: flex;
  flex-direction: column;
}

/* =========================
   INDIVIDUAL STEP
========================= */
.ob-step {
  width: 100%;
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  animation: fadeUp 0.28s ease both;
}

.ob-step.hidden {
  display: none;
}

.ob-step__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.ob-step__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--foreground);
  line-height: 1.25;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
  margin-bottom: 2rem;
}

.ob-step__hint {
  font-size: 14px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 28px;
  text-wrap: unset;
}

.ob-step__error {
  font-size: 13px;
  color: var(--destructive);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #fff5f5;
  border: 1px solid hsl(0 84% 60% / 0.25);
  border-radius: var(--radius);
}

.ob-step__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 20px;
  gap: 12px;
}

/* =========================
   PROJECT TYPE CARDS
========================= */
.ob-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 8px;
}

.ob-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  text-align: center;
}

.ob-card:hover {
  border-color: var(--secondary);
  background: hsl(217 46% 20% / 0.03);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.ob-card--selected {
  border-color: var(--primary);
  background: hsl(350 87% 42% / 0.04);
  box-shadow: 0 0 0 3px hsl(350 87% 42% / 0.12);
}

.ob-card__icon {
  font-size: 32px;
  color: var(--muted-foreground);
  transition: color 0.2s;
}

.ob-card--selected .ob-card__icon {
  color: var(--primary);
}

.ob-card__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--foreground);
}

.ob-card__sub {
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* =========================
   SERVICES CHECKBOX GRID
========================= */
.ob-check-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}

.ob-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: all 0.18s;
  position: relative;
  user-select: none;
}

.ob-check-item:hover {
  border-color: var(--secondary);
  background: hsl(217 46% 20% / 0.03);
}

.ob-check-item--checked {
  border-color: var(--primary);
  background: hsl(350 87% 42% / 0.05);
}

.ob-check-item__tick {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 9px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ob-check-item--checked .ob-check-item__tick {
  display: flex;
}

.ob-check-item__label {
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  line-height: 1.3;
  flex: 1;
}

/* =========================
   DEADLINE OPTIONS
========================= */
.ob-deadline-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 4px;
}

.ob-deadline-option {
  cursor: pointer;
  display: block;
}

.ob-deadline-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.ob-deadline-option__body {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  background: #fff;
  transition: all 0.18s;
}

.ob-deadline-option:hover .ob-deadline-option__body {
  border-color: var(--secondary);
  background: hsl(217 46% 20% / 0.02);
}

.ob-deadline-option input:checked + .ob-deadline-option__body {
  border-color: var(--primary);
  background: hsl(350 87% 42% / 0.04);
  box-shadow: 0 0 0 3px hsl(350 87% 42% / 0.1);
}

.ob-deadline-option__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ob-deadline-option__icon {
  font-size: 20px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  width: 24px;
  text-align: center;
  transition: color 0.18s;
}

.ob-deadline-option input:checked + .ob-deadline-option__body .ob-deadline-option__icon {
  color: var(--primary);
}

.ob-deadline-option__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ob-deadline-option__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.ob-deadline-option__desc {
  font-size: 12px;
  color: var(--muted-foreground);
}

.ob-deadline-option__check {
  font-size: 13px;
  color: var(--primary);
  opacity: 0;
  transition: opacity 0.18s;
}

.ob-deadline-option input:checked + .ob-deadline-option__body .ob-deadline-option__check {
  opacity: 1;
}

.ob-deadline-option__extra {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: none;
}

.ob-deadline-option input:checked + .ob-deadline-option__body .ob-deadline-option__extra {
  display: block;
}

/* =========================
   DIVIDER
========================= */
.ob-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 500;
}

.ob-divider::before,
.ob-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* =========================
   REVIEW CARD + ACCORDIONS
========================= */
.ob-review-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

/* Each accordion block */
.ob-ra {
  border-bottom: 1px solid var(--border);
}

.ob-ra:last-child {
  border-bottom: none;
}

/* Header button */
.ob-ra__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  background: #fafbfc;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}

.ob-ra__header:hover {
  background: #f4f6f9;
}

.ob-ra--contact .ob-ra__header {
  background: #fff;
}

.ob-ra__header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.ob-ra__icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: hsl(350 87% 42% / 0.08);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.ob-ra--contact .ob-ra__icon {
  background: hsl(217 46% 20% / 0.07);
  color: var(--secondary);
}

.ob-ra__title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--foreground);
  text-align: left;
}

.ob-ra__sub {
  display: block;
  font-size: 12px;
  color: var(--muted-foreground);
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ob-ra__chevron {
  font-size: 11px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.ob-ra--open .ob-ra__chevron {
  transform: rotate(180deg);
}

/* Body */
.ob-ra__body {
  display: none;
  border-top: 1px solid var(--border);
}

.ob-ra--open .ob-ra__body {
  display: block;
}

/* Review rows inside accordion body */
.ob-review-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
}

.ob-review-item:last-child {
  border-bottom: none;
}

.ob-review-item__icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  background: hsl(350 87% 42% / 0.07);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.ob-review-item__body {
  flex: 1;
  min-width: 0;
}

.ob-review-item__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 2px;
}

.ob-review-item__value {
  font-size: 13px;
  color: var(--foreground);
  font-weight: 500;
  line-height: 1.5;
}

/* =========================
   ADDED PROJECTS LIST
========================= */
.ob-added-projects {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.ob-added-project {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: hsl(350 87% 42% / 0.04);
  border: 1px solid hsl(350 87% 42% / 0.18);
  border-radius: 10px;
}

.ob-added-project__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: hsl(350 87% 42% / 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ob-added-project__info {
  flex: 1;
  min-width: 0;
}

.ob-added-project__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted-foreground);
  display: block;
  margin-bottom: 2px;
}

.ob-added-project__value {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ob-added-project__remove {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  font-size: 13px;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
  flex-shrink: 0;
}

.ob-added-project__remove:hover {
  color: var(--destructive);
  background: #fff5f5;
}

/* =========================
   ADD PROJECT CHOICE BUTTONS
========================= */
.ob-add-choice {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .ob-add-choice {
    flex-direction: row;
    align-items: stretch;
  }

  .ob-add-choice .ob-add-option {
    flex: 1;
  }
}

.ob-add-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: all 0.18s;
  font-family: inherit;
  text-align: left;
  width: 100%;
}

.ob-add-option:hover {
  border-color: var(--secondary);
  background: hsl(217 46% 20% / 0.03);
}

.ob-add-option--primary {
  border-color: var(--primary);
  background: hsl(350 87% 42% / 0.04);
}

.ob-add-option--primary:hover {
  background: hsl(350 87% 42% / 0.08);
}

.ob-add-option__icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #eaedf1;
  color: var(--muted-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ob-add-option--primary .ob-add-option__icon-wrap {
  background: hsl(350 87% 42% / 0.12);
  color: var(--primary);
}

.ob-add-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ob-add-option__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
}

.ob-add-option--primary .ob-add-option__label {
  color: var(--primary);
}

.ob-add-option__sub {
  font-size: 12px;
  color: var(--muted-foreground);
}


/* =========================
   FORM FIELDS
========================= */
.field-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.field-row:last-child {
  margin-bottom: 0;
}

.field-row.two {
  grid-template-columns: 1fr 1fr;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

label {
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: 0.1px;
  display: flex;
  align-items: center;
  gap: 6px;
}

label i {
  color: var(--muted-foreground);
  font-size: 12px;
  width: 14px;
  text-align: center;
}

label .opt {
  font-weight: 400;
  color: var(--muted-foreground);
  font-size: 12px;
  margin-left: 2px;
}

input,
select,
textarea {
  font-size: 14px;
  font-weight: 400;
  color: var(--foreground);
  background: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  outline: none;
  width: 100%;
  font-family: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #b0b7c0;
  font-weight: 400;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--secondary);
  background: #fff;
  box-shadow: 0 0 0 3px hsl(217 46% 20% / 0.07);
}

input[type="date"] {
  cursor: pointer;
}

/* Validation */
.field.error input,
.field.error select,
.field.error textarea {
  border-color: var(--destructive);
  background: #fff5f5;
}

.field-error-msg {
  font-size: 12px;
  color: var(--destructive);
  display: none;
  align-items: center;
  gap: 5px;
}

.field.error .field-error-msg {
  display: flex;
}

/* =========================
   FILE UPLOAD
========================= */
.file-drop {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--muted);
  position: relative;
  margin-bottom: 8px;
}

.file-drop:hover,
.file-drop.dragging {
  border-color: var(--secondary);
  background: hsl(217 46% 20% / 0.04);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-drop-icon {
  font-size: 30px;
  color: var(--muted-foreground);
  margin-bottom: 10px;
}

.file-drop-text {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
}

.file-drop-text strong {
  color: var(--secondary);
  font-weight: 600;
}

.file-drop-text span {
  font-size: 12px;
}

.file-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 4px;
}

.file-tag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #eaedf1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: var(--secondary);
}

.file-tag-name {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.file-tag-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-tag-size {
  font-size: 11px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  margin-left: 4px;
}

.file-tag-remove {
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  font-size: 15px;
  padding: 0 0 0 10px;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.15s;
}

.file-tag-remove:hover {
  color: var(--destructive);
}

.file-helper {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 8px;
  line-height: 1.5;
}

.file-helper i {
  flex-shrink: 0;
  margin-top: 1px;
}

/* =========================
   BUTTONS
========================= */
.ob-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  font-family: inherit;
  white-space: nowrap;
  text-decoration: none;
}

.ob-btn--primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.ob-btn--primary:hover:not(:disabled) {
  background: hsl(350 87% 38%);
  border-color: hsl(350 87% 38%);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px hsl(350 87% 42% / 0.28);
}

.ob-btn--outline {
  background: #fff;
  color: var(--foreground);
  border-color: var(--border);
}

.ob-btn--outline:hover:not(:disabled) {
  border-color: var(--secondary);
  color: var(--secondary);
}

.ob-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.ob-btn .ob-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.ob-btn--loading .ob-btn__text { display: none; }
.ob-btn--loading .ob-spinner { display: block; }

/* =========================
   ERROR BANNER
========================= */
.ob-error-banner {
  display: none;
  background: #fff5f5;
  border: 1px solid var(--destructive);
  border-radius: 10px;
  padding: 14px 18px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--destructive);
  line-height: 1.6;
}

.ob-error-banner.visible {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.link-inherit { color: inherit; }

/* =========================
   SUCCESS STEP
========================= */
.ob-step--success {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 48px;
  padding-bottom: 56px;
}

/* =========================
   UPLOAD PROGRESS STEP
========================= */
.ob-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0 48px;
  text-align: center;
}

.ob-upload__icon {
  font-size: 52px;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1;
  animation: ob-upload-pulse 1.6s ease-in-out infinite;
}

@keyframes ob-upload-pulse {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50%       { opacity: 0.6; transform: translateY(-4px); }
}

.ob-upload__sub {
  font-size: 14px;
  color: var(--muted-foreground);
  margin-bottom: 32px;
}

/* Per-file rows */
.ob-upload__files {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.ob-upload__file {
  background: #f7f8fa;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  text-align: left;
}

.ob-upload__file-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.ob-upload__file-head i {
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
}

.ob-upload__file-name {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ob-upload__file-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  min-width: 36px;
  text-align: right;
  flex-shrink: 0;
}

.ob-upload__file-track {
  height: 5px;
  background: #e4e7ec;
  border-radius: 99px;
  overflow: hidden;
}

.ob-upload__file-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 99px;
  transition: width 0.3s ease;
  width: 0%;
}

.ob-upload__file-fill--done {
  background: var(--success);
}

/* Overall bar */
.ob-upload__overall {
  width: 100%;
}

.ob-upload__overall-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted-foreground);
}

#uploadOverallPct {
  color: var(--primary);
}

.ob-upload__track {
  height: 8px;
  background: #e4e7ec;
  border-radius: 99px;
  overflow: hidden;
}

.ob-upload__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #5b9cf6);
  border-radius: 99px;
  transition: width 0.3s ease;
}

.ob-success__icon {
  font-size: 64px;
  color: var(--success);
  margin-bottom: 24px;
  line-height: 1;
}

.ob-success__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 14px;
}

.ob-success__text {
  font-size: 15px;
  color: var(--muted-foreground);
  line-height: 1.8;
  max-width: 400px;
  margin: 0 auto 24px;
  text-wrap: unset;
}

.ob-success__contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  margin-bottom: 32px;
}

.ob-success__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.ob-success__contact-link:hover {
  color: var(--primary);
}

.ob-success__contact-link i {
  font-size: 13px;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hidden { display: none !important; }

/* =========================
   INVOICE HEADER (REVIEW STEP)
========================= */
.ob-invoice-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 18px;
  background: linear-gradient(135deg, var(--primary) 0%, hsl(350 87% 28%) 100%);
}

.ob-invoice-header__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ob-invoice-header__brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}

.ob-invoice-header__brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ob-invoice-header__company {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.ob-invoice-header__tagline {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
}

.ob-invoice-header__info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.ob-invoice-header__badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ob-invoice-header__date {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ob-invoice-header__ref {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* =========================
   RECEIPT CARDS (REVIEW STEP)
========================= */
.ob-receipt-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: hsl(350 87% 42% / 0.05);
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--primary);
}

.ob-receipt-card {
  border-bottom: 1px dashed var(--border);
}

.ob-receipt-card:last-child {
  border-bottom: none;
}

.ob-receipt-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 22px 12px;
  background: #fafbfc;
}

.ob-receipt-card__head-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ob-receipt-card__actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.ob-receipt-card__num {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: var(--primary);
  padding: 3px 9px;
  border-radius: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.ob-receipt-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: hsl(350 87% 42% / 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.ob-receipt-card__nature {
  font-size: 14px;
  font-weight: 600;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ob-receipt-card__edit {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: none;
  border: 1.5px solid hsl(220 70% 50% / 0.3);
  border-radius: 6px;
  color: hsl(220 70% 42%);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.ob-receipt-card__edit:hover {
  background: hsl(220 70% 50% / 0.08);
  border-color: hsl(220 70% 50% / 0.55);
}

.ob-receipt-card__remove {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  background: none;
  border: 1.5px solid hsl(0 72% 51% / 0.25);
  border-radius: 6px;
  color: hsl(0 72% 51%);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}

.ob-receipt-card__remove:hover {
  background: hsl(0 72% 51% / 0.07);
  border-color: hsl(0 72% 51% / 0.5);
}

.ob-receipt-card__rows {
  padding: 4px 0;
}

.ob-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 9px 22px;
  border-bottom: 1px solid hsl(0 0% 0% / 0.04);
}

.ob-receipt-row:last-child {
  border-bottom: none;
}

.ob-receipt-row__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted-foreground);
  flex-shrink: 0;
  padding-top: 1px;
}

.ob-receipt-row__value {
  font-size: 13px;
  font-weight: 500;
  color: var(--foreground);
  text-align: right;
  line-height: 1.5;
  word-break: break-word;
}

/* =========================
   INVOICE FOOTER (REVIEW STEP)
========================= */
.ob-invoice-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: #f8f9fa;
  border-top: 1px solid var(--border);
}

.ob-invoice-footer__note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--muted-foreground);
  margin: 0;
}

.ob-invoice-footer__note i {
  color: var(--primary);
  font-size: 11px;
}

.ob-invoice-footer__total {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ob-invoice-footer__total-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--muted-foreground);
}

.ob-invoice-footer__total-value {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  background: hsl(350 87% 42% / 0.08);
  border-radius: 6px;
  padding: 2px 10px;
  min-width: 28px;
  text-align: center;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .ob-step { padding: 28px 24px 36px; }
  .ob-step__title { font-size: 22px; }
  .ob-check-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .ob-step { padding: 20px 16px 28px; }
  .ob-step__title { font-size: 20px; }
  .ob-card-grid { grid-template-columns: 1fr; gap: 10px; }
  .ob-card { flex-direction: row; text-align: left; padding: 14px 16px; gap: 14px; }
  .ob-card__icon { font-size: 22px; }
  .ob-check-grid { grid-template-columns: repeat(2, 1fr); }
  .field-row.two { grid-template-columns: 1fr; }
  .ob-step__nav { flex-direction: column-reverse; }
  .ob-btn { width: 100%; justify-content: center; }
}
