.list-upload-source-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.list-upload-source-tabs {
  margin: 0 auto;
  border: 1px solid #d8e0ea;
  background: #eaf0f7;
  border-radius: 0.75rem;
  padding: 0.25rem;
  gap: 0.25rem;
}

.list-upload-source-tabs .nav-item {
  margin-bottom: 0;
}

.list-upload-source-tabs .nav-link {
  border: 0;
  border-radius: 0.55rem;
  color: #4f627a;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
}

.list-upload-source-tabs .nav-link.active {
  background: #ffffff;
  color: #1f2d3d;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.list-upload-source-content {
  width: 100%;
  margin-top: 0.9rem;
  border: 1px solid #dfe7f0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(37, 54, 84, 0.06);
}

.upload-source-pane {
  min-height: 640px;
  background: #f8fbff;
}

.saved-lists-shell {
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.4rem;
}

.saved-lists-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  border-bottom: 1px solid #e5edf6;
  padding-bottom: 0.85rem;
  margin-bottom: 0.85rem;
}

.list-upload-tab-header {
  margin-bottom: 0.9rem;
}

.saved-lists-header-main h5 {
  color: #243449;
  font-size: 2rem;
}

.saved-lists-count-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: #415a77;
  background: #e6edf6;
  border: 1px solid #d5e0ee;
  border-radius: 0.45rem;
  padding: 0.15rem 0.55rem;
  vertical-align: middle;
  margin-left: 0.45rem;
}

.saved-lists-manage-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2d3d;
  white-space: nowrap;
}

.saved-lists-header-main p {
  color: #67809f;
  font-size: 1.04rem;
}

.saved-lists-note {
  margin-top: 0.9rem;
  border: 1px solid #f0d88f;
  background: #fff8e5;
  border-radius: 0.55rem;
  color: #6e5a20;
  font-size: 0.87rem;
  padding: 0.58rem 0.78rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.saved-lists-note-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #d9b55f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.72rem;
}

.saved-lists-divider {
  border-top: 1px solid #e3eaf3;
  margin: 1rem -1.2rem 1rem;
}

.saved-lists-kicker-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.saved-lists-kicker {
  color: #8ca0ba;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.saved-lists-status {
  font-size: 0.84rem;
  color: #8ca0ba;
}

.saved-lists-ready-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.saved-ready-card {
  border: 1px solid #d4dde9;
  border-radius: 0.78rem;
  background: #ffffff;
  min-height: 198px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.85rem 0.95rem;
}

.saved-ready-card.is-selected {
  border: 2px solid #2f3f54;
}

.saved-ready-title-row {
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
  margin-bottom: 0.4rem;
}

.saved-ready-title-row h6 {
  color: #202e40;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
}

.saved-ready-bottom {
  border-top: 1px solid #edf1f6;
  margin-top: 1rem;
  padding-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.saved-ready-count {
  font-size: 0.9rem;
  color: #3e4f63;
}

.saved-list-use-btn {
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 0.5rem;
  min-width: 116px;
}

.saved-list-use-btn.is-selected {
  border-color: #2f3f54;
  background: #2f3f54;
  color: #ffffff;
}

.saved-ready-empty-slot {
  border: 2px dashed #cdd9e7;
  border-radius: 0.78rem;
  background: #f9fbfe;
  min-height: 198px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

.saved-ready-empty-slot h6 {
  color: #304357;
  margin: 0.35rem 0;
  font-size: 1rem;
}

.saved-ready-empty-slot p {
  color: #758ca7;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
}

.saved-ready-empty-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #d8e3ef;
  color: #9db0c6;
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.saved-lists-ready-grid--empty {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.saved-list-placeholder-card {
  border: 1px dashed #cfd8e3;
  background: #f1f4f8;
  border-radius: 0.75rem;
  min-height: 144px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #a8b3c1;
  font-size: 0.9rem;
  padding: 0.9rem;
}

.saved-lists-strategies-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  margin-bottom: 0.6rem;
}

.saved-lists-strategy-subtle {
  color: #a0b2c8;
  font-size: 0.86rem;
  white-space: nowrap;
}

.saved-lists-idea-pill {
  background: #fff0ea;
  color: #e15c2a;
  border: 1px solid #ffd5c7;
  border-radius: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.12rem 0.4rem;
}

.saved-lists-strategy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.saved-strategy-card {
  border: 1px dashed #d5ddea;
  border-radius: 0.72rem;
  min-height: 192px;
  padding: 0.78rem;
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.9);
  background-image: linear-gradient(rgba(67, 90, 122, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(67, 90, 122, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
}

.saved-strategy-idea {
  font-size: 0.72rem;
  color: #6f84a0;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: #e9f0fa;
  border-radius: 0.35rem;
  padding: 0.12rem 0.4rem;
}

.saved-strategy-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.saved-strategy-icon {
  width: 34px;
  height: 34px;
  border-radius: 0.65rem;
  background: #e7eef8;
  color: #4f6785;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.saved-strategy-icon .material-icons {
  font-size: 1.15rem;
  line-height: 1;
  display: block;
}

.saved-strategy-card h6 {
  color: #27384c;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.saved-strategy-card p {
  color: #6f85a0;
  font-size: 0.8rem;
  flex-grow: 1;
  margin-bottom: 0.7rem;
}

.saved-strategy-card .btn {
  background: #ffffff;
  border-color: #d7e1ed;
  font-weight: 700;
}

@media (max-width: 1199.98px) {
  .saved-lists-ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .saved-lists-ready-grid--empty {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .saved-lists-strategy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .list-upload-source-tabs {
    width: 100%;
    display: flex;
    justify-content: space-between;
  }

  .list-upload-source-tabs .nav-item {
    flex: 1;
    text-align: center;
  }

  .list-upload-source-tabs .nav-link {
    padding: 0.55rem 0.35rem;
    font-size: 0.9rem;
  }

  .saved-lists-header-row {
    flex-direction: column;
    gap: 0.45rem;
  }

  .saved-lists-manage-link {
    align-self: flex-start;
  }

  .saved-lists-ready-grid,
  .saved-lists-ready-grid--empty,
  .saved-lists-strategy-grid {
    grid-template-columns: 1fr;
  }

  .saved-lists-strategies-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-lists-strategy-subtle {
    white-space: normal;
  }

  .upload-source-pane {
    min-height: 540px;
  }
}


.saved-lists-manage-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.saved-lists-manage-group small {
  font-size: 0.72rem;
  margin-top: 0.22rem;
}

.file-upload-shell {
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  min-height: 100%;
  padding: 1.15rem 1.2rem 1.4rem;
}

.file-upload-body {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr);
  gap: 1rem;
  padding: 0;
}

.file-upload-kicker {
  color: #687f9d;
  letter-spacing: 0.06em;
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0.1rem 0 0.65rem;
}

.file-current-card {
  border: 1px solid #b7defb;
  border-radius: 0.95rem;
  background: #f7fcff;
  padding: 0.82rem 0.9rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.file-current-card.has-file {
  background: #eefaf3;
  border-color: #b4eac5;
}

.file-current-main {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.file-current-icon {
  width: 62px;
  height: 62px;
  border-radius: 0.8rem;
  background: #ccf3de;
  color: #0e7f4e;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-current-icon .material-icons {
  font-size: 34px;
}

.file-current-name-wrap {
  display: flex;
  gap: 0.55rem;
  align-items: baseline;
  flex-wrap: wrap;
}

.file-current-name {
  color: #27394f;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.file-current-size {
  color: #6e86a3;
  font-size: 0.92rem;
}

.file-current-count {
  color: #0d7a4a;
  font-size: 0.95rem;
  font-weight: 700;
}

.file-current-main > div:last-child {
  min-width: 0;
}

.file-current-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.file-current-actions .btn-outline-secondary {
  border-color: #b7c8da;
  color: #33485f;
}

.file-current-actions .material-icons {
  font-size: 28px;
}

.file-dropzone {
  border: 2px dashed #c8d5e6;
  border-radius: 1rem;
  background: #fbfdff;
  min-height: 232px;
  margin-top: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.file-dropzone.d-none,
.file-current-card.d-none {
  display: none !important;
}

.file-dropzone.drag-over {
  background: #f0f8ff;
  border-color: #91bcdf;
}

.file-dropzone-icon .material-icons {
  font-size: 50px;
  color: #92a8c2;
}

.file-dropzone-btn {
  border-radius: 0.75rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  min-width: 290px;
  margin: 0.35rem 0 0.7rem;
}

.file-dropzone p {
  color: #6b84a3;
}

.file-upload-footnote-row {
  border-top: 1px solid #e5edf6;
  margin-top: 1rem;
  padding-top: 0.7rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: #657e9e;
}

.file-upload-sidecard {
  border: 1px solid #d7e2ee;
  border-radius: 0.95rem;
  background: #f8fbff;
  padding: 0.95rem 1.05rem;
}

.file-upload-warning {
  border: 1px solid #f0d384;
  background: #fff8e7;
  border-radius: 0.75rem;
  color: #6f4a1f;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.7rem;
  margin-bottom: 0.8rem;
}

.file-upload-warning .material-icons {
  color: #bd6511;
  font-size: 1.15rem;
  margin-top: 0.1rem;
}

.file-upload-sidecard h6 {
  color: #24364d;
  font-size: 1.04rem;
  margin: 0.65rem 0 0.3rem;
}

.file-upload-sidecard p {
  color: #5b738f;
  margin-bottom: 0.4rem;
}

.file-upload-encoding {
  margin-top: 0.85rem;
  border-top: 1px solid #e4ebf3;
  padding-top: 0.75rem;
  color: #8ea2b9;
}

@media (max-width: 1199.98px) {
  .file-upload-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .saved-lists-manage-group {
    align-items: flex-start;
  }

  .file-current-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .file-current-name {
    font-size: 1.05rem;
  }

  .file-current-size,
  .file-current-count {
    font-size: 0.95rem;
  }

  .file-current-actions {
    width: 100%;
    justify-content: space-between;
  }

  .file-dropzone-btn {
    min-width: 0;
    width: 100%;
  }

  .file-upload-footnote-row {
    flex-direction: column;
    gap: 0.35rem;
  }
}

.list-upload-mode-shell {
  margin-top: 1.3rem;
  border: 1px solid #dce5ef;
  border-radius: 1rem;
  background: #ffffff;
  box-shadow: none;
  overflow: hidden;
  padding-bottom: 0.25rem;
}

.list-upload-mode-title {
  text-align: center;
  color: #1f2d3d;
  font-size: 1.75rem;
  font-weight: 600;
  padding-top: 0.95rem;
}

.list-upload-mode-shell .list-upload-mode-tabs {
  max-width: 980px;
  margin: 0.75rem auto 0.65rem;
}

.list-upload-mode-shell .list-upload-mode-tabs .nav-item {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.list-upload-mode-shell .list-upload-mode-tabs .nav-link {
  border: 1px solid transparent;
  border-radius: 0.8rem;
  background: #e9eff6;
  color: #556a84;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  padding: 0.62rem 0.9rem;
  white-space: nowrap;
}

.list-upload-mode-shell .list-upload-mode-tabs .nav-link.active {
  border: 2px solid #2f3d4f;
  background: #d8e1ec;
  color: #223245;
  box-shadow: none;
}

.list-upload-mode-shell .list-upload-mode-tabs .nav-link.active::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #08a86b;
  display: inline-block;
  margin-right: 0.62rem;
  vertical-align: middle;
}

.list-upload-mode-shell .list-upload-mode-content {
  border-top: 1px solid #e7edf5;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  background: transparent;
}

.list-upload-mode-shell .list-upload-mode-body {
  padding: 1rem 1.1rem 1.1rem;
}

.list-upload-mode-shell .list-upload-mode-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 1rem;
  box-shadow: none;
}

.list-upload-mode-shell .list-upload-mode-card--info {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.list-upload-mode-shell .list-upload-mode-card--controls,
.list-upload-mode-shell .list-upload-mode-card--summary {
  border: 1px solid #d6e0eb;
  border-radius: 0.85rem;
  background: #f8fbff;
}

.list-upload-mode-shell .list-upload-summary-copy h6 {
  color: #2b3f57;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.list-upload-mode-shell .list-upload-summary-copy p {
  color: #607999;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0.45rem;
}

.list-upload-mode-shell .list-upload-mode-iconbox {
  width: 78px;
  height: 78px;
  border: 1px solid #d7e2ee;
  border-radius: 0.9rem;
  background: linear-gradient(180deg, #f8fbff 0%, #f1f6fc 100%);
  margin-right: 1rem;
}

.list-upload-mode-shell .list-upload-mode-copy h5 {
  font-size: 1.58rem;
  line-height: 1.24;
  color: #263547;
  margin-bottom: 0.55rem;
}

.list-upload-mode-shell .list-upload-mode-copy p {
  font-size: 1.08rem;
  line-height: 1.38;
  color: #465c78;
  margin-bottom: 0.45rem;
}

.list-upload-mode-shell .list-upload-mode-copy p strong {
  color: #1f2d3d;
}

.list-upload-mode-shell .list-upload-density-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
}

.list-upload-mode-shell .list-upload-density-head label {
  color: #30465f;
  font-size: 1.05rem;
  font-weight: 600;
}

.list-upload-mode-shell .list-upload-target-pill {
  border: 1px solid #cfd9e6;
  border-radius: 0.7rem;
  background: #ffffff;
  color: #223246;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  margin-left: auto;
  text-align: right;
}

.list-upload-mode-shell #neighborCountRange {
  width: 100%;
  margin-top: 0.35rem;
  height: 28px;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.list-upload-mode-shell #neighborCountRange::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid #c4cfdb;
  background: #e7edf4;
}

.list-upload-mode-shell #neighborCountRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #223246;
  border: 2px solid #223246;
  margin-top: -8px;
  cursor: pointer;
}

.list-upload-mode-shell #neighborCountRange::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  border: 1px solid #c4cfdb;
  background: #e7edf4;
}

.list-upload-mode-shell #neighborCountRange::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #223246;
  border: 2px solid #223246;
  cursor: pointer;
}

.list-upload-mode-shell .list-upload-tick-row {
  position: relative;
  width: 100%;
  height: 1.05rem;
  color: #7f93ab;
  font-size: 0.78rem;
  margin-top: 0.24rem;
}

.list-upload-mode-shell #neighbors_selection small {
  color: #617997 !important;
  font-size: 0.92rem;
  line-height: 1.4;
}

.list-upload-mode-shell .list-upload-estimate-row {
  border-top: 1px solid #d8e2ed;
  margin-top: 0.95rem;
  padding-top: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.list-upload-mode-shell .list-upload-estimate-row span {
  color: #4f647f;
  font-size: 0.95rem;
}

.list-upload-mode-shell .list-upload-estimate-row strong {
  color: #1f2d3d;
  font-size: 1.12rem;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  letter-spacing: 0;
  display: block;
  line-height: 1.35;
}

.list-upload-mode-shell .list-upload-exclusion-note {
  color: #7c8fa7;
  font-size: 0.78rem;
  margin-top: 0.45rem;
  text-align: right;
}

.list-upload-mode-shell .list-upload-tick-row .list-upload-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .saved-lists-strategies-section {
    display: none;
  }

  .list-upload-mode-shell .list-upload-mode-body {
    padding: 1rem;
  }

  .list-upload-mode-shell .list-upload-mode-tabs .nav-link {
    font-size: 0.88rem;
  }

  .list-upload-mode-title {
    font-size: 1.35rem;
  }

  .list-upload-mode-shell .list-upload-mode-copy h5 {
    font-size: 1.5rem;
  }

  .list-upload-mode-shell .list-upload-mode-copy p {
    font-size: 0.98rem;
  }

  .list-upload-mode-shell .list-upload-density-head label,
  .list-upload-mode-shell .list-upload-target-pill,
  .list-upload-mode-shell .list-upload-estimate-row strong {
    font-size: 1rem;
  }

  .list-upload-mode-shell .list-upload-estimate-row span,
  .list-upload-mode-shell #neighbors_selection small,
  .list-upload-mode-shell .list-upload-tick-row {
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .list-upload-mode-shell .list-upload-mode-tabs {
    margin: 0.6rem auto;
  }

  .list-upload-mode-title {
    font-size: 1.05rem;
    padding-top: 0.75rem;
  }

  .list-upload-mode-shell .list-upload-mode-tabs .nav-link {
    font-size: 0.84rem;
    padding: 0.6rem 0.45rem;
  }

  .list-upload-mode-shell .list-upload-mode-tabs .nav-link.active {
    border-width: 2px;
  }

  .list-upload-mode-shell .list-upload-mode-card {
    padding: 1rem;
  }

  .list-upload-mode-shell .list-upload-mode-iconbox {
    width: 78px;
    height: 78px;
    margin-right: 0.95rem;
  }

  .list-upload-mode-shell .list-upload-mode-copy h5 {
    font-size: 1.22rem;
  }

  .list-upload-mode-shell .list-upload-mode-copy p,
  .list-upload-mode-shell .list-upload-density-head label,
  .list-upload-mode-shell .list-upload-target-pill,
  .list-upload-mode-shell .list-upload-estimate-row span,
  .list-upload-mode-shell .list-upload-estimate-row strong,
  .list-upload-mode-shell #neighbors_selection small,
  .list-upload-mode-shell .list-upload-tick-row {
    font-size: 0.92rem;
  }
}

/* Copy/Paste Tab */
.paste-list-shell {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.2rem 1.4rem;
}

.paste-list-head-actions {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.paste-list-head-actions .btn-link {
  color: #0d6efd;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
}

.paste-list-head-actions #clearAddressTextBtn {
  color: #5f7290;
}

.paste-list-info-bar {
  border-top: 1px solid #f5e5bb;
  border-bottom: 1px solid #f5e5bb;
  background: #fff9eb;
  color: #7f4d26;
  font-size: 0.93rem;
  line-height: 1.4;
  padding: 0.9rem 1.3rem;
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}

.paste-list-info-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d88404;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
}

.paste-list-editor-wrap {
  display: grid;
  grid-template-columns: 74px 1fr;
  min-height: 315px;
  max-height: 360px;
  border-bottom: 1px solid #e5edf6;
  flex: 1;
}

.paste-list-lines {
  background: #f2f6fb;
  border-right: 1px solid #dfe6ef;
  padding: 0.9rem 0.65rem;
  overflow: hidden;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.45rem;
}

.paste-list-lines span {
  display: block;
  text-align: right;
  color: #8ba0bb;
  font-size: 1rem;
  line-height: 1.45rem;
}

.paste-list-textarea {
  width: 100%;
  border: 0;
  outline: none;
  resize: vertical;
  padding: 0.9rem 1rem;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 1rem;
  line-height: 1.45rem;
  color: #2b3a4d;
  background: #ffffff;
}

.paste-list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.2rem;
  background: #f8fbff;
  color: #5d7390;
}

.paste-list-detected-pill {
  background: #e9eff7;
  color: #233346;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}

.paste-list-detected-pill .dot {
  width: 10px;
  height: 10px;
  background: #17b989;
  border-radius: 50%;
}

.paste-list-format-note {
  color: #607997;
  font-family: "Menlo", "Consolas", "Courier New", monospace;
  font-size: 0.8rem;
  white-space: nowrap;
}

@media (max-width: 1199.98px) {
  .list-upload-tab-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .paste-list-footer {
    flex-wrap: wrap;
  }

  .paste-list-format-note {
    width: 100%;
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .paste-list-head-actions .btn-link {
    font-size: 0.92rem;
  }

  .paste-list-info-bar {
    font-size: 0.9rem;
    padding: 0.75rem 0.9rem;
  }

  .paste-list-editor-wrap {
    grid-template-columns: 56px 1fr;
    max-height: 320px;
  }

  .paste-list-lines {
    padding: 0.8rem 0.45rem;
  }

  .paste-list-lines span {
    font-size: 1.2rem;
  }

  .paste-list-textarea {
    font-size: 0.96rem;
    padding: 0.8rem;
  }
}
