.route-card-actions .route-duplicate-btn,
.table-actions .route-duplicate-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.route-card-actions .route-duplicate-btn::before,
.table-actions .route-duplicate-btn::before {
  content: "⧉";
  font-size: 1.05em;
  line-height: 1;
}

.route-duplicate-modal {
  width: min(720px, 96vw);
  border: 1px solid rgba(24, 137, 98, .18);
  background:
    radial-gradient(circle at 100% 0, rgba(39, 174, 121, .10), transparent 36%),
    #fff;
}

.route-duplicate-source-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 17px 18px;
  border: 1px solid #dce7e3;
  border-radius: 18px;
  background: rgba(247, 251, 249, .9);
}

.route-duplicate-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #e7f8f0;
  color: #147a57;
  font-size: 1.55rem;
  font-weight: 900;
}

.route-duplicate-source-card div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.route-duplicate-source-card small {
  color: #6b7a90;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.route-duplicate-source-card strong {
  overflow: hidden;
  color: #10182b;
  font-size: 1.08rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.route-duplicate-source-card span:last-child {
  color: #64748b;
  font-size: .92rem;
}

.route-duplicate-safety-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-duplicate-safety-grid > div {
  display: grid;
  align-content: start;
  gap: 5px;
  min-height: 112px;
  padding: 15px;
  border: 1px solid #e1e8ee;
  border-radius: 16px;
  background: #fbfcfd;
}

.route-duplicate-safety-grid strong {
  color: #173a31;
  font-size: .94rem;
}

.route-duplicate-safety-grid span {
  color: #64748b;
  font-size: .84rem;
  line-height: 1.45;
}

#confirmRouteDuplicateBtn[disabled] {
  cursor: wait;
  opacity: .7;
}

@media (max-width: 720px) {
  .route-duplicate-safety-grid { grid-template-columns: 1fr; }
  .route-duplicate-safety-grid > div { min-height: 0; }
  .route-card-actions .route-duplicate-btn { order: 3; }
}
