/*
 * File: log-delivery-proof-extra.css
 * Delivery Proof Part 2 � Section wrap, records header, cards grid,
 * load more, notification bar, back-to-top.
 * Scoped under body.log-delivery-proof-page
 */

/* -- 1. SECTION WRAP -- */
body.log-delivery-proof-page .section-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* -- 2. RECORDS HEAD -- */
body.log-delivery-proof-page .records-head {
  padding: 72px 0 40px;
}

body.log-delivery-proof-page .rh-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

body.log-delivery-proof-page .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--plum-700);
  margin-bottom: 14px;
}

body.log-delivery-proof-page .eyebrow::before {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--sage-600);
  flex-shrink: 0;
}

body.log-delivery-proof-page .section-h2 {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink-900);
}

body.log-delivery-proof-page .section-h2 em {
  font-style: italic;
  color: var(--plum-700);
}

body.log-delivery-proof-page .section-sub {
  font-size: 14.5px;
  color: var(--gray-600);
  margin: 0px;
  margin-top: 10px;
  max-width: 500px;
  line-height: 1.65;
}

body.log-delivery-proof-page .rh-count {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  white-space: nowrap;
  padding-bottom: 4px;
}

body.log-delivery-proof-page .rh-count span {
  color: var(--plum-700);
}

body.log-delivery-proof-page .filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

body.log-delivery-proof-page .filter-btn {
  padding: 9px 18px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 700;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink-700);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s var(--ease);
}

body.log-delivery-proof-page .filter-btn:hover {
  border-color: var(--plum-700);
  color: var(--plum-700);
}

body.log-delivery-proof-page .filter-btn.active {
  background: linear-gradient(135deg, var(--plum-800), var(--plum-700));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(122, 31, 110, 0.25);
}

/* -- 3. CARDS GRID -- */
body.log-delivery-proof-page .cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

body.log-delivery-proof-page .tracking-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}

body.log-delivery-proof-page .tracking-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

body.log-delivery-proof-page .tracking-card.hidden {
  display: none !important;
}

/* Card chrome */
body.log-delivery-proof-page .tc-chrome {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

body.log-delivery-proof-page .tc-dots {
  display: flex;
  gap: 4px;
}

body.log-delivery-proof-page .tc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

body.log-delivery-proof-page .tc-dot:nth-child(1) {
  background: #ff5f57;
}

body.log-delivery-proof-page .tc-dot:nth-child(2) {
  background: #febc2e;
}

body.log-delivery-proof-page .tc-dot:nth-child(3) {
  background: #28c840;
}

body.log-delivery-proof-page .tc-url-bar {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 10.5px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card body */
body.log-delivery-proof-page .tc-body {
  padding: 16px 18px;
}

body.log-delivery-proof-page .tc-usps-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

body.log-delivery-proof-page .tc-usps-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--ink-900);
}

body.log-delivery-proof-page .tc-usps-badge {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1a1e5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

body.log-delivery-proof-page .tc-verified-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #22c55e;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: var(--r-pill);
}

body.log-delivery-proof-page .tc-verified-tag .icon {
  width: 9px;
  height: 9px;
  stroke-width: 2.5;
}

body.log-delivery-proof-page .tc-tn-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 3px;
}

body.log-delivery-proof-page .tc-tn-num {
  font-size: 12px;
  font-weight: 700;
  color: #1a5fb4;
  margin-bottom: 10px;
  word-break: break-all;
}

body.log-delivery-proof-page .tc-update {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
  border-radius: 0 8px 8px 0;
  padding: 9px 12px;
  margin-bottom: 10px;
}

body.log-delivery-proof-page .tc-upd-badge {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

body.log-delivery-proof-page .tc-upd-text {
  font-size: 11.5px;
  color: var(--ink-700);
  line-height: 1.5;
}

/* Delivered row */
body.log-delivery-proof-page .tc-delivered {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

body.log-delivery-proof-page .tc-del-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #22c55e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

body.log-delivery-proof-page .tc-del-circle .icon {
  width: 10px;
  height: 10px;
  color: #fff;
  stroke-width: 2.5;
}

body.log-delivery-proof-page .tc-del-title {
  font-size: 12px;
  font-weight: 800;
  color: #16a34a;
  margin-bottom: 2px;
}

body.log-delivery-proof-page .tc-del-type {
  font-size: 11px;
  font-weight: 700;
  color: #15803d;
}

body.log-delivery-proof-page .tc-del-location {
  font-size: 11px;
  color: var(--ink-700);
}

body.log-delivery-proof-page .tc-del-time {
  font-size: 10.5px;
  color: var(--gray-600);
}

body.log-delivery-proof-page .tc-cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-700);
}

/* -- 4. LOAD MORE -- */
body.log-delivery-proof-page .load-more-row {
  text-align: center;
  padding: 8px 0 16px;
}

body.log-delivery-proof-page .load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink-700);
  font-size: 13.5px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--r-pill);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.25s var(--ease);
}

body.log-delivery-proof-page .load-more-btn:hover {
  border-color: var(--plum-700);
  color: var(--plum-700);
  box-shadow: var(--shadow-sm);
}

body.log-delivery-proof-page .load-more-btn .icon {
  width: 15px;
  height: 15px;
}

/* -- 5. NOTIFICATION BAR -- */
body.log-delivery-proof-page .notif-bar {
  background: var(--plum-950);
  border-top: 1px solid rgba(94, 238, 192, 0.12);
  overflow: hidden;
  display: flex;
  margin-top: 80px;
}

body.log-delivery-proof-page .notif-track-wrap {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

body.log-delivery-proof-page .notif-track {
  display: inline-flex;
  align-items: center;
  animation: dpNotifScroll 36s linear infinite;
}

body.log-delivery-proof-page .notif-track:hover {
  animation-play-state: paused;
}

body.log-delivery-proof-page .notif-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 38px;
  font-size: 12.5px;
  font-weight: 700;
  color: #c6b3bc;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

body.log-delivery-proof-page .notif-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--sage-500);
  flex-shrink: 0;
}

body.log-delivery-proof-page .notif-keyword {
  color: var(--sage-400);
  font-weight: 800;
}

@keyframes dpNotifScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* -- 6. BACK TO TOP -- */
body.log-delivery-proof-page .to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--plum-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  z-index: 90;
  cursor: pointer;
  border: none;
}

body.log-delivery-proof-page .to-top.show {
  opacity: 1;
  transform: translateY(0);
}

body.log-delivery-proof-page .to-top:hover {
  background: var(--sage-500);
  color: var(--plum-950);
}

body.log-delivery-proof-page .to-top .icon {
  width: 17px;
  height: 17px;
}