@import url("https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap");

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Ubuntu", sans-serif;
}

body {
  background: #eeeeee;
}
a {
  text-decoration: none;
  color: #2e4787;
}
a:hover {
  color: #2e4787;
}
a.badge:hover {
  color: #fff;
}
/* .navbar {
  position: relative;
}
.navbar .navbar-collapse.collapse.show {
  position: absolute !important;
  z-index: 999;
  top: 64px;
  left: 0;
  right: 0;
  background-color: #f8f9fa;
}  */
.navbar-nav {
  align-items: center;
}
.nav-item .nav-link {
  font-weight: 500;
  color: #6c757d;
  padding: 0;
  border-radius: 20px;
  position: relative;
  width: max-content;
}
.nav-item .nav-link::before {
  content: ' ';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #273471;
  margin: 0 auto;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.nav-item .nav-link:hover ,
.nav-item .nav-link.active{
  color: #273471;
}
.nav-item .nav-link:hover::before {
  width: 100%;
  transition: all 0.2s ease;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
}
.nav-item .nav-link.active::before {
  width: 100%;
}

.accordion-item {
  border: none;
}

/* .accordion-body {
  background-color: #e5e6fa;
} */
.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed),
.accordion-button {
  background-color: #f5f5f5;
  color: #000;
  font-weight: 600;
  padding: 12px 16px;
}

.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237678b8'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-item:last-of-type,
.accordion-item:first-of-type,
.accordion-item:first-of-type .accordion-button {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  -o-border-radius: 0px;
}
.accordion-item:last-of-type .accordion-button.collapsed {
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}
.card-custom {
  background: #fff;
  border: 1.5px solid #dee2e6;
}
.card-custom-main .card-custom {
  border-top: none;
}
.card-custom-main .card-custom:first-child {
  border-top: 1.5px solid #dee2e6;
}
.card-custom .invoice-apilog {
  border-top: 1.5px solid #dee2e6;
  position: relative;
}
.card-custom .invoice-apilog .x-mark-icon {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #000;
  color: #fff;
  padding: 0 5px;
  cursor: pointer;
  z-index: 99;
  border-radius: 0 0 0 6px;
  -webkit-border-radius: 0 0 0 6px;
  -moz-border-radius: 0 0 0 6px;
  -ms-border-radius: 0 0 0 6px;
  -o-border-radius: 0 0 0 6px;
}

.order-header {
  background: #f5f5f5;
  padding: 4px 6px;
  font-weight: 600;
  border-bottom: 1.5px solid #dee2e6;
}
.order-header a,
.order-header a:hover {
  color: #000;
}
.order-header
  :where(.order-header-po-number, .order-header-date, .order-header-website) {
  font-size: 13px;
}
.order-header .edit-product {
  cursor: pointer;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  border-color: #ced4da;
}

/* Chat Box UI */
.chat-header h6 {
  font-size: 14px;
}
.chat-header .btn.btn-sm.btn-outline-danger,
.chat-header .btn.btn-sm.btn-outline-danger:hover {
  border: none;
  padding: 0;
  background-color: #fff;
  color: #dc3545;
  font-size: 16px;
  height: 18px;
}
.chat-box {
  border: 1px solid #e4e6eb;
  border-radius: 12px;
  height: 150px;
  background: #fafbff;
  padding: 12px;
  overflow-y: auto;
}

.chat-box .chat-right {
  background: #fff;
  padding: 0px 10px;
  border-radius: 4px;
  border: 1px solid #e4e6eb;
  font-size: 12px;
  font-weight: 500;
}
.chat-box .chat-right .text-muted.small {
  font-size: 8px;
  font-weight: bold;
}

.chat-input {
  border: 1px solid #d7d9df;
  border-radius: 10px 0 0 10px;
  padding: 5px 12px;
  width: 100%;
  outline: none;
}

.btn-main.send-message {
  border-radius: 0 10px 10px 0;
}
.chat-actions i {
  font-size: 20px;
  cursor: pointer;
  margin-right: 10px;
  color: #555;
}

.btn-main {
  background: #000;
  border: none;
  padding: 6px 10px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
}

.btn-main:hover {
  background: #000;
  color: #fff;
}

.info-label {
  font-weight: 600;
}

.login-main {
  padding: 50px 0;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: #fff;
}

@media (max-width: 575px) {
  .login-main {
    padding: 50px 0;
  }
}

.login-main::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  opacity: 0.57;
  z-index: -1;
}

.login-area {
  position: relative;
}

/* .login-area::after {
  position: absolute;
  content: '';
  width: 247px;
  height: 247px;
  right: -80px;
  top: -100px;
  border: 40px solid #ebeef0;
  box-sizing: border-box;
  filter: blur(1px);
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  -webkit-filter: blur(1px);
} */

.login-wrapper {
  background-color: #ebecf0;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border: 1px solid #1e293b;
  overflow: hidden;
}

.login-wrapper__top {
  padding: 44px 20px 30px 20px;
  text-align: center;
  background-color: #1e293b;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  position: relative;
  z-index: 1;
}

@media (max-width: 575px) {
  .login-wrapper__top {
    padding: 40px 15px;
  }
}

.login-wrapper__top::after {
  position: absolute;
  content: "";
  bottom: -24px;
  left: 5px;
  right: 5px;
  z-index: -1;
  border-width: 25px 256px 0px 256px;
  border-style: solid;
  border-color: #1e293b transparent transparent transparent;
}

@media (max-width: 1399px) {
  .login-wrapper__top::after {
    border-width: 25px 218px 0px 218px;
  }
}

@media (max-width: 575px) {
  .login-wrapper__top::after {
    display: none;
  }
}

.login-wrapper__top .title {
  font-size: 30px;
  font-weight: 600;
}

@media (max-width: 575px) {
  .login-wrapper__top .title {
    font-size: 24px;
  }
}

@media (max-width: 360px) {
  .login-wrapper__top .title {
    font-size: 22px;
  }
}

.login-wrapper__top p {
  font-size: 17px;
}

@media (max-width: 575px) {
  .login-wrapper__top p {
    font-size: 14px;
  }
}

.login-wrapper__body {
  padding: 60px 40px 40px 40px;
}

@media (max-width: 575px) {
  .login-wrapper__body {
    padding: 30px 20px;
  }
}

.login-form label {
  color: #1e293b;
  font-size: 16px;
  font-weight: 500;
}

.login-form label.form-check-label {
  font-size: 14px;
}

.login-form .form-control {
  /* height: px; */
  border: 1px solid #1e293b;
  color: #1e293b;
  font-size: 16px;
  padding: 8px 12px;
}

.login-form .form-control::-webkit-input-placeholder {
  color: #1e293b !important;
}

.login-form .form-control::-moz-placeholder {
  color: #1e293b !important;
}

.login-form .form-control:-ms-input-placeholder {
  color: #1e293b !important;
}

.login-form .form-control:-moz-placeholder {
  color: #1e293b !important;
}

.login-form .form-control:focus {
  background-color: transparent;
  border-color: #1e293b;
}

.login-form .forget-text {
  color: #1e293b;
  text-decoration: underline;
}

.login-form .forget-text:hover {
  color: #1e293b;
}

.login-form .cmn-btn {
  margin-top: 15px;
}

.cmn-btn {
  background-color: #1e293b;
  color: #fff;
  height: 40px;
}

.cmn-btn:hover,
.btn--primary:focus-visible,
.cmn-btn:active {
  background-color: #1e293b !important;
  color: #fff !important;
  border-color: transparent !important;
}

.login-form .form-check {
  position: relative;
  padding-left: 0;
}

.login-form .form-check .form-check-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  margin-left: 0;
  opacity: 0;
}

.login-form .form-check .form-check-label {
  position: relative;
  padding-left: 25px;
}

.login-form .form-check .form-check-label::before {
  position: absolute;
  content: "";
  font-family: "Line Awesome Free";
  font-weight: 900;
  top: 3px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.3s;
}

.login-form .form-check .form-check-input:checked ~ .form-check-label::before {
  content: "\f00c";
  background-color: #3d2bfb;
  border-color: #3d2bfb;
}

/* table css */
.table thead th {
  background-color: #fafbfe !important;
  color: #000;
  font-size: 12px;
  padding: 5px;
  vertical-align: middle;
}

.table tbody td {
  font-size: 12px;
  padding: 5px;
}

.all-details-main p {
  font-size: 12px;
}
.all-details-main p .info-label {
  color: #6c757d;
}
.chat-dropdown .dropdown-toggle::after {
  display: none;
}

.form-select {
  background-position: right 0.5rem center;
}
.dropdown-menu {
  min-width: max-content;
  padding: 0;
}
.dropdown-toggle {
  padding: 4px;
}
.dropdown-item {
  padding: 4px 12px;
}
.dropdown-menu li {
  border-bottom: 1px solid #dee2e6;
}
.dropdown-menu li:last-child {
  border-bottom: none;
}
.tracking-no {
  font-size: 12px;
}

/* pagination */
.pagination {
  justify-content: center;
  gap: 10px;
}
.pagination .page-item.active .page-link {
  background-color: #4634ff;
  border-color: #4634ff;
  color: #ffffff;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.25);
}
.pagination .page-item .page-link,
.pagination .page-item span {
  font-size: 0.875rem;
  display: flex;
  width: 36px;
  height: 36px;
  margin: 0 3px;
  padding: 0;
  border-radius: 3px !important;
  align-items: center;
  justify-content: center;
  color: #5b6e88;
}

.chat-right {
  background: #e1f5fe;
  padding: 10px;
  border-radius: 10px;
  position: relative;
}

.delete-chat-icon {
  display: none;
  position: absolute;
  top: -10px;
  right: -10px;
  cursor: pointer;
  color: #fff;
  font-size: 12px;
  background-color: red;
  border-radius: 50%;
  height: 18px;
  width: 18px;
  justify-content: center;
  align-items: center;
}

.chat-wrapper:hover .delete-chat-icon {
  display: flex;
}

#search-btn {
  background: #fbdc03;
  border: none;
  color: #000;
  text-transform: uppercase;
  font-weight: 700;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  padding: 10px 25px;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.4s;
}

#search-btn:hover {
  background: #0774ff;
  color: #fff;
}
.main-search-box input {
  border: 1.5px solid #dee2e6;
  padding: 4px 12px 4px 35px;
  border-radius: 10px 0 0 10px;
  width: 100%;
  font-size: 16px;
  outline: none;
}
.main-search-box button,
.input-group button {
  padding: 4px 12px;
  background: #000;
  color: white;
  border-radius: 0 10px 10px 0;
  border: 1.5px solid #000;
  font-size: 16px;
}

.main-search-box .bi.bi-search {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #555;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
}
.copyText {
  opacity: 0;
  transition: 0.2s;
}

.copy-main:hover .copyText {
  opacity: 1;
}

.bg-danger,
.btn-danger {
  background-color: #d9534f !important;
}
.bg-warning,
.btn-warning {
  background-color: #f0ad4e !important;
}
.bg-success,
.btn-success {
  background-color: #5cb85c !important;
}
.bg-info,
.btn-info {
  background-color: #5bc0de !important;
}
.bg-secondary,
.btn-secondary {
  background-color: #555555 !important;
}
.bg-primary,
.btn-primary {
  background-color: #337ab7 !important;
}
.all-main-badge .w-max-content {
  width: max-content;
}

.modal .modal-content .modal-header,
.modal .modal-content .modal-body {
  padding: 10px;
}
.modal .modal-content .modal-header h5 {
  font-size: 16px;
}
.modal .modal-content .modal-body .form-label {
  font-size: 13px;
  margin-bottom: 4px;
}


@media (min-width: 992px) {
  #search-fs {
    display: block !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    transform: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
  }
}

/* Mobile popup style */
@media (max-width: 991px) {
  #search-fs.active {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    z-index: 9999;
    display: block !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
}
@media screen and (max-width: 777px) {
  .card-custom-main,
  .all-main-badge {
    overflow: auto;
  }
  .chat-box .chat-right {
    max-width: 300px;
  }
}

@media (max-width: 576px) {
  .pagination .page-item {
    display: none;
  }

  /* Show first 5 numbers, last 2 numbers, active ±2 */
  .pagination .page-item:nth-child(-n + 3),
  .pagination .page-item:nth-last-child(-n + 4),
  .pagination .page-item.active,
  .pagination .page-item.active ~ .page-item:nth-child(-n + 3) {
    display: inline-block !important;
  }

  /* Always show prev/next */
  .pagination .page-item:first-child,
  .pagination .page-item:last-child {
    display: inline-block !important;
  }
  .w-max-content {
    width: max-content;
  }
  .flex-nowrap {
    flex-wrap: nowrap;
  }

  .all-details-main {
    width: 300px;
  }
  .all-product-details-main {
    width: 330px;
  }
}


