body {
  margin: 0;
  background-color: #f5f5f5;
}

:root {
  --font-size-xxsmall: 12px;
  --font-size-small: 13px;
  --font-size-base: 14px;
  --font-size-medium: 18px;
  --font-size-large: 24px;
  --menu-width: 230px;
}

/*
.nl-tbl-grp {
    border-collapse: collapse;
    width: 100%;
    background-color: white;
    font-size: 11px;
}
.nl-tbl-grp th, .nl-tbl-grp td {
    padding: 4px 2px;
    text-align: center;
    vertical-align: middle;
    height: 25px;
    line-height: 1.2;
}
*/

.na-inline {
  display: inline-flex;
}



.header-main {
  background-color: #f0f0f0;
  font-weight: bold;
  border: 2px solid #333;
}

.header-sub {
  background-color: #f8f8f8;
  font-size: 10px;
}

.red-bg {
  background-color: #ff6b6b;
  color: white;
  font-weight: bold;
}

.blue-bg {
  background-color: #4dabf7;
  color: white;
  font-weight: bold;
}

.green-bg {
  background-color: #51cf66;
  color: white;
  font-weight: bold;
}

.yellow-bg {
  background-color: #ffd43b;
  color: black;
  font-weight: bold;
}

.gray-bg {
  background-color: #868e96;
  color: white;
}

.rotate-text {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  height: 120px;
  padding: 2px;
}

.checkbox-cell {
  padding: 2px;
}

/* input[type="checkbox"] {
  width: 16px;
  height: 16px;
} */

.na-max {
  max-width: 100%;
  overflow-x: auto;
}

.data-row td {
  background-color: white;
  font-size: 10px;
}

.data-row:nth-child(even) {
  background-color: #fafafa;
}

.status-complete {
  background-color: #28a745;
  color: white;
  padding: 1px 3px;
  border-radius: 2px;
  font-size: 9px;
}

.status-pending {
  background-color: #ffc107;
  color: black;
  padding: 1px 3px;
  border-radius: 2px;
  font-size: 9px;
}

.status-reject {
  background-color: #dc3545;
  color: white;
  padding: 1px 3px;
  border-radius: 2px;
  font-size: 9px;
}

.vertical-header {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  height: 100px;
  padding: 2px 1px;
}



.font-size-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 15px;
  /*
  border-radius: 5px;
  background-color: #f4f4f4;
  border: 1px solid #ccc;
 */
}

.font-size-controls button,
#font-size-indicator {
  height: 35px;
  padding: 0 15px;
  font-size: 15px;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-tbl-grp.nl-max.width-100-max {
  width: 100% !important;
}

#font-size-indicator {
  color: #000;
  width: 30px;
  text-align: center;
}

hr {
  border: none;
  border-top: 1px solid var(--border-color);
}

/* .hao-popup-body .nl-row label:not(.nl-custom-check) {
  font-size: var(--font-size-medium);
} */

.nl-form-grp h4 {
  font-size: var(--font-size-medium);
  font-weight: 600;
}

/* .hao-popup-content-header label {
  font-size: calc(var(--font-size-medium) + 2px);
} */

.font-size-controls button {
  background-color: var(--main-color);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s;
}

.font-size-controls button:hover {
  background-color: var(--main-color-dark);
}

.hao-label-username-main label {
  font-size: var(--font-size-base);
}

.nl-left-menu .logo-part h2 {
  font-size: var(--font-size-large);
}

.nl-menu__list .nl-menu__item>p {
  font-size: var(--font-size-base) !important;
}

.nl-message-mark {
  font-size: var(--font-size-small);
}

.nl-btn {
  font-size: var(--font-size-base);
}


.nl-form-control {
  font-size: var(--font-size-small);
}

.pagination .icon-arrow {
  font-size: var(--font-size-small);
}

.nl-tbl-grp__bottom .text-center div {
  font-size: var(--font-size-small);
}

.nl-copy-right-part {
  font-size: var(--font-size-small);
}

.nl-btn .nl-text-big {
  font-size: var(--font-size-medium);
}

.nl-btn .nl-text-small {
  font-size: var(--font-size-small);
}

.nl-form-grp .nl-list-checkbox .custom-checkbox {
  font-size: var(--font-size-small);
}

.fs-13 {
  font-size: var(--font-size-small);
}

.nl-confirm-pu .nl-btn {
  font-size: var(--font-size-xsmall);
}

.nl-row__rpc_order_edit>div.col-1 {
  font-size: var(--font-size-small);
}

.nl-file__item span {
  font-size: var(--font-size-small);
}

/*.nl-pdf-title {
  font-size: var(--font-size-xl);
}
*/
.nl-pdf-table-1 th,
.nl-pdf-table-1 td,
.nl-pdf-table-2 th,
.nl-pdf-table-2 td {
  font-size: var(--font-size-base);
}

.nl-pdf-unit {
  font-size: var(--font-size-small);
}

.nl-pdf-note {
  font-size: var(--font-size-xsmall);
}

.nl-pdf-date {
  font-size: var(--font-size-base);
}

.nl-pdf-content .nl-text {
  font-size: var(--font-size-large);
}

.nl-pdf-bottom-part-2 {
  font-size: var(--font-size-xxsmall);
}

.nl-license-plate-pdf-print th,
.nl-license-plate-pdf-print td {
  font-size: var(--font-size-small);
}

.nl-header-popup .nl-content .nl-body {
  font-size: var(--font-size-medium);
}

.my-button {
  font-size: var(--font-size-xsmall);
}

.na-mt-20 {
  margin-top: 20px;
}

.input-button-group {
  display: flex;
  align-items: center;
}

.input-button-group input {
  margin-right: 10px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-container {
  background: white;
  border: 2px;
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.popup-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
}

.info-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.info-text a {
  color: #0066cc;
  text-decoration: underline;
}

.warning-text {
  font-size: 13px;
  color: #ff6600;
  margin-bottom: 8px;
}

.form-group {
  margin-bottom: 15px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 14px;
  background-color: #f9f9f9;
}

.form-input:focus {
  outline: none;
  border-color: #0066cc;
  background-color: white;
}

.form-input::placeholder {
  color: #999;
}

.password-requirements {
  font-size: 12px;
  color: #ff0000;
  margin-top: 5px;
  font-weight: 500;
}

.captcha-section {
  margin: 20px 0;
}

.captcha-text {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.captcha-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.captcha-image {
  width: 120px;
  height: 40px;
  background-color: #f0f0f0;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  letter-spacing: 2px;
}

.captcha-actions {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.captcha-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: white;
  border-radius: var(--border-radius);
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.captcha-btn:hover {
  background-color: #f5f5f5;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.file-upload-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.action-btn {
  width: 120px;
  height: 40px;
  font-size: 14px;
  border-radius: 5px;
}

.file-upload-area-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.upload-title {
  font-weight: bold;
  margin-bottom: 8px;
}

.file-upload-area {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.file-display {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 5px;
  background-color: #fff;
}

.file-name {
  margin-right: 8px;
}

.file-icon-button {
  background-color: #2E3840;
  border: none;
  height: 32px;
  width: 50px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-btn {
  background-color: #007bff;
  border: none;
  color: white;
  height: 36px;
  width: 36px;
  border-radius: 5px;
  cursor: pointer;
}

.bottom-buttons {
  display: flex;
  gap: 10px;
  padding: 20px;
  justify-content: center;
}

.btn-confirm-list {
  background-color: #008080;
  color: #fff;
  border: 0;
}

.btn-send-standard {
  background-color: #d32f2f;
  color: #fff;
  border: 0;
}

.btn-load-standard {
  background-color: #1976d2;
  color: #fff;
  border: 0;
}

.btn-confirm-receipt {
  background-color: #027CF7;
  color: #fff;
  border: 0;
}

.btn-delete-selected {
  background-color: #e57373;
  color: #fff;
  border: 0;
}

.btn-delete-all {
  background-color: #f44336;
  color: #fff;
  border: 0;
}

.btn-download-selected {
  background-color: #64b5f6;
  color: #fff;
  border: 0;
}

.btn-download-all {
  background-color: #2196f3;
  color: #fff;
  border: 0;
}

.min-width-30 {
  min-width: 30px !important;
}

.na-btn-blue {
  background-color: #0D6EFD;
  border: none;
  color: white;
  height: 32px;
  width: 50px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.na-btn-red {
  background-color: #e44f4d;
  border: none;
  color: white;
  height: 32px;
  width: 50px;
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-black {
  background-color: #1A252F;
  color: #fff;
  border: none;
  height: 32px;
  width: 50px;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-white {
  background-color: white;
  border: 1px solid black;
  color: black;
}

.btn-rounded {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
}

.container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.table-wrapper {
  overflow-x: auto;
}

.na-table-overflow {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.na-table-overflow table {
  min-width: 1200px;
  border-collapse: collapse;
}

/*
	table {
	width: 100%;
	border-collapse: collapse;
	min-width: 1200px;
	}
*/
 th,
td {
  padding: 8px;
  text-align: center;
  white-space: nowrap;
  font-size: 12px;
}

th {
  font-weight: bold;
  position: sticky;
  z-index: 1;
}

.header-row-1 {
  background-color: #e9ecef;
  height: 40px;
}

.header-row-2 {
  background-color: #f8f9fa;
  height: 35px;
}

.row-number {
  background-color: #fff2cc;
  font-weight: bold;
  width: 40px;
}

.add-btn {
  background-color: #dc3545;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 12px;
  margin: 2px;
}

.add-btn:hover {
  background-color: #c82333;
}

.multi-line {
  line-height: 1.2;
  padding: 4px;
  white-space: normal;
}

.blue-text {
  color: #0066cc;
}

.controls {
  padding: 15px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #ddd;
}

.form-group {
  display: inline-block;
  /* margin-right: 15px; */
}

.form-control {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 12px;
}

.btn-green-2 {
  background-color: #007038;
  color: #fff;
  border: none;
  height: 32px;
  width: 50px;
  border-radius: 5px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* .pagination {
	padding: 15px;
	background-color: #f8f9fa;
	display: flex;
	justify-content: space-between;
	align-items: center;
} */

.h3 {
  margin-top: 20px;
}

.btn-yellow {
  border: 0;
  background-color: #FF9900;

}

.btn-dark-cyan {
  border: 0;
  background-color: #003333;
  color: #fff;
}

.small-table {
  border-collapse: collapse;
  font-size: 12px;
  margin-left: 10px;
  border: 1px solid #ddd;
}

.small-table th,
.small-table td {
  border: 1px solid #ddd;
  padding: 4px 8px;
  text-align: center;
}

.small-table th {
  background-color: #f3f6f7;
}

.small-table td:nth-child(3) {
  color: red;
}

.nl-row.a-center {
  display: flex;
  align-items: center;
}

/* .btn-edit {
	background: #a8d0ff;
	border: none;
	color: #000;
	padding: 12px 24px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	min-width: 140px;
	text-align: center;
} */

.btn-edit-2 {
  background: #f1f1f1;
  border: none;
  color: #000;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  min-width: 140px;
  text-align: center;
}

.sender-detail {
  cursor: pointer;
}

.sender-detail {
  cursor: pointer;
}

.select2-selection__arrow {
  display: none;
}

.custom-select .select2-selection__rendered {
  font-size: 13px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.selection .select2-selection--single {
  height: var(--height-form-control) !important;
  border: 1px solid var(--border-color) !important;
}

.custom-select .select2-container {
  width: 100% !important;
}

.select2-results li {
  min-height: 1.2em;
  color: black;
  font-size: 13px;
}

.select2-results li:hover {
  background-color: #0078d7 !important;
}

.select2-results li[aria-selected=true] {
  background-color: #0078d7 !important;
}

.disabled-file {
  pointer-events: none;
  opacity: 0.5;
}

.nl-tbl-grp tr:not(:first-child) .btn-add {
  /* display: none; */
}

/* .nl-tbl-grp tr:last-child .btn-delete {
  display: none;
} */

/* .nl-lbl:empty::before {
  content: " ";
  display: inline-block;
  height: 1.5em;
  visibility: hidden;
} */

.pl-0 {
  padding-left: 0 !important;
}

.pr-0 {
  padding-right: 0 !important;
}

.mt-21 {
  margin-top: 21px !important;
}

.nl-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nl-title .na-title__icon {
  width: 30px;
  height: 30px;
  border-radius: var(--border-radius);
  background-color: #D8EBFF;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--main-color);
}


.nh-zone-max .nl-drop-zone {
  width: 100%;
}

.na-border-bottom {
  display: inline-block;
  width: 100%;
  max-width: fit-content;
  border-bottom: 1px solid var(--border-color);
  padding: 3px 0;
}

.na-border-bottom:last-of-type {
  border-bottom: none;
}

.hao-popup-main.hao-popup-main-37.na-popup-main {
  width: 880px;
  height: 594px;
  border: 1px solid #DDDDDE;
  border-radius: 8px !important;
}

.na-btn-popup-find {
  width: 44px;
}

#paging,
#paging2,
.nh-paging {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 0;
  width: 100%;
}

/* button.nl-btn.btn-blue-dark.plr-10.a-center.j-center.na-btn-popup-find {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
} */

.na-overflow-x {
  overflow-x: auto;
}

.br-6 {
  border-radius: 6px !important;
}


.nl-form-control[readonly],
input[disabled],
input[readonly],
select[disabled] {
  background-color: #f6f8fb;
}

.nh-readonly {
  background-color: #f6f8fb !important;
}

.nh-disabled-button {
  /* opacity: 0.6; */
  cursor: not-allowed !important;
  background-color: var(--disable) !important;
}


.nh-btn-add {
  min-width: var(--limit-widht-small) !important;
  padding: 0 !important;
  width: 38px !important;
  height: var(--height-form-control) !important;
}

tbody .nh-btn-add {
  width: 28px !important;
  height: 30px !important;
}

/* Disable hover for city3-list-view popup */
#city3-list-view .nl-item_contact_edit:hover {
  background-color: inherit !important;
  border-color: #D8D8D8 !important;
  color: inherit !important;
}


/* Hide content until AJAX loads */
.nl-wrapper.hide-until-loaded {
  opacity: 0;
  visibility: hidden;
  /* transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out; */
}

.nl-wrapper.hide-until-loaded.show-content {
  opacity: 1;
  visibility: visible;
}

/* Loading indicator */
/* .loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-overlay.hidden {
  display: none;
}

.loading-spinner {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #3498db;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
} */


.mt-0 {
  margin-top: 0 !important;
}
