.nsc-wrapper {
  width: 100%
}

.nsc-search {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px
}

.nsc-field {
  display: flex;
  flex-direction: column
}

.nsc-field label {
  font-weight: 600;
  color: #DA2727;
  margin-bottom: 6px
}

.nsc-field select {
  min-width: 250px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: #fff
}

#tableTitle {
  background: #DA2727;
  color: #fff;
  padding: 12px;
  text-align: center;
  border-bottom: 2px solid #fff
}

#nameChangeTable {
  width: 100%
}

#nameChangeTable th {
  white-space: normal
}

#nameChangeTable td {
  vertical-align: middle
}

.export-excel-btn i {
  font-size: 16px !important;
  color: #fff !important
}

.dataTables_wrapper {
  margin-top: 20px
}

.dataTables_filter {
  margin-bottom: 15px
}

.dataTables_length {
  margin-bottom: 15px
}

.dataTables_info {
  margin-top: 15px
}

.dataTables_paginate {
  margin-top: 15px
}

.table-responsive {
  overflow-x: auto
}

@media (max-width:768px) {
  .table-responsive {
    overflow-x: auto !important
  }
    #nameChangeTable th,
    #nameChangeTable td {
        width: 150px !important;
        min-width: 150px !important;
        max-width: 150px !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
    }
}

@media (max-width:768px) {
  #nameChangeTable {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch
  }
}

@media(max-width:768px) {
  .nsc-search {
    flex-direction: column
  }
  .nsc-field select {
    width: 100%
  }
}

#nameChange-loader {
  display: none;
  position: fixed;
  inset: 0;
  background: rgb(255 255 255 / .8);
  z-index: 99999;
  align-items: center;
  justify-content: center
}

.loader-box {
  text-align: center
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ddd;
  border-top: 6px solid #0073aa;
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin: auto auto 20px
}

.loader-box h3 {
  margin: 10px 0 5px;
  font-size: 22px
}

.loader-box p {
  color: #666
}

@keyframes spin {
  from {
    transform: rotate(0deg)
  }
  to {
    transform: rotate(360deg)
  }
}

#nameChangeTable {
  table-layout: fixed;
  width: 100%
}

#nameChangeTable th,
#nameChangeTable td {
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important
}

#nameChangeTable td {
  font-weight: 400 !important
}

.table-responsive {
  overflow-x: auto !important
}

.name-change-search {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #C9C9C9;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 25px
}

.search-field {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  flex: 1
}

.search-field label {
  font-size: 14px;
  font-weight: 600;
  color: #DA2727;
  margin-bottom: 8px
}

.search-field input {
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  padding: 0 14px;
  font-size: 15px;
  background: #fff;
  transition: all .3s ease
}

.search-field input:focus {
  outline: none;
  border-color: #DA2727;
  box-shadow: 0 0 0 4px rgb(218 39 39 / .15)
}

.search-button {
  display: flex;
  align-items: flex-end
}

#ncSearch {
  height: 48px;
  min-width: 200px;
  border: none;
  border-radius: 8px;
  background: #DA2727;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 0 24px;
  cursor: pointer;
  transition: all .3s ease
}

#ncSearch:hover {
  background: #b71f1f
}

#ncSearch:active {
  transform: translateY(0)
}

#ncSearch:disabled {
  background: #e4a3a3;
  cursor: not-allowed;
  box-shadow: none
}

@media (max-width:768px) {
  .name-change-search {
    flex-direction: column;
    align-items: stretch
  }
  .search-field,
  .search-button {
    width: 100%
  }
  #ncSearch {
    width: 100%
  }
}

.dt-buttons {
  margin-bottom: 15px;
  display: flex;
  gap: 10px
}

.export-excel-btn,
.export-csv-btn {
  border: none !important;
  padding: 10px 22px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  color: #fff !important;
  background: #DA2727 !important;
  transition: all 0.3s ease
}

.export-excel-btn:hover,
.export-csv-btn:hover {
  background: #b51f1f !important;
  transform: translateY(-2px)
}

.export-excel-btn i,
.export-csv-btn i {
  margin-right: 8px
}

#nameChangeTable_paginate span .paginate_button.current,
#nameChangeTable_paginate span .paginate_button.current:hover {
  background: #DA2727 !important;
  background-image: none !important;
  border: 1px solid #DA2727 !important;
  color: #fff !important;
  box-shadow: none !important
}

#nameChangeTable_paginate .paginate_button:active {
  outline: none !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important
}

#nameChangeTable_paginate span .paginate_button:hover {
  background: #DA2727 !important;
  background-image: none !important;
  border: 1px solid #DA2727 !important;
  color: #fff !important;
  box-shadow: none !important
}

.dataTables_paginate>.paginate_button.previous,
.dataTables_paginate>.paginate_button.next {
  font-size: 14px !important
}

#nameChangeTable_paginate .previous:hover,
#nameChangeTable_paginate .next:hover {
  color: #DA2727 !important
}