.dup-container {
  max-width: 1080px;
}

.dup-alert {
  background: #eefaf7;
  border: 1px solid #b9e5dc;
  border-left: 5px solid #0f8a78;
  border-radius: 8px;
  color: #123f3a;
  font-weight: 500;
  line-height: 1.55;
  margin: 0 0 18px;
  padding: 14px 16px;
}

.dup-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: 290px minmax(0, 1fr);
  margin-top: 20px;
}

.dup-panel,
.dup-id-card {
  border: 1px solid #d8e3ee;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 42, 67, .08);
}

.dup-panel {
  align-self: start;
  background: #f8fafc;
  padding: 20px;
}

.dup-panel-icon {
  align-items: center;
  background: linear-gradient(135deg, #0f766e, #102a43);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-size: 1.45rem;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  letter-spacing: 1px;
  margin-bottom: 14px;
  width: 64px;
}

.dup-panel h2 {
  color: #102a43;
  font-size: 1.25rem;
  margin: 0 0 16px;
}

.dup-control {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.dup-control span {
  color: #334155;
  font-weight: 700;
}

.dup-control select {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #0f172a;
  font-size: 1rem;
  min-height: 42px;
  padding: 9px 10px;
}

#dup-generate {
  font-weight: 700;
  width: 100%;
}

.dup-id-card {
  background:
    linear-gradient(135deg, rgba(15, 118, 110, .1), rgba(245, 158, 11, .08)),
    #fff;
  overflow: hidden;
}

.dup-card-head {
  align-items: center;
  background: linear-gradient(135deg, #102a43, #0f766e);
  color: #fff;
  display: flex;
  gap: 18px;
  padding: 22px;
}

.dup-avatar {
  align-items: center;
  background: #fff;
  border-radius: 50%;
  color: #0f766e;
  display: flex;
  flex: 0 0 82px;
  font-size: 1.65rem;
  font-weight: 800;
  height: 82px;
  justify-content: center;
  text-transform: uppercase;
  width: 82px;
}

.dup-badge {
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 8px;
  padding: 5px 10px;
}

.dup-card-head h2 {
  color: #fff;
  font-size: 1.85rem;
  line-height: 1.2;
  margin: 0 0 5px;
}

.dup-card-head p {
  color: #dcefed;
  margin: 0;
}

.dup-profile-number {
  align-items: center;
  background: #fffaf0;
  border-bottom: 1px solid #f3dfb1;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 16px 22px;
}

.dup-profile-number span,
.dup-field span {
  color: #64748b;
  display: block;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.dup-profile-number strong {
  color: #102a43;
  font-family: Arial, sans-serif;
  font-size: 1.05rem;
  letter-spacing: .03em;
}

.dup-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 18px;
}

.dup-field {
  background: rgba(255, 255, 255, .82);
  border: 1px solid #dbe3ef;
  border-radius: 8px;
  min-height: 82px;
  padding: 14px;
}

.dup-field strong {
  color: #1f2937;
  display: block;
  font-size: 1rem;
  line-height: 1.45;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

@media (max-width: 860px) {
  .dup-layout {
    grid-template-columns: 1fr;
  }

  .dup-panel {
    display: grid;
    gap: 14px;
  }

  .dup-fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .dup-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .dup-profile-number {
    align-items: flex-start;
    flex-direction: column;
  }
}
