/* coverage.css - Step 2 layout & right sidebar summary styling */
.flb-step {
  max-width: 1200px;
  margin: 34px auto;
  padding: 0 16px
}

.flb-step__header {
  margin-bottom: 16px
}

.flb-step__header h2 {
  margin: 0 0 10px;
  font-size: var(--flb-fz-h1);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

.flb-step__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 18px
}

@media(max-width:980px) {
  .flb-step__grid {
    grid-template-columns: 1fr
  }
}

.flb-box {
  background: #fff;
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  padding: 18px;
  box-shadow: var(--flb-shadow);
  margin-bottom: 16px;
}

.flb-box h3 {
  margin: 0 0 12px;
  font-size: var(--flb-fz-h2);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

.flb-summary {
  background: var(--flb-summary-bg, #fff);
  border: 1px solid var(--flb-border);
  border-radius: var(--flb-radius);
  padding: 18px;
  box-shadow: var(--flb-shadow);
  position: sticky;
  top: 18px;
}

.flb-summary h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--flb-text);
}

.flb-summary-total {
  font-size: 13px;
  color: var(--flb-text);
  font-weight: 800;
  margin: 6px 0 14px;
}

.flb-summary-total strong {
  font-size: 16px;
  font-weight: 900
}

.flb-summary-car {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px
}

.flb-summary-car img {
  width: 110px;
  height: auto;
  border-radius: 14px;
  background: #f3f4f6;
  border: 1px solid #eef2f7
}

.flb-summary-carname {
  font-weight: 900;
  font-size: 16px;
  color: var(--flb-text)
}

.flb-summary-days {
  color: var(--flb-muted);
  font-weight: 800;
  font-size: 12px;
  margin-top: 2px
}

.flb-srow {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 10px
}

.flb-sico {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: var(--flb-soft);
  border: 1px solid var(--flb-border);
  display: grid;
  place-items: center;
  color: var(--flb-accent);
  font-size: 16px;
  flex: 0 0 auto;
}

.flb-sico svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.flb-slabel {
  color: var(--flb-muted);
  font-weight: 900;
  font-size: 12px;
  margin-bottom: 2px
}

.flb-sval {
  color: var(--flb-text);
  font-weight: 800;
  line-height: 1.25;
  font-size: 13px
}

.flb-hr {
  height: 1px;
  background: var(--flb-border);
  margin: 14px 0
}

.flb-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  font-weight: 800;
  color: var(--flb-text);
  font-size: 13px;
}

.flb-summary-line span {
  color: #334155;
  font-weight: 800
}

.flb-summary-line strong {
  font-weight: 900
}

.flb-summary-line--grand {
  font-size: 14px;
  margin-top: 12px;
}

.flb-totalbar {
  margin-top: 14px;
  background: var(--flb-soft2);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 14px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 900;
}

.flb-totalbar .tlabel {
  font-size: 16px;
  color: var(--flb-text);
  font-weight: 900
}

.flb-totalbar .tval {
  font-size: 22px;
  color: var(--flb-accent);
  letter-spacing: -.02em
}

.flb-totalbar .tunit {
  font-size: 13px;
  color: var(--flb-text);
  font-weight: 900
}

.flb-actions-row {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 12px;
}

.flb-step .flb-btn {
  border-radius: 14px;
  min-width: 180px;
  box-shadow: 0 12px 24px rgba(225, 0, 0, .18);
  border: none;
  padding: 12px 24px;
  background: var(--flb-primary);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.flb-step .flb-btn-ghost {
  border-radius: 14px;
  min-width: 180px;
  border: 1px solid var(--flb-border);
  background: #fff;
  color: var(--flb-text);
  font-weight: 800;
  padding: 12px 24px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media(max-width:640px) {
  .flb-actions-row {
    flex-direction: column
  }

  .flb-btn,
  .flb-btn-ghost {
    width: 100%
  }
}
