* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Popping", sans-serif;
  overflow-x: hidden;
  font-size: var(--fs-r);
  color: var(--text-color);
  min-height: 100vh;
  min-height: 100dvh;
}

:root {
  --primary-color: #3E4A46;
  --secondary-color: #323A37;
  --danger-color: #FF3434;
  --text-color: #686868;
  --text-white: #fff;
  --text-black: #000;
  --text-underline: #036638;
  --table-even-color: #e3e6e5;
  --table-color: #f7f7f7;
  --thead-color: #f5f5f5;
  --border-color: #ddd;
  --btn-color: #BFBFC0;
  --btn-edit: #13B3F8;
  --btn-detail: #3E3E46;

  --fs-s: 13px;
  --fs-r: 16px;
  --fs-m: 20px;
  --fs-l: 25px;
  --fs-xl: 45px;

  --fs-res-s: 3.333vw;
  --fs-res-r: 4.103vw;
  --fs-res-m: 5.128vw;
  --fs-res-l: 6.41vw;
  --fs-res-xl: 11.538vw;
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  text-indent: 1px;
  text-overflow: '';
}

.flex-column {
  flex-direction: column;
}

.text-center {
  text-align: center;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.container:has(.container-md) {
  max-width: 900px;
}

header {
  background-color: var(--primary-color);
  width: 100%;
  padding: 25px 40px;
  margin-top: 56px;
}

.header-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-left h1 {
  font-size: var(--fs-xl);
  color: var(--text-white);
  margin: 20px 0;
}

.header-left label {
  color: var(--text-white);
  display: block;
  margin: 10px 0;
}

.header-left input {
  padding: 10px 10px;
  border-radius: 10px;
  border: none;
  outline: unset;
  color: var(--text-white);
}

.header-left input[type=text] {
  background-color: var(--secondary-color);
  width: 70%;
}

.header-left input[type=submit] {
  background-color: var(--secondary-color);
  color: var(--text-white);
  cursor: pointer;
  transition: 0.5s;
}

.header-left input[type=submit]:hover {
  background-color: var(--text-white);
  color: var(--text-black);
}

.header-right .header-img {
  display: flex;
  justify-content: center;
  align-items: end;
  gap: 20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav {
  background-color: var(--secondary-color);
  padding: 10px 0;
  color: var(--text-white);
  position: fixed;
  right: 0;
  left: 0;
  z-index: 50;
  top: 0;
}

.nav-menu {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.nav-menu ul {
  display: flex;
  gap: 10px;
}

.nav-menu ul li {
  padding: 10px 10px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: var(--text-white);
  padding: 10px 10px;
  border: 1px solid var(--secondary-color);
}

.nav-menu ul li a:hover {
  border: 1px solid var(--text-white);
  color: var(--text-white) !important;
  border-radius: 10px;
}

/* Navbar profile image */
.user-profile-container {
  position: relative;
}

.user-profile-container .profile-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: var(--text-white);
}

.user-profile-container .profile-toggle .user-name {
  max-width: 27.3vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-profile-container .profile-toggle .user-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ddd;
}

.user-profile-container .profile-toggle .user-img:hover {
  opacity: 0.75;
}

.user-profile-container .profile-toggle .user-img > img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.user-profile-container .dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  right: 0;
  background-color: #fff;
  min-width: max-content;
  font-size: 14px;
  line-height: 1.5;
  padding: 4px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 10000;
}

.user-profile-container .dropdown-menu .dropdown-item {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  border-radius: 5px;
  gap: 8px;
  text-decoration: none;
  color: var(--text-color);
}

.user-profile-container .dropdown-menu .dropdown-item:hover {
  background-color: #f0f0f0;
}

.user-profile-container .dropdown-menu .dropdown-divider {
  height: 1px;
  margin: 4px 0;
  background-color: #ddd;
}

.active {
  border: 1px solid var(--text-white) !important;
  color: var(--text-white) !important;
  border-radius: 10px;
}

.content {
  margin: 40px 0;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  padding: 40px;
}

.content-list {
  display: flex;
  gap: 20px;
  width: 100%;
}

.ttl {
  font-size: var(--fs-m);
  font-weight: 600;
}

.sub-ttl {
  font-size: 18px;
}

.sub-ttl.underlined {
  border-bottom: 2px solid #ddd;
  max-width: fit-content;
  padding-bottom: 5px;
  padding-right: 5px;
}

.table-ttl {
  margin-bottom: 15px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.menu-form {
  margin-top: 30px;
  margin-bottom: 30px;
}

.menu-form.even-column {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 0;
}

.menu-form.even-column > * {
  flex: 1;
}

.form-control:disabled,
input:disabled,
select:disabled,
textarea:disabled{
  background-color: #e9ecef;
}


.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  width: 100%;
  outline: unset;
  font-family: "Popping", sans-serif;
  font-size: var(--fs-r);
  resize: none;
}

.form-group input[readonly="readonly"],
.form-group select[readonly="readonly"],
.form-group textarea[readonly="readonly"] {
  background-color: #e9ecef;
  pointer-events: none;
  color: var(--text-color);
}

.custom-radio input[type="radio"] {
  display: none;
}

.form-group .form-check input[type=radio],
.form-group .form-check input[type=checkbox] {
  width: auto;
}

.cmn-check-box:disabled+label::before {
  opacity: 0.5;
  cursor: not-allowed;
}

custom-radio input[type="radio"] {
  display: none;
}

.custom-radio input[type="radio"]+label {
  position: relative;
  display: inline-block;
  padding-left: 1.5em;
  margin-right: 1em;
  cursor: pointer;
  line-height: 1em;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.custom-radio input[type="radio"]+label:before,
.custom-radio input[type="radio"]+label:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
  text-align: center;
  color: var(--primary-color);
  border-radius: 50%;
  outline: 1px solid var(--primary-color);
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.custom-radio input[type="radio"]+label:before {
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.custom-radio input[type="radio"]+label:hover:before {
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
}

.custom-radio input[type="radio"]:checked+label:before {
  -webkit-transition: all .3s ease;
  transition: all .3s ease;
  box-shadow: inset 0 0 0 0.2em #fff, inset 0 0 0 1em var(--primary-color);
  outline: 1px solid var(--clr-primary);
}

.custom-radio input[type="radio"]:checked+label:after {
  outline: 1px solid var(--primary-color);
}

.menu-form label {
  display: block;
  padding-bottom: 10px;
}

.required-star {
  color: var(--danger-color);
}

.errormsg {
  font-size: var(--fs-s);
  color: var(--danger-color);
  display: inline-block;
  padding-top: 6px;
}

.cmn-part label.image_url_error {
  display: block;
}

.image_url_error {
  text-align: center;
  margin-top: 10px;
  font-size: 14px;
  color: var(--danger-color);
}

.form-group {
  margin: 20px 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.form-input {
  width: 100%;
}

.form-btn {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.content-form {
  width: 100%;
}

.progress-bar {
  width: 100%;
  margin-top: 30px;
}

.content-status {
  box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
  padding: 30px;
}

.sec-ttl {
  font-size: var(--fs-m);
  color: var(--text-color);
  font-weight: 600;
  display: block;
}

.no-message {
  margin-top: 30px;
}

.tracking-detail span {
  display: block;
  margin-top: 20px;
  font-size: var(--fs-r);
}

.navigation_menu {
  font-family: 'Helvetica';
  font-size: 14px;
  margin-top: 20px;
}

.navigation_tabs {
  counter-reset: step;
  position: relative;
  padding-left: 45px;
  list-style: none;
}

.navigation_tabs::before {
  display: inline-block;
  content: '';
  position: absolute;
  top: 0;
  left: 18px;
  width: 10px;
  height: 100%;
  border-left: 2px solid #CCC;
}

.navigation_menu ul {
  list-style-type: none;
  padding-right: 0;
  margin-top: 0;
  margin-left: 0;
  margin-right: 0px;
  margin-bottom: 0;
}

.navigation_menu li {
  position: relative;
  counter-increment: list;
}

.navigation_menu li:before {
  display: inline-block;
  content: '';
  position: absolute;
  left: -30px;
  height: 100%;
  width: 10px;
}

.navigation_menu li:after {
  content: counter(step);
  counter-increment: step;
  display: inline-block;
  position: absolute;
  top: 0;
  left: -39px;
  width: 25px;
  height: 25px;
  line-height: 26px;
  border: 1px solid #DDD;
  border-radius: 50%;
  background-color: #FFF;
  display: block;
  text-align: center;
  margin: 0 auto 10px auto;
}

.navigation_menu li:not(:last-child) {
  padding-bottom: 25px;
}

.navigation_menu li.tab_inactive:before {
  border-left: 3px solid var(--primary-color);
  margin-left: 3px;
}

.navigation_menu li.tab_active:after {
  border: 1px solid var(--primary-color);
}

.navigation_menu li.tab_inactive:after {
  content: "\2713";
  font-size: 20px;
  color: #FFF;
  text-align: center;
  border: 1px solid var(--primary-color);
  background-color: var(--primary-color);
}

.navigation_tabs li a,
.navigation_tabs li a {
  display: block;
  padding-top: 8px;
  text-decoration: none;
  color: var(--text-black);
}

.navigation_tabs li.tab_inactive a {
  color: var(--primary-color)
}

.navigation_tabs li.tab_disabled a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
}

.navigation_tabs li.tab_active a:hover,
.navigation_tabs li.tab_inactive a:hover {
  font-weight: bold;
}

.date {
  padding: 7px 10px;
  background-color: var(--border-color);
  color: var(--btn-detail);
  font-size: var(--fs-s) !important;
  width: 40%;
  text-align: center;
  display: inline-block !important;
  border-radius: 25px;
}

.tab-txt {
  font-size: var(--fs-s);
  display: inline-block;
  padding-left: 7px;
  font-style: italic;
}

.nav-detail-btn {
  text-align: center;
}

.btn-detail {
  margin-top: 30px;
  width: 60% !important;
}

table {
  border: 1px solid var(--border-color);
  border-collapse: collapse;
  border-spacing: 0px;
  text-align: left;
  /* width: 100%; */
  width: 1300px;
  margin: 30px auto;
  border-radius: 5px;
  overflow: hidden;
}

table tr {
  background-color: var(--table-color);
  word-break: break-word;
}

table thead tr {
  border: 1px solid var(--border-color);
}

table th,
table td {
  padding: 10px 10px;
  text-align: center;
  line-height: 1.5;
  overflow-wrap: break-word;
}

table th {
  background-color: var(--thead-color);
  white-space: nowrap;
  padding: 16px;
  color: #000;
  background-color: #CFD8D5;
  word-break: break-word;
}

table tr:nth-child(even) td {
  background-color: var(--table-even-color);
}

table td a {
  color: var(--text-underline);
  text-decoration: none;
  padding-bottom: 2px;
}

.menu-m-table {
  overflow: hidden;
}

.menu-m-table>.menu-s-table {
  background-size: 10px 100%;
  background-repeat: no-repeat;
  background-attachment: local, local, scroll, scroll;
  overflow: auto;
  margin-bottom: 12px;
}

.menu-s-table .ellipsis {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkbox-tbl {
  width: 10px;
}

.main-ttl {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.main-ttl a {
  text-decoration: none;
}

.goods-input {
  padding: 20px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 20px 0;
}

.menu-list {
  margin-top: 30px;
}

.cmn-col {
  width: 65px;
}

.step-wizard-list {
  /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
  color: var(--text-color);
  list-style-type: none;
  display: flex;
  /* padding: 20px 10px; */
  position: relative;
  z-index: 10;
  margin: 20px 0;
}

.step-wizard-list .wizard-status {
  width: 100%;
  text-align: center;
}

.step-wizard-item {
  /* padding: 0 20px; */
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  min-width: 80px;
  position: relative;
}

.step-wizard-item+.step-wizard-item:after {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  background: var(--primary-color);
  width: 100%;
  height: 2px;
  transform: translateX(-50%);
  z-index: -10;
}


@media (prefers-reduced-motion: no-preference) {
  .tracking-container .step-wizard-item:not(:last-of-type).current-item::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -7px;
    background: url('../../img/ico_ship_registration.svg') no-repeat;
    background-size: contain;
    filter: invert(92%);
    width: 30px;
    height: 30px;
    z-index: -10;
    animation: progress 4s infinite forwards;
    animation-timing-function: cubic-bezier(.63,0,.59,1);
  }

  @keyframes progress {
    to {
      transform: translateX(180px);
    }
  }
}

.my-500 {
  margin-block: 20px;
}

.txt-red {
  color: var(--danger-color);
}

.progress-count {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 600;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  color: transparent;
}

.completed-item .progress-count:after {
  content: "";
  height: 40px;
  width: 40px;
  background: var(--primary-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -10;
}

.completed-item .progress-count:before {
  content: "";
  height: 3px;
  width: 8px;
  border-left: 3px solid var(--text-white);
  border-bottom: 3px solid var(--text-white);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) rotate(-45deg);
  transform-origin: center center;
}

.progress-label {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  text-transform: uppercase;
}

.fold-table>tbody>tr.view.open {
  background: var(--btn-color);
  color: var(--text-black);
}

.fold-table>tbody>tr.view i {
  font-size: 12px;
}

.fold-table>tbody>tr.view.open td i:first-child {
  transform: rotate(-180deg);
  color: var(--btn-detail);
}

.fold-table>tbody>tr.fold {
  display: none;
}

.fold-table tr.view td:first-child {
  transition: transform 0.8s ease, color 0.3s ease;
}

.fold-table tr.view,
.fold-table tr.fold {
  transition: all 0.8s ease; 
  cursor: pointer;
}

table.fold-table>tbody>tr.fold.open {
  display: table-row;
}

.current-item~.step-wizard-item .progress-count:before {
  display: none;
}

.current-item~.step-wizard-item .progress-count:after {
  content: "";
  background: var(--primary-color);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  z-index: -10;
  height: 10px;
  width: 10px;
}

.current-item~.step-wizard-item .progress-label {
  opacity: 0.5;
}
/* 
.current-item .progress-count:after {
  background: var(--text-white);
  border: 2px solid var(--primary-color);
} */

.current-item .progress-count {
  color: var(--primary-color);
}

.track {
  text-decoration: none;
}

.contact {
  display: flex;
  gap: 40px;
}

.contact-address,
.contact-form {
  width: 100%;
}

.contact-address {
  padding: 30px;
  border: 1px dashed var(--border-color);
}

.contact-address li {
  line-height: 1.5;
  list-style-type: square;
  margin: 20px 0;
}

.contact-address li span:first-of-type {
  width: 20%;
  display: inline-block;
  font-weight: bold;
}

.contact-form label {
  padding-bottom: 10px;
  display: block;
}

footer {
  background-color: var(--primary-color);
  color: var(--text-white);
  text-align: center;
  display: block;
}

footer .copyright {
  padding: 15px 0;
  background-color: var(--secondary-color);
}

.footer-content {
  padding-top: 30px;
}

.footer-content ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-content ul li a {
  text-decoration: none;
  color: var(--text-white);
}

.footer-content p {
  display: inline-block;
  padding-bottom: 30px;
}
.footer-content ul li a:hover {
  color: var(--text-black);
}

input:focus,
textarea:focus {
  outline: 1px solid var(--primary-color);
}

#ui-datepicker-div {
  display: none;
  background-color: var(--text-white);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  margin-top: 0.25rem;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

.ui-datepicker-calendar thead th {
  padding: 0.25rem 0;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 400;
  color: #78909C;
}

.ui-datepicker-calendar tbody td {
  width: 2.5rem;
  text-align: center;
  padding: 1px;
}

.ui-datepicker-calendar tbody td a {
  display: block;
  border-radius: 0.25rem;
  line-height: 2rem;
  transition: 0.3s all;
  color: var(--btn-detail);
  font-size: 0.875rem;
  text-decoration: none;
  text-align: center;
}

.ui-datepicker-calendar tbody td a:hover {
  background-color: var(--btn-color);
}

.ui-datepicker-calendar tbody td a.ui-state-active {
  background-color: var(--primary-color);
  color: var(--text-white);
}

.ui-datepicker-header a.ui-corner-all {
  cursor: pointer;
  position: absolute;
  top: -2px;
  margin: 0.3rem;
  border-radius: 0.25rem;
  transition: 0.3s all;
}

.ui-datepicker-header a.ui-corner-all:hover {
  background-color: var(--btn-color);
}

.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus, .ui-button:hover, .ui-button:focus {
  right: 2px !important;
}

.ui-datepicker-prev-hover{
  left: 2px!important;
}

.c-auth {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 20px;
}

.c-forms {
  width: 500px;
  max-width: 100%;
  margin: 50px 0;
  padding: 30px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  border-top: 7px solid var(--primary-color);
}

.c-forms h1 {
  text-align: center;
  color: var(--text-underline);
  font-size: 20px;
}

.c-forms label {
  padding-bottom: 10px;
  display: block;
}

.c-forms .form-btn {
  justify-content: center;
}

.c-forms .form-btn input[type=submit] {
  width: 100%;
}

.c-forms .go-back {
  margin-top: 20px;
}

.c-auth .double-lines {
  position: relative;
  font-size: 20px;
  text-align: center;
  vertical-align: middle;
  margin-block: 20px;
}

.c-auth .double-lines::before,
.c-auth .double-lines::after {
  position: absolute;
  top: 50%;
  width: 45%;
  height: 2px;
  transform: translateY(-50%);
  background: #545459;
  content: '';
}

.c-auth .double-lines::before {
  left: 0;
}

.c-auth .double-lines::after {
  right: 0;
}

.c-auth .no-acc {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

/* Verified page style */
.c-auth .verified-form {
  text-align: center;
  display: grid;
  gap: 10px;
  line-height: 1.5;
}

.c-auth .verified-form .bxs-check-circle {
  font-size: 85px;
  color: #5cb85c;
}

.c-auth .verified-form .bxs-x-circle {
  font-size: 85px;
  color: var(--danger-color);
}

.c-auth .verified-form .second-title {
  font-size: 24px;
}

.img-upload {
  display: none;
}

.profile-img {
  position: relative;
  width: 180px;
}

.profile-img.center-align {
  margin-inline: auto;
}

.profile-img img {
  width: 160px;
  height: 160px;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-inline: 10px;
  margin-bottom: 20px;
  outline: 1px solid #bcbcbc;
  outline-offset: 3px;
  box-shadow: 0.3px 0.5px 0.6px hsl(0deg 0% 57% / 0.49),
              0.7px 1.4px 1.6px -1.1px hsl(0deg 0% 57% / 0.43),
              2px 4px 4.6px -2.1px hsl(0deg 0% 57% / 0.38),
              5.1px 10.3px 11.7px -3.2px hsl(0deg 0% 57% / 0.33);
}

.form-group .profile-img i {
  cursor: pointer;
  font-size: 24px;
  transition: color 0.25s;
}

.form-group .profile-img i:hover{
  color: var(--primary-color);
}

.form-group .profile-img i {
  position: absolute;
  right: -30px;
  top: 0;
  color: var(--danger-color);
}

.forgot-password a {
  font-size: var(--fs-s);
  color: var(--primary-color);
  text-decoration: none;
  margin-bottom: 10px;
  display: inline-block;
}

.txt-password:first-of-type {
  margin-top: 20px;
}

.txt-password {
  color: var(--danger-color);
  font-size: var(--fs-s);
  text-align: center;
  line-height: 1.5;
}

.hamburger {
  display: none;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: var(--text-white);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.auth-sp {
  display: none !important;
}

.about {
  display: flex;
  gap: 30px;
}

.about-img {
  width: 100%;
}

.about-img img {
  width: 100%;
}

.about-paragraph p {
  line-height: 1.5;
  margin: 20px 0;
}

.privacy h1 {
  text-align: center;
  margin: 20px 0;
  border-bottom: 1px dashed var(--primary-color);
  padding-bottom: 10px;
}

.privacy p {
  line-height: 1.5;
  margin: 20px 0;
}

.check {
  display: flex;
  align-items: center;
  gap: 15px;
}

.check.good-check {
  justify-content: center;
}

.check label {
  padding-bottom: 0 !important;
  position: relative;
  cursor: pointer;
}

.check input {
  display: none;
}

.check label:before {
  content: '';
  -webkit-appearance: none;
  background-color: transparent;
  border: 2px solid var(--primary-color);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), inset 0px -15px 10px -12px rgba(0, 0, 0, 0.05);
  padding: 8px;
  display: inline-block;
  position: relative;
  vertical-align: middle;
  cursor: pointer;
  margin-right: 5px;
  border-radius: 3px;
  margin-top: -4px;
}

.check input:checked+label:after {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  translate: 0 -60%;
  left: 8px;
  width: 3px;
  height: 10px;
  border: solid var(--primary-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.good-gp {
  padding: 20px;
  background-color: var(--border-color);
  border-radius: 10px;
  margin: 20px 0;
  box-shadow: 0.3px 0.5px 0.7px hsl(0deg 0% 63% / 0.36),
              0.8px 1.6px 2px -0.8px hsl(0deg 0% 63% / 0.36),
              2.1px 4.1px 5.2px -1.7px hsl(0deg 0% 63% / 0.36),
              5px 10px 12.6px -2.5px hsl(0deg 0% 63% / 0.36);
}

#good-btn-gp {
  justify-content: center;
}

.sec-title {
  display: flex;
  gap: 10px;
}

.checked input {
  cursor: pointer;
}

.breadcrumb {
  padding: 15px 10px;
  background-color: var(--border-color);
  color: var(--text-black);
}

.breadcrumb ul {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.breadcrumb ul li a {
  text-decoration: none;
  color: var(--text-black);
}

.breadcrumb ul li:last-of-type{
  color: var(--text-underline);
}

.breadcrumb ul li{
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumb ul li  i{
  font-size: var(--fs-r);
}

/* Modal styles */
.modal {
  width: 50ch;
  padding: 20px;
  border: none;
  border-radius: 10px;
  overflow-wrap: break-word;
  margin: auto;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.5);
}

.close-x {
  border: none;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: -20px;
  right: -20px;
  padding: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
}

.modal-header {
  text-align: center;
  position: relative;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.modal-warning-icon {
  font-size: 36px;
  padding: 10px;
  border-radius: 50%;
  background: rgb(255, 50, 50, 0.2);
  color: var(--danger-color);
}

.modal-warning-icon.caution-clr {
  background: #f0ad4e;
  color: #2c2c2c;
}

.modal-title {
  margin-top: 10px;
  font-size: 20px;
}

.modal-slot {
  margin-top: 10px;
  line-height: 1.3;
}

.modal-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.modal-footer .button {
  width: 100%;
  padding: 15px 20px;
}

.modal-footer .cancel-button {
  background: #f5f5f5;
  color: var(--text-color);
}

.modal[open] {
  animation: slideInFromTop 500ms cubic-bezier(.12,.34,.22,.97);
}

@keyframes slideInFromTop{
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Alert boxes styles */
.alert {
  padding: 15px;
  font-size: 16px;
  border-radius: 5px;
  border-left: 4px solid;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: 5px;
  color: var(--text-white);
  margin-block: 10px;
  font-weight: 600;
}

.alert.alert-danger {
  background: var(--danger-color);
  border-left-color: #ff0000;
}

.alert.alert-success {
  background: #5cb85c;
  border-left-color: #036638;
}

.alert i {
  font-size: 28px;
}

/* kt_stepper loading spinner animation */
@-webkit-keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

@keyframes spinner-border {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg)
  }
}

.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: middle;
  border: .25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  -webkit-animation: spinner-border .75s linear infinite;
  animation: spinner-border .75s linear infinite;
  margin-left: 5px;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: .2em;
}
/* Button Container */
.button-container {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Common Button Styles */
.button {
  font-family: "Popping", sans-serif;
  font-size: 13px;
  appearance: none;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 12px 24px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.button:hover {
  background-size: 100% 100%;
}

.submit-button {
  background: linear-gradient(to bottom, var(--primary-color), #1e2e28);
  color: var(--text-white);
  background-size: 100% 200%;
  transition: background-size 0.3s;
  font-size: 16px;
}

.submit-button i {
  font-size: 18px;
  font-weight: 600;
}

.btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-bottom: 20px;
} 

.btn-group-end {
  justify-content: end;
}

.cancel-button {
  background-color: var(--btn-color);
  color: var(--text-white);
  font-size: 16px;
}

/* Small cancel button to use with icon */
.cancel-btn {
  background: linear-gradient(to bottom, #8f8f8f, var(--btn-detail));
  color: var(--text-white);
  background-size: 100% 200%;
  transition: background-size 0.3s;
}

.back-button {
  background: linear-gradient(to bottom, #3498db, #165783);
  color: var(--text-white);
  background-size: 100% 200%;
  transition: background-size 0.3s;
}

.edit-button {
  background: linear-gradient(to bottom, #2ecc71, #187c42);
  color: var(--text-white);
  background-size: 100% 200%;
  transition: background-size 0.3s;
}

.delete-button {
  background: linear-gradient(to bottom, #e74c3c, #992417);
  color: var(--text-white);
  background-size: 100% 200%;
  transition: background-size 0.3s;
}

.add-button {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 16px;
  margin-left: auto;
}

.add-button i {
  font-size: 18px;
  font-weight: 600;
}

.action-button {
  border: 1px solid;
  border-color: var(--action-color);
  color: var(--action-color);
  padding: 10px 14px;
}

.action-button:hover {
  background-color: var(--action-color);
  color: var(--text-white);
}

.action-button.detail-button {
  --action-color: var(--btn-detail);
}

.action-button.edit-button {
  --action-color: var(--btn-edit);
}

.action-button.delete-btn {
  --action-color: var(--danger-color);
}

.remove-button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 15px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .5;
  transform: translateY(-20px);
  position: absolute;
  right: -15px;
  top: 0;
}

.link-button {
  color: #0000FF;
  text-decoration: underline;
  font-size: 14px;
  display: inline-block;
  font-weight: 600;
  transition: opacity 0.5s;
}

.link-button.clr-neutral {
  margin-top: 10px;
  color: var(--text-color);
}

.link-button:hover {
  opacity: 0.8;
  text-decoration: none;
}

.form-group:has(.remove-button) {
  margin: 0;
  justify-content: space-between;
  position: relative;
}

.full-width-button {
  width: 100%;
  font-size: 20px;
  padding-block: 16px;
}

.warning-txt {
  color: #ff8c00;
  margin-bottom: 10px;
  font-weight: 600;
}

/* detail list styles */
.detail-container .detail-list {
  display: flex;
  gap: 30px;
  margin: 20px 0;
}
.detail-container .detail-list dt {
  min-width: 250px;
  flex-basis: 200px;
  font-weight: 700;
  word-break: break-word;
  line-height: 1.5;
}

.detail-container .detail-list dd {
  position: relative;
  word-break: break-word;
  line-height: 1.5;
}

.detail-container .detail-list dd::before {
  content: ':';
  position: absolute;
  left: -10px;
}

/* Input type Select custom styles */
.select2-container--custom-theme .select2-results__option[aria-selected=true] {
  background: var(--primary-color);
  color: #fff;
}

.select2-container--custom-theme .select2-selection--single {
  border-radius: 10px;
  height: auto !important;
}

.select2-container--custom-theme.select2-container--open .select2-selection__arrow b {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
}

.select2-container--custom-theme span.select2-search input {
  padding: 5px;
  font-size: var(--fs-r);
  font-family: "Popping", sans-serif;
  border-radius: 5px;
}

.select2-container *:focus {
  outline: none;
}

.select2-container.select2-drop-above .select2-choice {
  border-bottom-color: #dce4ec;
  border-radius: 0;
}

.select2-search {
  margin-top: 3px;
}

.select2-search input {
  border: 1px solid var(--border-color);
  background: #fff;
}

.select2-dropdown {
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.select2-container--open .select2-dropdown--below,
.select2-container--open .select2-dropdown--above{
  background: #fff;
  border: 1px solid var(--primary-color);
  overflow-x: hidden;
  border-radius: 10px;
  box-shadow: 0px 1px 1px hsl( 0deg 0% 56% / 0.58),
              0px 2.9px 2.9px -1.1px hsl( 0deg 0% 56% / 0.5),
              -0.1px 8.3px 8.2px -2.3px hsl( 0deg 0% 56% / 0.43),
              -0.1px 21.8px 21.6px -3.4px hsl( 0deg 0% 56% / 0.35);
  max-height: 200px;
  overflow-y: auto;
}

.select2-container--open .select2-dropdown--below {
  margin-top: 3px;
}

.select2-container--open .select2-dropdown--above {
  margin-top: -3px;
}

.select2-container--open .select2-dropdown--below::-webkit-scrollbar,
.select2-container--open .select2-dropdown--above::-webkit-scrollbar {
  width: 10px;
  border-radius: 100vw;
}

.select2-container--open .select2-dropdown--below::-webkit-scrollbar-track,
.select2-container--open .select2-dropdown--above::-webkit-scrollbar-track {
  background-color: #ddd;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  overflow: hidden;
}

.select2-container--open .select2-dropdown--below::-webkit-scrollbar-thumb,
.select2-container--open .select2-dropdown--above::-webkit-scrollbar-thumb {
  background: #545459;
  border-radius: 100vw;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.select2-results__option--selectable {
  font-size: 15px;
  padding: 12px;
}

.select2-container--custom-theme .select2-selection--single .select2-selection__rendered {
  line-height: 1.15;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
}

.select2-container--custom-theme .select2-selection--single[aria-disabled=true]>.select2-selection__rendered{
  background: #e9ecef;
}

.select2-container--open .select2-selection--single .select2-selection__rendered {
  outline: 1px solid var(--primary-color);
}

.select2-container--custom-theme .select2-selection--single .select2-selection__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 5px;
  width: 20px;
}

.select2-container--custom-theme .select2-selection--single .select2-selection__arrow b {
  border-color: var(--text-color) transparent transparent transparent;
  top: 60%;
  border-style: solid;
  border-width: 5px 4px 0 4px;
  height: 0;
  left: 50%;
  margin-left: -4px;
  margin-top: -2px;
  position: absolute;
  width: 0;
}

.ui-timepicker-standard a:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 10px 10px;
}

.timepicker {
  cursor: pointer;
}

#datepicker {
  cursor: pointer;
}

.shipper-btn {
  margin-top: 30px;
}

table tbody td[data-label="address"],
table tbody td[data-label="remark"] {
  max-width: 20ch;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

table tbody td[data-label="name"] {
  max-width: 20ch;
}

table tbody td[data-label="zone_name"] {
  max-width: 15ch;
}

table tbody td[data-label="remark"] {
  max-width: 10ch;
}

table tbody td[data-label="email"] {
  min-width: 20ch;
}

table tbody td[data-label="phone_no"] {
  min-width: 11ch;
}

table tbody td[data-label="role_text"] {
  min-width: 6ch;
}

table tbody td[data-label="region"] {
  min-width: 10ch;
}

table tbody td[data-label="township"] {
  min-width: 18ch;
}

table tbody td[data-label="price"],
table tbody td[data-label="size"] {
  min-width: 10ch;
}

.g_list_btn {
  justify-content: space-between;
}

/* Status Badges styles */
.badge {
  --badge-color: 200deg 9% 47%;
  padding: 4px 8px;
  border-radius: 100vw;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-black);
  background: hsl(var(--badge-color) / 0.3);
  border: 1px solid hsl(var(--badge-color));
  white-space: nowrap;
}

.badge.badge-square {
  border-radius: 5px;
}

.badge-success {
  --badge-color: 120deg 57% 41%;
}

.badge-warning {
  --badge-color: 45deg 100% 50%;
}

.badge-info {
  --badge-color: 194deg 80% 40%;
}

.badge-danger {
  --badge-color: 3deg 65% 52%;
}
.api-documentation .image-guide {
  max-width: 75%;
  margin: 40px auto;
  padding: 4px;
  border: 2px solid var(--table-color);
  text-align: center;
}

.api-documentation .code-block {
  padding: 10px 0;
  background-color: var(--table-color);
}

.api-documentation .list-block {
  margin: 10px 60px;
}

.api-documentation .text-block {
  line-height: 1.2;
  margin: 15px 40px;
}

.api-documentation .ttl,
.api-documentation .sub-ttl {
  margin-top: 10px;
}

.api-documentation .highlight {
  padding: 1px 3px;
  color: var(--text-white);
  background-color: var(--text-color);
}

@media screen and (max-width: 767.8px) {

  .alert {
    padding: 10px;
    font-size: 14px;
  }

  .container {
    width: 90%;
    margin: 0 auto;
  }

  .hamburger {
    display: block;
  }

  .hamburger.open .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.open .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.open .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    display: block;
    position: fixed;
    top: 11vw;
    right: -100%;
    flex-direction: column;
    z-index: -1;
    width: 100%;
    height: 60%;
    background-color: var(--secondary-color);
    transition: 0.3s;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu ul {
    display: block;
  }

  .nav-menu ul li a {
    text-align: center;
    display: inline-block;
    width: 100%;
  }

  .nav-menu ul li a:hover {
    border: none;
    color: var(--btn-color)!important;
  }

  .user-profile-container .profile-toggle .user-name {
    max-width: 53.6vw;
  }

  .c-auth {
    padding-inline: 10px;
  }

  .c-forms {
    padding: 15px;
  }

  nav {
    padding: 3.864vw 0;
  }

  header {
    margin-top: 10.359vw;
    padding: 8vw 2vw;
  }

  .header-menu {
    display: block;
  }

  .header-right {
    display: none;
  }

  .header-left h1 {
    font-size: 6vw;
    text-align: center;
    margin: 5.128vw 0;
  }

  .track-package {
    text-align: center;
  }

  .footer-content ul {
   flex-direction: column;
   align-items: flex-start;
  }

  .footer-content p{
    line-height: 1.8;
    text-align: left;
  }

  .footer-menu {
    width: 100%;
    margin: 5vw 0;
    text-align: left;
  }

  .main-ttl {
    flex-direction: column;
    align-items: flex-start
  }

  .main-ttl a {
    /* width: 10.641vw; */
    margin-top: 2vw;
  }

  .contact {
    flex-direction: column;
  }

  .contact-address li span:first-of-type {
    width: auto;
  }

  .about {
    flex-direction: column;
  }

  .check {
    flex-direction: column;
    align-items: flex-start;
  }

  .goods-input .form-group {
    display: grid;
  }

  .detail-container .detail-list {
    display: block;
  }

  .detail-container .detail-list dt {
    margin-bottom: 10px;
  }

  .detail-container .detail-list dd::before {
    content: none;
  }
  .breadcrumb ul li {
    font-size: var(--fs-s);
  }

  .select::after {
    top: 39px;
  }

  .table-ttl{
    gap: 2vw;
  }

  .content{
    padding: 20px;
  }

  #good-btn-gp{
    justify-content: flex-start;
  }

  .add-button{
   margin-left: 0;
  }

  .nav-menu ul li a {
    border: none;
  }

  .footer-content{
    display: flex;
    flex-direction: column;
  }

  .c-image {
    text-align: left;
  }

  /* Verified page style */
  .c-auth .verified-form .bxs-check-circle {
    font-size: 60px;
  }

  .c-auth .verified-form .bxs-x-circle {
    font-size: 60px;
  }

  .c-auth .verified-form .second-title {
    font-size: 18px;
  }

  .c-auth .verified-form p {
    font-size: 14px;
  }

  
  .profile-img {
    position: relative;
    width: 140px;
  }

  .profile-img.center-align {
    margin-inline: auto;
  }

  .profile-img img {
    width: 120px;
    height: 120px;
  }
}
