/* =========================================
   BASE
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');



:root {
  --black: #000000;
  --white: #fff;
  --gray: #726969;
  --lightgray: #D9D2D2;
  --darkgray: #667085;
  --WhiteSmoke: #F5F5F5;
  --primary: #01295F;
  --secondary: #FD151B;
  --control-height: 38px;
  --icon-padding: 8px;
}


body {
  background: var(--WhiteSmoke);
  font-family: "Montserrat", sans-serif !important;
  color: var(--black);
  font-size: 14px;
}

p {
  font-size: 16px;
  color: var(--black);
}

.px-60 {
  padding-left: 60px;
  padding-right: 60px;
}

.py-20 {
  padding-top: 20px;
  padding-bottom: 20px;
}

.border_rounded {
  border-radius: 8px 8px 0 0;
}

.text-secondary {
  color: var(--gray) !important;
  font-weight: 500;
  font-size: 16px;
}

.pl_20 {
  padding-left: 20px;
}

/*html, body {
  height: 100%;
  overflow: hidden;
  }*/
h4 {
  font-weight: bold;
}

h6 {
  font-size: 18px;
  font-weight: bold;
}

a {
  color: var(--primary);
}

.red-btn {
  padding: 10px 25px;
  background: var(--secondary);
  border: none;
  color: var(--white);
  border-radius: 100px;
  cursor: pointer;
 font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.red-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.blue-btn {
  padding: 10px 25px;
  background: var(--primary);
  border: none;
  color: var(--white);
  border-radius: 100px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.blue-btn:hover {
  background: var(--secondary);
  color: var(--white);
}

.table tbody td .badge {
  padding: 8px;
}
.table {
    table-layout: fixed;
    width: 100%;
}
.table thead th, .table tbody td {
    white-space: wrap;
}
.content {
  padding: 20px 30px;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background: var(--primary);
  border: none;
  color: var(--WhiteSmoke);
  border-radius: 50px;
  padding: 8px 20px;
}

.btn-primary:hover {
  background: var(--secondary);
}

.btn-secondary {
  background: var(--secondary);
  border: none;
  border-radius: 50px;
}

.btn-secondary:hover {
  background: var(--primary);
}

.btn-outline-primary {
  border: 1px solid var(--primary);
  color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-outline-danger {
  border: 1px solid var(--secondary);
  color: var(--secondary);
}

.btn-outline-danger:hover {
  background: var(--secondary);
  color: var(--white);
}

.bg-danger {
  background: var(--secondary) !important;
}

.btn:focus-visible {
  background: var(--primary);
  box-shadow: none;
  border: none;
}

.btn-danger {
  background: var(--secondary);
  border: none;
  border-radius: 50px;
}

.btn-danger:hover {
  background: var(--primary);
}

.bg-primary {
  background: var(--primary) !important;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / 3;
}

label {
  font-size: 16px;
  color: var(--black);
  margin-bottom: 6px;
  font-weight: 500;
}

input,
select {
  height: 48px;
}

input[type="checkbox"] {
  height: auto;
  width: auto;
}

input,
select,
textarea {
  border: 1px solid var(--lightgray);
  border-radius: 6px;
  background: var(--white);
  width: 100%;
  padding: 8px 12px !important;
}

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

textarea {
  height: 120px;
  resize: none;
}

.select2-container {
  padding: 0;
  border: 1px solid var(--lightgray);
  border-radius: 6px;
  background: var(--white);
  height: 48px;
  /* width: 100% !important; */
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  line-height: 48px;
}

.search-form select {
  border: none;
}

.search-container .search-input {
  padding: 0;
}

.needs-validation .select2-container {
  width: 100% !important;
}

.select2-selection__rendered {
  border: none;
}

.select2-container--default .select2-selection--single {
  border: none !important;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

.form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 10px !important;
  right: 5px;
}

/* CREATE BRAND AND CATEGORIES  */

.logo-upload-box {
  width: 110px;
  height: 110px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  background-color: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.logo-upload-box span {
  color: #6c757d;
  font-size: 14px;
}




.card {
  border: 0;
}

/* =========================================
   TABLE STYLES
   ========================================= */
.table thead th {
  background-color: #EDEDED !important;
  padding: 12px 20px;
  font-size: 16px;
  color: var(--black);
}

.table tbody td {
  font-size: 14px;
  padding: 12px 20px;
  font-weight: 500;
  color: var(--black);
}

.table tbody tr:nth-child(odd) td {
  background-color: var(--white) !important;
  border: 0;
}

.table tbody tr:nth-child(even) td {
  background-color: #F5F5F58F !important;
  border: 0;
}

.table tbody td.action-icon a,
.table tbody td.action-icon button {
  background: var(--WhiteSmoke);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  border: none;
}

.table tbody td.action-icon i {
  color: var(--primary);
  font-size: 18px;
}

.table tbody td.action-icon a:hover {
  background: var(--primary);
}

.table tbody td.action-icon a:hover i {
  color: var(--white);
}

td.action-icon {
  vertical-align: middle;
}

.action-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.table-responsive {
  overflow: auto;
  height: 75vh;
}

.table-responsive table td ul {
  padding-left: 17px;
}

.table-responsive table td ul li {
  font-size: 14px;
  white-space: normal;
  overflow-wrap: break-word;
}

.table thead {
  position: sticky;
  top: 0;
}

/* =========================================
   WRAPPER + SIDEBAR
   ========================================= */
#wrapper {
  min-height: 100vh;
}

#sidebar {
  width: 300px;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  overflow-y: auto;
  background: var(--white);
  border-right: 1px solid var(--lightgray);
  transition: width .2s ease;
  z-index: 999;
}

.sidebar-header .logo-img-icon {
  display: none;
}

#sidebar.collapsed .logo-img {
  display: none;
}

#sidebar.collapsed .logo-img-icon {
  display: block;
}

#sidebar h5 {
  padding-left: 30px;
}

#sidebar.collapsed {
  width: 70px !important;
}


#sidebar .components {
  padding: 16px;
}

#sidebar .components li a {
  /* display: block; */
  color: var(--black);
  padding: 10px 12px;
  border-radius: 5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 500;
  gap: 10px;
}

body #sidebar .components li .collapse a:hover img {
  filter: brightness(0) invert(1);
}

body #sidebar .components li .collapse a {
  background: transparent;
  color: var(--black);
}

body #sidebar .components li .collapse li.active a {
  color: var(--primary);
}

body #sidebar .components li .collapse a:hover,
body #sidebar .components li .collapse li.active a:hover {
  background: var(--primary);
  color: var(--white);
}

body #sidebar .components li .collapse a img {
  filter: initial;
}

/* body #sidebar .components li .collapse li.active a img{
  filter: brightness(0) invert(1);
} */
#sidebar.collapsed .components li .collapse {
  padding: 0 !important;
}

#sidebar .components li a span {
  display: flex;
  align-items: center;
  gap: 10px;
}

#sidebar .components li a.active {
  background: var(--primary);
  color: var(--white);
}

#sidebar .components li a.active img {
  filter: brightness(0) invert(1);
}

#sidebar.collapsed .components li a {
  padding: 10px 12px 10px 20px;
}

#sidebar .components li.active a,
#sidebar .components li a:hover {
  background: var(--primary);
  color: var(--white);

}

#sidebar .components li.active a img,
#sidebar .components li a:hover img {
  filter: brightness(0) invert(1);
}

/* Collapsed Sidebar */
#sidebar.collapsed .components li a {
  justify-content: center;
  font-size: 0;
}

#sidebar.collapsed .components li a i {
  font-size: 1.2rem;
  margin-right: 0 !important;
}

#sidebar .components li .collapse {
  visibility: initial;
}

/* =========================================
   PAGE CONTENT + NAVBAR
   ========================================= */
#page-content-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-left: 300px;
  height: 100vh;
}

#sidebar.collapsed~#page-content-wrapper {
  margin-left: 70px;
}

#page-content-wrapper .navbar {
  position: fixed;
  top: 0;
  left: 300px;
  right: 0;
  width: calc(100% - 300px);
  z-index: 998;
}

#sidebar.collapsed~#page-content-wrapper .navbar {
  left: 70px;
  width: calc(100% - 70px);
}

#page-content-wrapper .container-fluidd {
  margin-top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  overflow-x: hidden;
}

.toggle-icon {
  height: 12px;
  cursor: pointer;
}

.bg-notify {
  width: 42px;
  height: 42px;
  background: var(--WhiteSmoke);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

#page-content-wrapper .navbar .small {
  font-size: 16px;
  font-weight: 500;
}

#page-content-wrapper .navbar .form-control {
  border-radius: 50px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

#page-content-wrapper .navbar .input-group-text {
  border-radius: 50px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#sidebar.collapsed h5 {
  display: none;
}

.bg-notify.dropdown-toggle::after {
  display: none;
}

.notify-menu.dropdown-menu {
  left: auto;
  right: 14px;
  width: 360px;
  box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.11);
  border: none;
  margin-top: 0;
  padding-top: 0;
}

.notify-menu.dropdown-menu ul {
  padding-left: 0;
}

.notify-menu.dropdown-menu ul li {
  gap: 12px;

}

.notify-menu.dropdown-menu ul li h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

.notify-menu.dropdown-menu ul li span {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
}

.notify-menu.dropdown-menu .red-btn {
  width: 100%;
  display: block;
  text-align: center;
}

.bg-notify.dropdown-toggle:hover,
.bg-notify.dropdown-toggle.show {
  background: var(--primary);
  border: none;
}

.bg-notify.dropdown-toggle:hover img,
.bg-notify.dropdown-toggle.show img {
  filter: brightness(0) invert(1);
}

.bg-notify.dropdown-toggle:focus {
  border: none;
}

.notify-menu.dropdown-menu ul li:hover {
  background: var(--WhiteSmoke);
}

.dropdown-menu.profile-menu {
  left: auto;
  right: 0;
  width: 300px;
  box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.11);
  border: none;
}

.dropdown-toggle.bg-profile::after {
  display: none;
}

.dropdown-menu.profile-menu ul {
  padding-left: 0;
}

.dropdown-menu.profile-menu ul li {
  gap: 12px;
}

.dropdown-menu.profile-menu ul li h6 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}

.dropdown-menu.profile-menu ul li span {
  color: var(--gray);
  font-size: 14px;
  font-weight: 500;
}

.dropdown-menu.profile-menu .red-btn {
  width: 100%;
  display: block;
  text-align: center;
}

.dropdown-toggle.bg-profile:focus {
  border: none;
}

.dropdown-toggle.bg-profile {
  padding: 0;
}

/* =========================================
   DASHBOARD CARDS
   ========================================= */
.dashboard-card {
  background: var(--white);
  padding: 16px 24px;
  border-radius: 5px;
}

.card-header-flex {
  display: flex;
  gap: 12px;
}

.icon-box {
  width: 36px;
  height: 36px;
  background: var(--WhiteSmoke);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-title {
  font-size: 16px;
  font-weight: 600;
}

.page-title {
  font-size: 20px;
  font-weight: 600;
}

.dashboard-card .card-number {
  font-size: 30px;
  font-weight: 600;
}
.page-title span {
    font-size: 14px;
    font-weight: 600;
}

.page-title span strong {
    font-weight: 600;
    padding-left: 4px;
    color: var(--primary);
}
/* =========================================
   CHARTS
   ========================================= */
#salesBarChart {
  width: 100% !important;
  height: 260px !important;
}

.monthly-row h6 {
  font-size: 20px;
}

.monthly-target p {
  font-size: 16px;
  font-weight: 500;
  max-width: 410px;
  margin: auto;
  color: var(--darkgray);
}

/* =========================================
   GAUGE (Monthly Target)
   ========================================= */
.gauge-wrapper {
  width: 200px;
  height: 140px;
  margin: auto;
  position: relative;
}

.gauge-svg {
  width: 100%;
  overflow: visible;
}

.gauge-bg,
.gauge-fill {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.gauge-bg {
  stroke: #ececec;
}

.gauge-fill {
  stroke: #4d6bff;
  stroke-dasharray: 126;
  stroke-dashoffset: calc(126 - (126 * var(--percent)));
  transition: stroke-dashoffset .5s ease;
}

.gauge-cover {
  position: absolute;
  width: 100%;
  height: 25%;
  background: #fff;
  bottom: 0;
  left: 0;
}

.gauge-content {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.gauge-value {
  font-size: 26px;
  font-weight: 700;
}

.gauge-badge {
  font-size: 12px;
  padding: 3px 10px;
  background: #e9fff2;
  color: #17c964;
  border-radius: 12px;
  font-weight: 600;
}

/* =========================================
   TARGET CARDS
   ========================================= */
.target-card {
  background: var(--WhiteSmoke);
  padding: 10px 5px;
  border-radius: 8px;
}

.target-card p.label {
  margin-bottom: 14px;
}

.value {
  font-size: 18px;
  font-weight: 600;
}

/* =========================================
   PRODUCT THUMB
   ========================================= */
.prod-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #eef2f6;
}

.badge-light-text {
  font-weight: 500;
  color: var(--white);
  font-size: 16px;
}

/* =========================================
 ORDER MANAGEMENT
 ========================================= */

.segmented-control {
  display: inline-flex;
  flex-wrap: wrap;
  padding: 4px;
  border-radius: 8px;
  background-color: rgba(1, 41, 95, 0.15);
}


.segmented-control .control-tab {
  padding: 6px 12px;
  border-radius: 6px;
  color: var(--black);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  background-color: transparent;
  white-space: nowrap;
  font-size: 16px;
}

.segmented-control .control-tab.active {
  background-color: var(--white);
  color: var(--black);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.segmented-control .control-tab.active .badge {
  background-color: transparent !important;
  color: var(--black) !important;
  font-weight: 600;
  padding: 0;
}

.segmented-control .control-tab .badge {
  background-color: transparent !important;
  color: #212529;
  font-weight: 500;
}

.icon-paid-color {
  color: #198754;
}

.icon-unpaid-color {
  color: #dc3545;
}

.status-badge {
  min-width: 80px;
  font-weight: 600;
  padding: 5px 12px;
}

.table tbody tr:nth-of-type(odd) {
  background-color: #fff !important;
}

.table tbody tr:nth-of-type(even) {
  background-color: #F5F5F58F !important;
}

.pagination-footer-container {
  border-radius: 5px;
}

.pagination-footer-container .page-link {
    border: 1px solid var(--lightgray);
    border-radius: 5px;
    color: var(--primary);
    min-width: initial;
    text-align: center;
    font-weight: 500;
    padding: 5px 8px;
    font-size: 14px;
    max-height: 32px;
}
.pagination-footer-container ul.pagination {
  flex-wrap: wrap;
  gap: 10px;
}

.pagination-footer-container .page-item.active .page-link {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination-footer-container p {
  margin-bottom: 0;
  font-size: 14px;
  font-weight: 600;
}

.pagination-footer-container .page-item.disabled .page-link {
  background-color: transparent;
  border-color: transparent;
  cursor: default;
}

.pagination-footer-container li.page-item.disabled {
    border: 1px solid var(--lightgray);
    border-radius: 4px;
    color: var(--primary);
    min-width: initial;
    text-align: center;
    font-weight: 500;
    background: var(--white);
    max-height: 32px;
    line-height: 18px;
}

.page-link:focus {

  box-shadow: none !important;
}

.search-pill-container {
  height: var(--control-height);
  width: 200px;
  border-radius: 100px !important;
  border: 1px solid #dee2e6;
  overflow: hidden;
  background-color: #ffffff;
}

.search-pill-container .search-input-start {
  border-radius: 0 !important;
  height: 100%;
  padding: 0.375rem 0.75rem;
}

.search-pill-container .search-icon-end {
  height: 100%;
  border-radius: 0 !important;
  background-color: transparent;
  border-left: none;
  padding: 0 0.5rem;
}

.icon-square-btn {
  height: 40px;
  width: 40px;
  padding: var(--icon-padding) !important;
  border-radius: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent
}

.filter-product .btn {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 12px 8px 21px;
  border-radius: 50px;
}

.filter-product .btn:hover {
  background: var(--secondary)
}

.table-responsive td a {
  white-space: normal;
  overflow-wrap: break-word;
  font-weight: 500 !important;
}

.table-responsive table td img {
  object-fit: cover;
}

.table-responsive table td p {
  font-size: 14px;
  white-space: normal;
  overflow-wrap: break-word;
}

.login-page {
  background: url('/static/adminuser/images/login-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  height: 100vh;
}

.login-page:after {
  position: absolute;
  content: '';
  background: #00000047;
  width: 100%;
  height: 100%;
}

.login-page .card {
  position: relative;
  z-index: 1;
}

.form-check-label {
  padding-left: 5px;
}

.login-page .card .logo-img {
  width: 250px;
  margin: 0 auto 21px;
}

.login-page .card h3 {
  font-weight: 600;
}

.login-page .card button {
  background: var(--primary);
  border: none;
  padding: 12px 24px;
  width: 100%;
}

.login-page .card button:hover {
  background: var(--secondary);
}

.login-page .card a {
  color: var(--primary);
  font-weight: 500;
  font-size: 14px;
  text-decoration: underline !important;
}

.upload-icon i {
  color: var(--primary);
  opacity: 1 !important;
}

.download-list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
  display: grid;
}

.download-list li {
  background: var(--white);
  padding: 16px;
  text-align: center;
}

.download-list .selectAll {
  display: block;
  color: var(--primary);
  font-weight: 500;
}

.download-list li .node-label {
  font-weight: 500;
}

.download-list li .caret {
  display: none;
}

.productTabs .nav-item .nav-link {
  color: var(--primary);
  font-weight: 500;
}

.filter-product .dropdown-item.active {
  background-color: var(--primary);
}

.filter-product ul.dropdown-menu {
  padding: 0;
  left: 0px !important;
}

.image-preview-container {
  margin-bottom: 20px;
}

.upload-btn {
  margin-bottom: 20px;
}

.addproduct-card table td img {
  width: 65px;
  padding: 0;
  object-fit: cover;
  border-radius: 0;
}

.addproduct-card .table-responsive {
  height: auto;
}

.addproduct-card table .d-flex video {
  object-fit: cover;
}

#category-tree .selectAll {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
}

#category-tree .selectAll:hover {
  color: var(--secondary);

}

.cms-list {
  padding-left: 0;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cms-list li {
  list-style: none;
}

.cms-list li a {
  background: var(--white);
  padding: 10px 26px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  display: inline-block;
}

.cms-list li a:hover {
  background: var(--primary);
  color: var(--white);
}

.accordion-product .accordion-item {
  margin-bottom: 10px;
}

.accordion-product .accordion-item h5 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 600;
}

.product-card img {
  min-height: 360px;
  max-height: 360px !important;
  object-fit: contain;
}
.thumbnail-img {
    margin-bottom: 38px;
}


.addproduct-card .thumbnail-img button img {
    min-height: 60px !important;
    max-height: 60px !important;
    padding: 0;
    border-radius: 0;
}
.accordion-product .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
}

.accordion-product .select2-container--default .select2-selection--single .select2-selection__clear {
  margin-top: 10px !important;
}

.card-elevated.seo-card .info-link {
  color: var(--black);
}

#sidebar.collapsed .components li a[data-bs-toggle="collapse"] {
  padding-left: 0;
}

#sidebar.collapsed .components li a[data-bs-toggle="collapse"] i {
  display: none;
}

.status {
  margin-bottom: 10px;
}

.status .bg-primary {
  font-weight: 500 !important;
  margin-left: 4px;
}

.export_form {
  margin-top: 70px;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.export_form .form-check {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.export_form .form-check .form-check-label {
  font-size: 14px;
  margin-bottom: 0;
}

.coupon-details {
  background: #ffffff;
  width: 100%;
  max-width: 760px;
  border-radius: 16px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin: 0 auto 20px;
}

.coupon-details .page-title {
  background: var(--primary);
  padding: 18px;
  color: var(--white);
  text-align: center;
}

.coupon-body {
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.coupon-body .field {
  background: var(--WhiteSmoke);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.email-form {
  box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
  background: #fff;
  padding: 24px;
}

.email-form .page-title {
  margin-bottom: 20px;
}

.pagination-list form .form-select {
  width: 80px !important;
}
.card-body.coupon-page-body .select2-container .select2-search--inline .select2-search__field {
    height: 35px;
    border: none;
}

/* =========================================

28-01-25

   ========================================= */

/* =========================
   Search & Filter Controls
========================= */
.order-search select.form-select {
  height: 40px;
  margin-right: 5px;
  border-radius: 50px;
}

.order-search .form-control {
  width: 320px;
  height: 40px;
  position: relative;
  border-radius: 50px;
}

.order-search .btn {
  position: absolute;
  right: 10px;
  margin-top: 5px;
  height: 30px;
  padding: 2px 0;
  font-size: 14px;
  border-radius: 50px;
  background: var(--secondary);
}

.search-panel {
  display: flex;
  position: relative;
}
.search-panel .form-control {
    border-radius: 50px;
}
.search-panel button {
    position: absolute;
    right: 0;
    background-color: transparent;
    top: 8px;
}
.search-panel button:hover{
  background-color: transparent;
}
.search-panel button i.bi.bi-search {
    color: #000;
}
.order-filter .form-select {
  padding: 8px 30px 8px 20px !important;
  background-color: #ededed;
  border: 1px solid #00000045;
  border-radius: 50px;
  color: #000;
  font-size: 14px;
  font-weight: 500;
}

.order-filter button.btn {
  height: 48px;
  padding: 8px 20px !important;
  border: 1px solid #00000045;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
}

/* =========================
   Checkbox Styling
========================= */
.table-order-manage .form-check-input[type="checkbox"] {
  width: 16px;
  height: 16px;
  padding: 8px !important;
  margin-top: 0;
}

.form-check-input:checked {
  background-color: var(--primary);
  border-color: var(--primary);
}

/* =========================
   Table Layout
========================= */
.table-order-manage td {
  font-size: 14px !important;
  vertical-align: top;
}

.table-order-manage .table-scroll {
  overflow-x: auto;
}

.table-order-manage .table-responsive {
  height: 70vh;
  overflow: auto;
}

/* =========================
   Order Columns
========================= */
.table-order-manage .order-col p {
  font-size: 14px;
  margin-bottom: 8px;
}

.table-order-manage .order-col.date span {
  display: block;
  color: #726969;
}

.table-order-manage .order-col.details p {
  color: #726969;
}

.table-order-manage .order-col.details p strong,
.order-col.details a {
  color: var(--primary);
  font-weight: 600;
}

.order-col.details a {
  text-decoration: none;
}

.order-col.product .product-name {
  color: var(--primary);
  font-weight: 600;
}

.order-col.product img {
  width: 57px;
  height: 47px;
  object-fit: contain;
}

.table-order-manage .order-col.product p strong,
.table-order-manage .order-col.type strong {
  font-weight: 600;
}

.order-col.type p {
  color: #726969;
}

/* =========================
   Actions Column
========================= */
.table-order-manage .order-col.actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.table-order-manage .order-col.actions .btn {
  padding: 6px 11px;
  font-size: 14px;
}

.table-order-manage .order-col.actions .btn.outline {
  border: 1px solid var(--primary);
  border-radius: 100px;
  color: var(--primary);
  font-weight: 500;
}

/* =========================
   Status Badges
========================= */
.unshipped,
.pending {
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
}

.unshipped {
  background: var(--secondary);
}

.pending {
  background: #ee9e00;
}

.status-msg {
  max-width: 147px;
  margin-top: 8px;
  font-size: 12px;
  color: #726969;
}

.awaiting-verify {
  display: block;
  margin-top: 4px;
  max-width: 147px;
  color: var(--primary);
}

/* =========================
   Segmented Control
========================= */
.segmented-control .nav-link {
  color: #000;
  font-weight: 600;
}

.segmented-control .nav-link.active {
  border-radius: 6px;
}

.segmented-control .nav-link .badge {
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: #000;
}

/* =========================
   Tracking Modal
========================= */
.tracking-modal .modal-content {
  padding-top: 12px;
}

.tracking-modal .modal-header {
  justify-content: center;
  text-align: center;
  border: none;
}

.tracking-modal .modal-footer {
  padding: 0 0 32px;
  justify-content: center;
  border: none;
}

.tracking-modal .modal-header .modal-title {
  font-size: 20px;
  font-weight: 600;
}

.tracking-modal .btn-close {
  position: absolute;
  top: 23px;
  right: 22px;
  padding: 11px;
  font-size: 12px;
  color: #000;
  opacity: 1;
  border-radius: 50px;
  box-shadow: 0px 1px 8px rgba(0, 0, 0, 0.12);
}
.card-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 48px;
}

.card-body .select2-container--default .select2-selection--single .select2-selection__clear {
    height: 45px;
}
.rate-card .select2.select2-container.select2-container--default {
    width: 100% !important;
}
/* =========================================

28-01-25

   ========================================= */



/* =========================================
 order detail
   ========================================= */

.btn-default {
    border: 1px solid #00000045;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
}
.btn-default:hover{
  background: var(--primary);
    border: 1px solid var(--primary);
    color: var(--WhiteSmoke);
}
.order-btn a {
    font-size: 14px;
    padding: 7px 20px;
}
.order-card .card {
    flex: 1;
}
.order-detail {
    flex: auto;
}

.order-card .card p {
    margin-bottom: 4px;
    color: #726969;
    font-weight: 500;
    font-size: 14px;
}

.order-detail span {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 22px;
    display: block;
    font-size: 14px;
}

.order-card .card p span {
    color: var(--primary);
}
.proceeds p {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 12px;
}

.proceeds p span {
    font-weight: 500;
}
.proceeds p span.price {
    color: var(--secondary);
}
.status-complete {
    background: #21C45D;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    color: var(--white);
    white-space: nowrap;
    display: inline-block;
    padding: 6px 12px;
}
.table-order-manage .table-responsive table td p {
    margin-bottom: 4px;
}
.order-left {
    width: 85%;
}

.order-right {
    /* flex: 0 0 auto; */
    width: 15%;
}
.order-right p {
    font-size: 12px;
}
/* =========================================
 order detail
   =========================================
*/


/* =========================================
 Filter dropdown
   =========================================
*/

.dropdown.product-dropdown .dropdown-menu {
    box-shadow: 0px 0px 11px rgba(0, 0, 0, 0.11);
    border: none;
    padding: 0;
        border-radius: 0;

}

.dropdown.product-dropdown .dropdown-menu .dropdown-item {padding: 8px 14px;}
/* Remove Bootstrap default caret */
.product-dropdown .dropdown-toggle::after {
  display: none;
}

/* Add custom chevron */
.product-dropdown .dropdown-toggle {
    position: relative;
    padding: 8px 35px 8px 21px;
}
.product-dropdown .dropdown-toggle::before {
    content: "";
    position: absolute;
    right: 18px;
    top: 45%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid #000000;
    border-bottom: 1.5px solid #000000;
    transform: translateY(-60%) rotate(45deg);
}
.product-dropdown .dropdown-toggle:hover::before {
    border-right: 1.5px solid #fff;
    border-bottom: 1.5px solid #fff;
}
.dropdown.product-dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--primary);
    color: var(--white);
}
/* =========================================
 Filter dropdown
   =========================================
*/

#addProductModal .modal-dialog {
    margin-top: 100px;
}
.category-form .form-control {
    border-radius: 50px;
    position: relative;
}

.category-form .btn.red-btn {
    position: absolute;
    right: 12px;
    top: 6px;
    border-radius: 50px;
    padding: 6px;
    width: 35px;
    height: 35px;
    background: transparent;
}
/* =========================================
   RESPONSIVE
   ========================================= */
@media (min-width: 767px) {

  .dropdown-menu.profile-menu,
  .dropdown-menu.profile-menu {
    display: none;
  }

  .dropdown:hover .dropdown-menu.profile-menu {
    display: block;
    margin-top: 0;
  }

  .dropdown:hover .dropdown-menu.notify-menu {
    display: block;
    margin-top: 0;
  }

}

@media (max-width: 1400px) {
  .download-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1199px) {

  #page-content-wrapper {
    margin-left: 0 !important;
  }

  #sidebar.collapsed~#page-content-wrapper .navbar {
    left: 0;
    width: auto;
  }

  #page-content-wrapper .navbar {
    left: 0;
    width: 100%;
    z-index: 1000;
  }

  #sidebar {
    width: 0;
  }

  #sidebar.collapsed {
    width: 300px !important;
    padding-top: 54px;
  }

  #sidebar.collapsed .components li a {
    font-size: 16px;
    justify-content: left;
  }

  div#sidebarToggle {
    z-index: 1000;
    position: relative;
    display: block;
  }

  #sidebar.collapsed .logo-img {
    display: block;
  }

  #sidebar.collapsed .logo-img-icon {
    display: none;
  }

  #sidebar.collapsed .components li a[data-bs-toggle="collapse"] {
    padding-left: 20px;
  }

  #sidebar.collapsed .components li a[data-bs-toggle="collapse"] i {
    display: block;
  }
  .table {
    table-layout: auto;
}
.table thead th, .table tbody td {
    white-space: nowrap;
}
}


@media (max-width: 991px) {

  #sidebar .components li a {
    text-align: center;
  }

  .download-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .form-grid {
    display: block;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .red-btn {
    padding: 10px 12px;
    font-size: 14px;
  }

  .login-page .card {
    max-width: initial !important;
    margin: 0 30px;
  }

  .download-list {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .notify-menu.dropdown-menu {
    width: 280px;
  }

  .addproduct-card .grid-5 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .search-input {
    width: auto !important;
  }

  .search-container {
    max-width: initial !important;
  }

  .search-button {
    padding: 10px 11px !important;
    font-size: 12px !important;
  }
}