/* S2B_HISTORY_VIEWMODE_LAYOUT_20260817 */

.s2b-history-node-layout {
  --s2b-h-navy: #1e2b3a;
  --s2b-h-muted: #667085;
  --s2b-h-border: rgba(30,43,58,.10);
  --s2b-h-soft: #f7f9fc;
}

/*
 * De historiepagina is publiek/informatief.
 * Geen beheer- of upload-CTA's.
 */
.s2b-history-node-layout
.s2b-node-photo-upload-title-btn,

.s2b-history-node-layout
.s2b-old-photo-recent-upload,

.s2b-history-node-layout
.s2b-node-empty-photo-cta,

.s2b-history-node-layout
.s2b-node-ad {
  display: none !important;
}

.s2b-history-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 24px;
}

.s2b-history-content
.section-card {
  width: 100%;
  margin: 0;
}

.s2b-history-spec-card {
  overflow: hidden;
}

.s2b-history-spec-card
.table-schepen {
  margin-bottom: 0;
}

.s2b-history-sale-card,
.s2b-history-mutations-card {
  padding: clamp(20px,4vw,30px);
}

.s2b-history-block-head {
  margin-bottom: 18px;
}

.s2b-history-block-head
.section-hdr {
  margin: 4px 0 0;
}

.s2b-history-block-head p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--s2b-h-muted);
  font-size: 14px;
  line-height: 1.55;
}

.s2b-history-eyebrow {
  display: block;
  color: #7c8795;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Verkoopmeta */

.s2b-history-meta-grid {
  display: grid;
  grid-template-columns:
    repeat(3,minmax(0,1fr));
  gap: 12px;
}

.s2b-history-meta-item {
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--s2b-h-border);
  border-radius: 15px;
  background: var(--s2b-h-soft);
}

.s2b-history-meta-item > span {
  display: block;
  margin-bottom: 5px;
  color: #7a8492;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.s2b-history-meta-item > strong {
  display: block;
  color: var(--s2b-h-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.s2b-history-meta-item > small {
  display: block;
  margin-top: 4px;
  color: #8c96a4;
  font-size: 11px;
  line-height: 1.35;
}

/* Tijdlijn */

.s2b-history-timeline {
  position: relative;
  margin-top: 25px;
}

.s2b-history-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 95px;
  width: 2px;
  background: #d8e0e8;
}

.s2b-history-state {
  position: relative;
  display: grid;
  grid-template-columns:
    76px
    minmax(0,1fr);
  gap: 38px;
  padding-bottom: 23px;
}

.s2b-history-state:last-child {
  padding-bottom: 0;
}

.s2b-history-state::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 89px;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #98a4b1;
  box-shadow:
    0 0 0 2px #d3dce5;
}

.s2b-history-state.is-current::before {
  background: var(--s2b-h-navy);
}

.s2b-history-state-date {
  padding-top: 3px;
  text-align: right;
}

.s2b-history-state-date strong {
  display: block;
  color: var(--s2b-h-navy);
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.s2b-history-state-date span {
  display: block;
  margin-top: 3px;
  color: #8c96a4;
  font-size: 11px;
}

.s2b-history-state-body {
  padding: 18px;
  border: 1px solid var(--s2b-h-border);
  border-radius: 17px;
  background: #fbfcfe;
}

.s2b-history-state.is-current
.s2b-history-state-body {
  border-color:
    rgba(30,43,58,.20);

  background:
    linear-gradient(
      180deg,
      #f5f8fb,
      #fafcff
    );
}

.s2b-history-state-badge {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9eef4;
  color: var(--s2b-h-navy);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.s2b-history-state.is-current
.s2b-history-state-badge {
  background: var(--s2b-h-navy);
  color: #fff;
}

.s2b-history-state-row {
  display: grid;
  grid-template-columns:
    minmax(110px,.42fr)
    minmax(0,1fr);
  gap: 14px;
  padding: 9px 0;
  border-bottom:
    1px solid rgba(30,43,58,.07);
}

.s2b-history-state-row:last-child {
  border-bottom: 0;
}

.s2b-history-state-row span {
  color: #7a8492;
  font-size: 13px;
  font-weight: 700;
}

.s2b-history-state-row strong {
  color: var(--s2b-h-navy);
  font-size: 15px;
  font-weight: 800;
}

.s2b-history-empty {
  padding: 17px;
  border: 1px dashed #ccd5df;
  border-radius: 15px;
  background: #fafcff;
  color: var(--s2b-h-muted);
}

/* Tablet */

@media (max-width: 900px) {
  .s2b-history-meta-grid {
    grid-template-columns:
      repeat(2,minmax(0,1fr));
  }
}

/* Mobiel */

@media (max-width: 650px) {
  .s2b-history-content {
    gap: 18px;
    margin-top: 18px;
  }

  .s2b-history-meta-grid {
    grid-template-columns: 1fr;
  }

  .s2b-history-sale-card,
  .s2b-history-mutations-card {
    padding: 17px;
  }

  .s2b-history-timeline::before {
    left: 13px;
  }

  .s2b-history-state {
    grid-template-columns: 1fr;
    gap: 7px;
    padding-left: 35px;
  }

  .s2b-history-state::before {
    left: 7px;
  }

  .s2b-history-state-date {
    text-align: left;
  }

  .s2b-history-state-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .s2b-history-state-body {
    padding: 15px;
  }
}

/* S2B_HISTORY_BOTTOM_ACTIONS_STYLE_20260817 */

.s2b-history-contribute-card {
  padding: clamp(20px,4vw,30px);
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f7f9fc 100%
    );
}

.s2b-history-contribute-head {
  max-width: 800px;
  margin-bottom: 20px;
}

.s2b-history-contribute-head
.section-hdr {
  margin: 4px 0 0;
}

.s2b-history-contribute-head p {
  margin: 9px 0 0;
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.s2b-history-contribute-grid {
  display: grid;
  grid-template-columns:
    repeat(2,minmax(0,1fr));
  gap: 14px;
}

.s2b-history-contribute-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px;
  border:
    1px solid rgba(30,43,58,.10);
  border-radius: 18px;
  background: #fff;
}

.s2b-history-contribute-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: #eef3f8;
  color: #1e2b3a;
  font-size: 19px;
}

.s2b-history-contribute-copy {
  flex: 1 1 auto;
}

.s2b-history-contribute-copy h4 {
  margin: 0;
  color: #1e2b3a;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.s2b-history-contribute-copy p {
  margin: 7px 0 18px;
  color: #667085;
  font-size: 14px;
  line-height: 1.55;
}

.s2b-history-contribute-btn {
  width: 100%;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 750;
  text-align: center;
}

@media (max-width: 700px) {
  .s2b-history-contribute-grid {
    grid-template-columns: 1fr;
  }

  .s2b-history-contribute-card {
    padding: 17px;
  }

  .s2b-history-contribute-item {
    padding: 17px;
  }
}


/* S2B_SOLD_PROFILE_ACTION_PARITY_20260826
   Vul aan exact dezelfde ronde pill als verkoopprofiel. */
.s2b-history-node-layout .s2b-profile-action--missing {
  border-radius: 999px !important;
}
/* /S2B_SOLD_PROFILE_ACTION_PARITY_20260826 */
