*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Roboto", sans-serif;
  background: radial-gradient(
      circle at 100% 0%,
      rgba(255, 80, 80, 0.14),
      transparent 27%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(255, 80, 80, 0.18),
      transparent 36%
    ),
    linear-gradient(90deg, #f2f0f0 0%, #f2eeee 48%, #f3dddd 100%);
  color: #1a1a1a;
  overflow-x: hidden;
}

.export-page-shell {
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

.top-nav {
  padding: 16px 24px;
  max-width: 100%;
  margin: 0;
}

.export-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 32px 36px;
}

.page-heading {
  margin: 10px 0 26px;
}

.page-heading h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 70px;
  line-height: 0.8;
  font-weight: 700;
  color: #bf1a1a;
  letter-spacing: -1.1px;
  margin-top: 70px;
}

.page-heading p {
  font-weight: 300;
  font-size: 20px;
  margin-top: -10px;
  line-height: 2;
}

.export-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.panel {
  min-width: 0;
  width: 100%;
  background: #f6f6f6;
  border-radius: 30px;
  box-shadow: 10px 10px 0 rgba(74, 52, 52, 0.14);
}

.format-panel,
.selection-panel {
  min-height: 330px;
  height: 100%;
  padding: 14px 24px 24px;
}

.format-panel,
.selection-panel {
  max-width: none;
}

.section-heading {
  text-align: center;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  display: inline-block;
  position: relative;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
  color: #111111;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  bottom: -5px;
  height: 5px;
  border-radius: 999px;
  background: #a81010;
}

.section-heading p {
  margin: 8px 0 0;
  font-size: 14px;
  color: #5e5e5e;
}

.format-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.format-card {
  display: block;
  border: 1.5px solid #e34949;
  border-radius: 18px;
  background: #f8f8f8;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.format-card:hover {
  background: #fff7f7;
  border-color: #cf2f2f;
  box-shadow: 0 3px 10px rgba(201, 41, 41, 0.08);
}

.format-card.selected {
  background: #fff2f2;
}

.format-card input {
  display: none;
}

.format-card-content {
  min-height: 66px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.format-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.format-text strong {
  font-size: 16px;
  font-weight: 700;
  color: #202020;
}

.format-text span {
  font-size: 12px;
  line-height: 1.2;
  color: #555555;
}

.format-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #d58d6f;
  color: #d58d6f;
  font-size: 14px;
  font-weight: 700;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.format-card.selected .format-check {
  display: flex;
  animation: fadeInCheck 0.18s ease;
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #161616;
}

.date-select-wrap {
  position: relative;
  height: 36px;
  border: 1.5px solid #c92929;
  border-radius: 999px;
  background: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.date-icon-box {
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.date-icon-box img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.date-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  outline: none;
  cursor: pointer;
  padding: 0 54px 0 2px;
  font-size: 13px;
  font-weight: 500;
  color: #151515;
}

.date-select-arrow {
  position: absolute;
  right: 6px;
  width: 24px;
  height: 22px;
  border-radius: 8px;
  background: #000000;
  color: #ffffff;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.selection-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
  max-width: 460px;
}

.selection-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.selection-item input {
  display: none;
}

.fake-box {
  width: 11px;
  height: 11px;
  margin-top: 4px;
  flex-shrink: 0;
  border: 1.5px solid #a76a6a;
  background: #ffffff;
  transition: background 0.16s ease;
}

.selection-item input:checked + .fake-box {
  background: #e8bdbd;
}

.selection-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.selection-copy strong {
  font-size: 16px;
  font-weight: 700;
  color: #222222;
}

.selection-copy small {
  margin-top: 3px;
  font-size: 14px;
  color: #676767;
}

.summary-panel {
  padding: 16px 20px 20px;
  margin: 8px 0 20px;
}

.summary-heading {
  margin-bottom: 14px;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0 10px 8px;
}

.summary-card {
  min-height: 62px;
  border-radius: 19px;
  background: #f1e4e4;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  box-shadow: 0 4px 0 rgba(85, 64, 64, 0.12);
}

.summary-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #efbebe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.summary-icon img {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.summary-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.summary-value {
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
  line-height: 1.05;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-value span {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.compliance-strip {
  width: 100%;
  background: #f9f9f9;
  border-radius: 24px;
  box-shadow: 8px 8px 0 rgba(74, 52, 52, 0.14);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  margin: 0 0 20px;
}

.strip-accent {
  width: 28px;
  background: linear-gradient(180deg, #ff1b1b 0%, #e21313 100%);
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
  margin: 6px 0 6px 6px;
  flex-shrink: 0;
}

.strip-copy {
  padding: 13px 16px 12px 6px;
}

.strip-copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
  color: #454545;
  max-width: 1020px;
  font-family: 'Roboto',sans-serif;
}

.export-action {
  display: flex;
  justify-content: flex-end;
  padding-right: 0;
  margin-top: 14px;
}

.export-action button {
  min-width: 128px;
  height: 34px;
  border: 4px solid #c82626;
  border-radius: 999px;
  background: #ffffff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #111111;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(76, 53, 53, 0.14);
  transition: background 0.16s ease, box-shadow 0.16s ease;
}

.export-action button:hover {
  background: #fff7f7;
  box-shadow: 0 7px 14px rgba(76, 53, 53, 0.12);
}

.export-action button:active {
  background: #fff1f1;
  box-shadow: 0 3px 0 rgba(76, 53, 53, 0.14);
}

@keyframes fadeInCheck {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .format-card,
  .export-action button,
  .format-check {
    transition: none;
    animation: none;
  }
}

@media (max-width: 1280px) {
  .export-top-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .format-panel {
    max-width: none;
  }

  .selection-list {
    max-width: none;
  }

  .summary-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .format-options {
    grid-template-columns: 1fr;
  }

  .page-heading h1 {
    font-size: 44px;
  }

  .export-page {
    padding: 0 16px 20px;
  }

  .page-heading {
    margin-left: 6px;
  }
}