@import "structure.css";

.inner-page-content {
  margin-top: 30px;
}

#lang p {
  color: var(--txt-neutral-500) !important;
}

.setting .tab-menus .nav .nav-item .nav-link.active {
  color: var(--txt-primary-500);
}
.setting .tab-menus .nav .nav-item .nav-link {
  color: var(--txt-neutral-900);
  border-bottom: 0px;
  padding: 7px 14px !important;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 400;
  gap: 12px;
  align-items: center;
}
.logo-lg {
  width: 120px;
  height: 120px;
  border: 0px dashed var(--border-neutral-200);
  border-radius: 50%;
  background: var(--bg-neutral-100);
  position: relative;
  z-index: 5;
}
.logo-lg img{
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
.profile-photo{
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.pagination > li > a {
  background-color: white;
  color: var(--bs-primary-500) !important;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  color: #5a5a5a;
  background-color: #eee;
  border-color: #ddd;
}

.pagination > li.active {
  color: white;
  background-color: var(--bs-primary-500) !important;
}
.pagination > li:last-child:hover {
  color: white;
  background-color: var(--bs-primary-500) !important;
}

.pagination > .page-item > .active > a:hover {
  background-color: var(--bs-primary-500) !important ;
  /* border: solid 1px #5A4181; */
}

.btn {
  /* width: 148px; */
  background: var(--bg-primary-500);
  border-radius: 4px;
  font-weight: 500;
  color: var(--txt-white);
  border: 1px solid transparent;
}

.btn-d-w {
  width: 148px;
}
.btn-primary {
  width: 148px;
  background: var(--bg-primary-500);
  color: var(--txt-white);
}
.btn-primary:hover {
  background: var(--bg-primary-600);
  border: 1px solid transparent;
}
.btn-primary:focus {
  background: var(--bg-primary-500) !important;
  color: var(--txt-white) !important;
}
.btn-primary:active {
  background: var(--bg-primary-600) !important;
}

.return_invoice .section-heading .btn {
  width: 96px;
}

.btn-warning {
  background: var(--bs-warning-500);
  color: var(--txt-white);
}
.btn-warning:hover {
  background: var(--bg-warning-600);
  border: 1px solid transparent;
}
.btn-warning:focus {
  background: var(--bs-warning-500) !important;
  color: var(--txt-white) !important;
}
.btn-warning:active {
  background: var(--bs-warning-600) !important;
}

.btn-white {
  background: var(--bs-white) !important;
  color: var(--txt-neutral-900) !important;
}

.btn-info {
  background: var(--bs-info-500);
  color: var(--txt-white);
}
.btn-info:hover {
  background: var(--bs-info-600);
  border: 1px solid transparent;
}
.btn-info:focus {
  background: var(--bs-info-500) !important;
  color: var(--txt-white) !important;
}
.btn-info:active {
  background: var(--bs-info-600) !important;
}

.btn-success {
  background: var(--bs-info-500);
  color: var(--txt-white);
}

.btn-success:hover {
  background: var(--bs-info-600);
  border: 1px solid transparent;
}
.btn-success:focus {
  background: var(--bs-success-500) !important;
  color: var(--txt-white) !important;
}
.btn-success:active {
  background: var(--bs-success-600) !important;
}

.btn-danger {
  background: var(--bs-danger-500);
  color: var(--txt-white);
}
.btn-success:hover {
  background: var(--bs-danger-600);
  border: 1px solid transparent;
}
.btn-success:focus {
  background: var(--bs-danger-500) !important;
  color: var(--txt-white) !important;
}
.btn-success:active {
  background: var(--bs-danger-600) !important;
}

.v-toast__text {
  color: var(--txt-white) !important;
}

.reload-btn {
  padding: 5px;
}

.stats-report .card .card-body {
  gap: 10;
}

.feature-menu {
  z-index: 990;
}

.api-key h6 i {
  color: var(--txt-white);
}

.setting-form .btn-md {
  cursor: pointer;
}

.open-ticket {
  width: 200px !important;
}

.label-logo {
  width: 100px;
  height: 40px;
}

.custom_field {
  padding: 0.788rem 3rem;
}

.parcel-delivery-status .delivery-status .tracking-steps {
  padding: 50px 20px 10px 20px;
}

.token-wrapper,
.message-wrapper,
.media-wrapper {
  height: 100%;
}

.chat-box,
.token-body {
  min-height: 420px;
  overflow-y: auto;
  max-height: 430px;
}
.publish-date {
  min-width: 150px !important;
}
.publish-date-right {
  text-align: right;
}

.message-footer {
  bottom: 20px;
}
.support {
  padding: 0;
  background: var(--bg-white);
  height: 72vh;
}
.font-12 {
  font-size: 12px;
}

.footer {
  margin-top: 10px;
}

.inner-page-content {
  min-height: 500px;
  /* gap: 24px; */
}

.chat-box {
  /* flex-direction: column-reverse; */
}

/* Hide table on small screens */
@media (max-width: 768px) {
  .table-responsive {
    display: none;
  }

  .mobile-card {
    display: block;
  }
}

/* Hide mobile cards on larger screens */
@media (min-width: 769px) {
  .mobile-card {
    display: none;
  }
}

@media (max-width: 425px) {
  .navbar-action .btn-md {
    width: 81px;
  }
  .chat-box,
  .token-body {
    min-height: 620px;
    overflow-y: auto;
    max-height: 630px;
  }
}

@media only screen and (max-width: 480px) {
  .right-layout.inner-page .main-content {
    margin-top: 80px;
  }
  .inner-page-content {
    gap: 10px;
  }
  .common-form {
    padding: 0 0px 60px 0 !important;
  }
}

@media (max-width: 670px) {
  .navbar-action .btn-md {
    width: 81px;
  }
  .chat-box,
  .token-body {
    min-height: 600px;
    overflow-y: auto;
    max-height: 6000px;
  }
}

@media only screen and (max-width: 1024px) {
  .parcel-tabs .tab-menus {
    display: block;
  }
}

@media only screen and (max-width: 1280px) {
  .support {
    height: 72.6vh;
  }
}

@media only screen and (max-width: 1366px) {
  .support {
    height: 72.6vh;
  }
}

@media print {
  .col-sm-1,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12 {
    float: left;
  }
  .col-sm-12 {
    width: 100%;
  }
  .col-sm-11 {
    width: 91.66666667%;
  }
  .col-sm-10 {
    width: 83.33333333%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-8 {
    width: 66.66666667%;
  }
  .col-sm-7 {
    width: 58.33333333%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-5 {
    width: 41.66666667%;
  }
  .col-sm-4 {
    width: 33.33333333%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-2 {
    width: 16.66666667%;
  }
  .col-sm-1 {
    width: 8.33333333%;
  }

  .inner-page-content {
    margin-top: 0px;
  }

  .loader {
    width: 100%;
    height: 300px;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
  }
  .loader .contain {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ===== Settings tabs: card-based view ===== */
.common-form.setting .setting-form {
  background: var(--bg-neutral-50);
  border-radius: 10px;
  padding: 16px;
}
.settings-card {
  background: var(--bg-white);
  border: 1px solid var(--border-neutral-300);
  border-radius: 8px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px -4px rgba(0, 0, 0, 0.06);
}
.settings-card + .settings-card {
  margin-top: 16px;
}
.settings-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-neutral-300);
}
.settings-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-neutral-900);
  margin: 0;
}
.settings-card__subtitle {
  font-size: 13px;
  color: var(--txt-neutral-500);
  margin: 2px 0 0 0;
}
.settings-field-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.settings-field {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-neutral-300);
}
.settings-field:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.settings-field__label {
  min-width: 160px;
  font-size: 13px;
  color: var(--txt-neutral-500);
  font-weight: 500;
  margin: 0;
}
.settings-field__value {
  flex: 1;
  font-size: 14px;
  color: var(--txt-neutral-900);
  font-weight: 600;
  margin: 0;
  word-break: break-word;
}
.settings-field__value--muted {
  color: var(--txt-neutral-500);
  font-weight: 400;
  font-style: italic;
}
.settings-field__value .sub {
  display: block;
  font-weight: 400;
  font-size: 13px;
  color: var(--txt-neutral-500);
  margin-top: 2px;
}
.settings-card__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.settings-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 6px;
  border: 1px solid var(--border-primary-500);
  background: transparent;
  color: var(--txt-primary-500);
  transition: background 0.15s ease, color 0.15s ease;
}
.settings-edit-btn:hover {
  background: var(--bg-primary-500);
  color: var(--bg-white);
}
.settings-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  background: var(--bg-neutral-50);
  border: 1px solid var(--border-neutral-300);
  color: var(--txt-neutral-900);
  text-decoration: none;
  margin-left: 8px;
}
.settings-inline-link:hover {
  background: var(--bg-primary-500);
  color: var(--bg-white);
  border-color: var(--bg-primary-500);
}
.settings-form-group {
  margin-bottom: 16px;
}
.settings-form-group .form-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-neutral-900);
  margin-bottom: 6px;
}
.settings-form-group .form-control {
  border-radius: 8px;
}
.settings-form-group .form-error {
  font-size: 12px;
  color: #dc3545;
  margin: 6px 0 0 0;
}
.settings-form-hint {
  font-size: 12px;
  color: var(--txt-neutral-500);
  margin: 6px 0 0 0;
}
.settings-searchable {
  position: relative;
}
.settings-searchable__list {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 4px;
  max-height: 240px;
  overflow-y: auto;
  background: var(--bg-white);
  border: 1px solid var(--border-neutral-300);
  border-radius: 8px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.18);
  padding: 4px;
  list-style: none;
}
.settings-searchable__item {
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  color: var(--txt-neutral-900);
}
.settings-searchable__item:hover {
  background: var(--bg-neutral-50);
}
.settings-searchable__item.is-active {
  background: var(--bg-primary-500);
  color: var(--bg-white);
}
.settings-searchable__empty {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--txt-neutral-500);
}
.settings-primary-btn,
.settings-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
}
.settings-primary-btn {
  background: var(--bg-primary-500);
  color: var(--bg-white);
  border: 1px solid var(--bg-primary-500);
}
.settings-primary-btn:hover {
  opacity: 0.92;
  color: var(--bg-white);
}
.settings-ghost-btn {
  background: transparent;
  color: var(--txt-neutral-900);
  border: 1px solid var(--border-neutral-300);
}
.settings-ghost-btn:hover {
  background: var(--bg-neutral-50);
  color: var(--txt-neutral-900);
}
.settings-notice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--bg-neutral-50);
  border: 1px solid var(--border-neutral-300);
  color: var(--txt-neutral-900);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 20px;
}
.settings-notice svg {
  color: var(--txt-primary-500);
}
.name-change-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.name-change-stack__current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-neutral-50);
  border: 1px solid var(--border-neutral-300);
  align-self: flex-start;
  max-width: 100%;
}
.name-change-stack__current-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--txt-neutral-500);
}
.name-change-stack__current-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--txt-neutral-900);
  word-break: break-word;
}
.name-change-stack .form-control-lg {
  height: 56px;
  padding: 14px 18px;
  font-size: 17px;
  font-weight: 500;
  border-radius: 10px;
}
.name-change-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}
@media (max-width: 575px) {
  .name-change-actions {
    flex-direction: column-reverse;
  }
  .name-change-actions > * {
    width: 100%;
  }
}
.name-change-compare {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto minmax(320px, 2fr);
  align-items: end;
  gap: 16px;
}
.name-change-compare__col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.name-change-compare__col .form-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--txt-neutral-900);
  margin: 0;
}
.name-change-compare__col .form-control {
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  height: auto;
  min-height: 52px;
}
.name-change-compare__col .form-control:disabled,
.name-change-compare__col .form-control[readonly] {
  background: var(--bg-neutral-50);
  color: var(--txt-neutral-500);
  cursor: not-allowed;
}
.name-change-compare__arrow {
  font-size: 22px;
  color: var(--txt-neutral-500);
  padding-bottom: 8px;
  user-select: none;
}
.name-change-compare__value {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--bg-neutral-50);
  border: 1px solid var(--border-neutral-300);
  font-size: 16px;
  font-weight: 500;
  color: var(--txt-neutral-900);
  word-break: break-word;
  min-height: 52px;
  display: flex;
  align-items: center;
}
.name-change-compare__value--new {
  color: var(--txt-primary-500);
  border-color: var(--border-primary-500);
}
.label-size-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.label-size-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border-neutral-300);
  border-radius: 10px;
  background: var(--bg-white);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  margin: 0;
}
.label-size-option:hover {
  border-color: var(--border-primary-500);
}
.label-size-option.is-active {
  border-color: var(--border-primary-500);
  background: var(--bg-neutral-50);
  box-shadow: 0 0 0 3px rgba(var(--bg-primary-500-rgb, 59, 130, 246), 0.08);
}
.label-size-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.label-size-option__preview {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(
    45deg,
    var(--bg-neutral-50),
    var(--bg-neutral-50) 4px,
    var(--bg-white) 4px,
    var(--bg-white) 8px
  );
  border: 1.5px dashed var(--border-neutral-300);
  border-radius: 6px;
  color: var(--txt-neutral-500);
  font-size: 11px;
  font-weight: 600;
}
.label-size-option__preview--2x3 {
  width: 40px;
  height: 60px;
}
.label-size-option__preview--3x3 {
  width: 60px;
  height: 60px;
}
.label-size-option.is-active .label-size-option__preview {
  border-color: var(--border-primary-500);
  color: var(--txt-primary-500);
}
.label-size-option__preview-dim {
  font-size: 10px;
  letter-spacing: 0.3px;
}
.label-size-option__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.label-size-option__title {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-neutral-900);
}
.label-size-option__desc {
  font-size: 12px;
  color: var(--txt-neutral-500);
  line-height: 1.4;
}
.label-size-option__check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--border-neutral-300);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: var(--bg-white);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.label-size-option.is-active .label-size-option__check {
  background: var(--bg-primary-500);
  border-color: var(--bg-primary-500);
  color: var(--bg-white);
}
.label-size-current {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--bg-neutral-50);
  border: 1px solid var(--border-neutral-300);
}
.label-size-current__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--txt-neutral-500);
}
.label-size-current__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--txt-primary-500);
}
@media (max-width: 575px) {
  .settings-card {
    padding: 16px;
  }
  .settings-field {
    flex-direction: column;
    align-items: flex-start;
  }
  .settings-field__label {
    min-width: 0;
  }
  .name-change-compare {
    grid-template-columns: 1fr;
  }
  .name-change-compare__arrow {
    transform: rotate(90deg);
    justify-self: center;
    padding: 0;
  }
  .settings-card__actions {
    flex-direction: column-reverse;
  }
  .settings-card__actions > * {
    width: 100%;
  }
  .label-size-options {
    grid-template-columns: 1fr;
  }
}
