/* =========================================================
   2WAY BOOKING REVIEW SUMMARY
   Mobile-first, no external fonts or libraries
========================================================= */

.twm-review-summary,
.twm-review-summary * {
  box-sizing: border-box;
}

.twm-review-summary {
  width: 100%;
  max-width: 680px;
  margin: 26px auto 18px;
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  color: #111111;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  box-shadow: 0 16px 42px rgba(17, 24, 39, 0.12);
  -webkit-font-smoothing: antialiased;
}

.twm-review-header {
  padding: 17px 18px;
  background: #e5e7eb;
  color: #111827;
  border-bottom: 1px solid #d1d5db;
}

.twm-review-title {
  margin: 0;
  color: #111827;
  font-size: 23px;
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.02em;
}

.twm-review-body {
  padding: 16px;
}

.twm-review-spoken {
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 15px;
  background: #f8fafc;
}

.twm-review-spoken-label {
  margin-bottom: 5px;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.twm-review-spoken-shoot {
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.twm-review-spoken-date,
.twm-review-spoken-time {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111827;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.twm-review-spoken-date {
  margin-top: 10px;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 900;
}

.twm-review-spoken-time {
  margin-top: 4px;
  color: #1677ff;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.twm-review-spoken-date:focus,
.twm-review-spoken-time:focus {
  outline: 3px solid rgba(22, 119, 255, 0.2);
  outline-offset: 3px;
  border-radius: 5px;
}

.twm-review-time-reminder {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid #d1d5db;
  color: #4b5563;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.twm-review-section-title {
  margin: 20px 2px 9px;
  color: #111827;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.twm-review-row {
  width: 100%;
  min-height: 60px;
  margin: 0 0 7px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.04);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, background 0.16s ease;
}

.twm-review-row:hover,
.twm-review-row:focus {
  border-color: #1677ff;
  outline: none;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.12);
}

.twm-review-row:active {
  transform: scale(0.985);
}

.twm-review-row.is-missing {
  border-color: #ef4444;
  background: #fff7f7;
}

.twm-review-row-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #f3f4f6;
  font-size: 18px;
  line-height: 1;
}

.twm-review-row-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.twm-review-row-label {
  color: #6b7280;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 750;
}

.twm-review-row-value {
  overflow-wrap: anywhere;
  color: #111111;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 800;
}

.twm-review-row.is-missing .twm-review-row-value {
  color: #b91c1c;
}


.twm-review-choice-section {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f9fafb;
}

.twm-review-choice-heading {
  margin-bottom: 10px;
  color: #111827;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 850;
  cursor: pointer;
}

.twm-review-media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.twm-review-media-card {
  width: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 2px solid #dbeafe;
  border-radius: 13px;
  background: #ffffff;
  color: #111111;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.06);
  -webkit-tap-highlight-color: transparent;
}

.twm-review-media-card:focus {
  outline: 3px solid rgba(22, 119, 255, 0.22);
}

.twm-review-media-card img {
  width: 100%;
  height: 112px;
  display: block;
  object-fit: cover;
  background: #f3f4f6;
}

.twm-review-media-name {
  min-height: 44px;
  padding: 7px 8px;
  display: flex;
  align-items: center;
  overflow-wrap: anywhere;
  color: #111111;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.twm-review-list-box {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #ffffff;
  color: #111111;
  text-align: left;
  cursor: pointer;
}

.twm-review-list-action {
  margin-top: 8px;
  display: block;
  color: #1677ff;
  font-size: 12px;
  font-weight: 800;
}

.twm-review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.twm-review-chip {
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #0b4ea2;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
  overflow-wrap: anywhere;
}











.twm-review-flash-target {
  animation: twm-review-target-flash 1.1s ease;
  outline: 4px solid rgba(22, 119, 255, 0.25) !important;
  outline-offset: 4px;
  border-radius: 8px;
}

.twm-review-attention {
  animation: twm-review-attention 0.75s ease;
}

@keyframes twm-review-target-flash {
  0%,
  100% {
    outline-color: rgba(22, 119, 255, 0);
  }
  30%,
  65% {
    outline-color: rgba(22, 119, 255, 0.45);
  }
}

@keyframes twm-review-attention {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  50% {
    transform: translateX(5px);
  }
  75% {
    transform: translateX(-3px);
  }
}

@media (max-width: 560px) {
  .twm-review-summary {
    margin-top: 20px;
    border-radius: 17px;
  }

  .twm-review-header {
    padding: 15px 14px;
  }

  .twm-review-title {
    font-size: 21px;
  }

  .twm-review-body {
    padding: 10px;
  }

  .twm-review-spoken {
    padding: 12px;
  }

  .twm-review-spoken-date {
    font-size: 18px;
  }

  .twm-review-spoken-time {
    font-size: 17px;
  }

  .twm-review-row {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    min-height: 58px;
    padding: 9px 10px;
  }

  .twm-review-row-icon {
    width: 34px;
    height: 34px;
  }


  .twm-review-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .twm-review-media-card img {
    height: 128px;
  }

  .twm-review-media-name {
    min-height: 42px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .twm-review-media-card img {
    height: 112px;
  }

  .twm-review-row-value {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .twm-review-row,
  .twm-review-attention,
  .twm-review-flash-target {
    animation: none !important;
    transition: none !important;
  }
}
