* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: auto;               /* allow scrolling */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE 10+ */
}

html::-webkit-scrollbar {
  display: none;                /* Chrome, Safari, Edge */
}

html body {
  display: flex;
  justify-content: center;
  overflow: auto;               /* allow scrolling */
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE 10+ */
}

html body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.container, .containerAdmin {
  width: 100%;
  font-size: 14px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 1299px;
  padding-bottom: 20px;
}

.container header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 70px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  position: relative;
}

.container header.pgHeader {
  flex-direction: column;
  gap: 0;
  padding-top: 10px;
  padding-bottom: 0;
  align-items: normal;
  height: fit-content;
}

.container header.pgHeader section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.container header.pgHeader section .sContainer, .container header.pgHeader section .rhs a.lkOdr {
  display: flex;
  gap: 10px;
  align-items: center;
}

.container header.pgHeader section .rhs a.lkOdr .odrIconDiv {
  position: relative;
}

.container header.pgHeader section .sContainer p {
  font-size: 14px;
}

.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-img.large {
  width: 60px;
  height: 60px;
  border-radius: 50% !important;
  object-fit: cover;
}

.avatar-letter {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.avatar-letter.large {
  width: 60px;
  height: 60px;
  font-size: 22px;
}

/* 
.container header.pgHeader section .sContainer:first-of-type p:first-of-type {
  background-color: #898888;
  color: white;
  font-size: 20px;
  height: 40px;
  min-height: 40px;
  width: 40px;
  min-width: 40px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
} */

.container header.pgHeader section .rhs a.lkOdr {
  padding: 8px 16px;
  color: #898888;
  cursor: pointer;
  border-radius: 4px;
  border: none;
}

.container header.pgHeader section .rhs a.lkOdr:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container header.pgHeader section .rhs a.lkOdr .odrIconDiv i {
  font-size: 28px;
  color: #0f0f0fcb;
}

.container header.pgHeader section .rhs a.lkOdr .odrIconDiv p {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: #088000;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  color: white;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container header.pgHeader section .sContainer p.wcmTxt {
  font-size: 18px;
}

.container header.pgHeader section .sContainer p.wcmTxt span {
  font-size: 14px;
  color: #898888;
}

.container main .formContainer h1, .containerAdmin section h1 span {
  font-family: 'Chewy', cursive;
  font-size: 33px;
  color: #0f0f0f;
  text-shadow: 2px 2px 0 #088000, 4px 4px 0 #ff3b3b;
  letter-spacing: 1px;
  margin: 20px 0;
  text-align: center;
}

.container header .rhs {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.container header .rhs .help-icon, .container header .rhs .profile-icon {
  position: relative;
}

.container header .rhs .help-icon i.fa-circle-question, .container header .rhs .profile-icon i.fa-user {
  font-size: 20px;
  color: #898888;
  cursor: pointer;
  background-color: white;
  padding: 10px;
  border-radius: 50%;
  border: none;
}

.container header .rhs .help-icon p, .container header .rhs .profile-icon p.profile-text {
  color: black;
  position: absolute;
  background-color: #898888;
  color: white;
  padding: 5px 10px;
  white-space: nowrap;
  border-radius: 4px;
  font-size: 14px;
  top: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.container header .rhs .help-icon i.fa-circle-question:hover, .container header .rhs .profile-icon i.fa-user:hover {
  background-color: #8988881e;
  padding: 10px;
  border-radius: 50%;
  border: none;
}

.container header .rhs .help-icon:hover p, .container header .rhs .profile-icon:hover p.profile-text {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.container header .rhs .profile-icon .profileOption {
  display: none;
  padding: 8px 16px;
  flex-direction: column;
  align-items: center;
  gap: 10px;

  position: absolute;
  white-space: nowrap;
  border-radius: 4px;
  font-size: 14px;
  top: 90%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  border: 1px solid #dedede;  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  transition: all 0.3s ease;
  
  z-index: 1002;

}

.container header .rhs .profile-icon .profileOption.show {
  max-height: 500px;
  opacity: 1;
  padding: 8px 16px;
}

.container header .rhs .profile-icon .profileOption p {
  background-color: #0f0f0f;
  padding: 8px 16px;
  border-radius: 50%;
  color: #ffffff;
  height: 50px;
  width: 50px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: normal;
}

.container header .rhs .profile-icon .profileOption a {
  color: #0f0f0f;
  text-decoration: none;
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 8px 16px;
  color: #898888;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.container header .rhs .profile-icon .profileOption a:last-of-type {
  background-color: #0f0f0f;
  color: #ffffff;
}

.container header .rhs .profile-icon .profileOption a:hover {
  opacity: 0.875;
}

.container header .rhs .profile-icon .profileOption a i {
  font-size: 14px;
}

.container header .rhs select {
  outline: none;
  font-size: 14px;
  border: none;
  padding: 4px 10px;
  background-color: #dedede;
}

.container header .rhs img {
  border-radius: 4px;
}

.container #whatsapp-chat-box .chat-header i, .container .cart-container .cartTop i {
  font-size: 25px;
  color: #8988889d;
  cursor: pointer;
}

.container #whatsapp-chat-box .chat-header i {
  color: white;
}

.container #whatsapp-button, .containerAdmin #navigation-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 43px;
  height: 43px;
  background-color: #0f0f0f;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.6);
  animation: pulseGlow 2s infinite ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1004;
  overflow: hidden;
}

.containerAdmin #navigation-button {
  animation: pulseGlowA 2s infinite ease-in-out;

}

.containerAdmin #navigation-button img {
  object-fit: cover;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulseGlowA {
  0% {
    box-shadow: 0 0 0 0 #0980005d;
  }
  50% {
    box-shadow: 0 0 0 15px #ff3b3b0a;
  }
  100% {
    box-shadow: 0 0 0 0 #ffffff0c;
  }
}

.container .overlay, .container .payOverlay, .containerAdmin .navOverlay, .container .cartOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.02);
  display: none;
  z-index: 1001;
}

.container .overlay {
  background-color: rgba(0, 0, 0, 0.199);

}

.container .payOverlay {
  background-color: rgba(0, 0, 0, 0.205);
  z-index: 1009;
}

.container .cartOverlay {
  background-color: rgba(0, 0, 0, 0.048);
  z-index: 1007;
}

.container .overlay.active,  .container .payOverlay.active, .containerAdmin .navOverlay.active, .container .cartOverlay.active {
  display: block;
}

.container #whatsapp-chat-box {
  display: none;
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: clamp(200px, 85%, 375px);
  background: white;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 9999;
}

.container #whatsapp-chat-box .chat-header {
  background: #0f0f0f;
  color: white;
  padding: 10px;
  border-radius: 4px 4px 0 0;
  position: relative;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.container #whatsapp-chat-box .chat-header .top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.container #whatsapp-chat-box .chat-body {
  padding: 20px 16px;
  padding-bottom: 0;
  background-image: url('/Images/Whatsapp\ default\ wallpaper.avif');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.container #whatsapp-chat-box .chat-body .chat-container {
  position: relative;
  max-width: 300px;
  margin-bottom: 20px;
}

.container #whatsapp-chat-box .chat-body .chat-bubble {
  background-color: white;
  border-radius: 4px 4px 4px 0;
  padding: 10px 14px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #dedede;
}

.container #whatsapp-chat-box .chat-body .chat-bubble .sender {
  font-weight: bold;
  color: #0F0F0F;
  margin-bottom: 5px;
}

.container #whatsapp-chat-box .chat-body .chat-bubble .message {
  margin-bottom: 6px;
  line-height: 1.4;
}

.container #whatsapp-chat-box .chat-body .chat-bubble .time {
  font-size: 12px;
  color: gray;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
}

.container #whatsapp-chat-box .chat-body .containerWhp {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: white;
  margin: 0 -16px;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.container #whatsapp-chat-box .chat-body .containerWhp img {
  cursor: pointer;
}

.container #whatsapp-chat-box .chat-body p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #333;
}

.container #whatsapp-chat-box .chat-body #userMessage {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 30px;
  resize: none;
  outline: none;
  padding: 10px 16px;
  padding-bottom: 0;
  font-size: 14px;
}

.container #whatsapp-chat-box .chat-body button {
  margin-top: 8px;
  width: 100%;
  padding: 8px;
  background: #0f0f0f;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

@keyframes wiggle {
  0%, 100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.container main.buyerMain, .container main.profile-main, .container main.help-centre-main, main.agentWithdrawalH {
  padding: 20px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  animation: fadeIn 0.25s ease;
}

.container main.help-centre-main {
  align-items: normal;
  margin: 50px auto;
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.container main.buyerMain .tabs-container, .container main.buyerMain h1, .container main.buyerMain .filter-bar, .container main.buyerMain .table-wrapper, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar {
  width: 100%;
  margin: 10px auto;
  background-color: #ffffff;
}

.containerAdmin .admin-tab-panel .table-wrapper .filter-bar {
  background-color: #0f0f0f;
  margin: 10px 0;
  display: flex;
  gap: 10px;
}

#toggleMarketSourceTab, #toggleMarketTypeTabAgent {
  display: none;
}

.container main.buyerMain h1 {
  color: #0f0f0f;
  font-size: 19.5px;
}

.container main.buyerMain h1, .container main.buyerMain .filter-bar, .container main.buyerMain .table-wrapper {
  margin: 0 auto;
}

.container main.buyerMain .filter-bar #statusFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #statusFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #regionFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #kycFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #productsFilter {
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  border: 1px solid #dedede;
  outline: none;
  color: #0f0f0f;
  cursor: pointer;
}

.containerAdmin .admin-tab-panel .table-wrapper .filter-bar #statusFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #regionFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #kycFilter, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar #productsFilter {
  padding: 8px;
}

.container main.buyerMain .agentHeader {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 auto;
  padding: 5px;
}

.container main.buyerMain .agentHeader h1 {
  font-size: 18px;
}

.container main.buyerMain .agentHeader p.status {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #0f0f0f;

}

.container main.buyerMain .agentHeader p.status span.verified, .container main.buyerMain .agentHeader p.status span.unverified {
  color: #088000;
  background-color: #0980001f;
  padding: 4px;
  border-radius: 4px;
  font-size: 12px;
  display: flex;
  gap: 2px;
  align-items: center;
  justify-content: center;

}

.container main.buyerMain .agentHeader p.status span.unverified {
  color: #ff3b3b;
  background-color: #ff3b3b2a;
}

.tabs-container .tabs {
  display: flex;
}

.tabs-container .tabs .tab-btn, .tabs-container .tabs .tab-btn-msource, .tabs-container .tabs .tab-btn-mtype, .tabs-container .tabs .tab-btn-admin {
  flex: 1;
  padding: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  position: relative;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-bottom: 1px solid #dedede;
  border-radius: 10px 10px 0 0;
}

.tabs-container .tabs .tab-btn-admin {
  background-color: #0f0f0f;
  border: 1px solid #0f0f0f;
  color: #ffffff;
  border-bottom: 1px solid #dedede65;
}

.tabs-container .tabs .tab-btn:hover, .tabs-container .tabs .tab-btn-msource:hover, .tabs-container .tabs .tab-btn-mtype:hover {
  background-color: #dedede42;
}

.tabs-container .tabs .tab-btn-admin:hover {
  background-color: #8988881e;
}

.tabs-container .tabs .tab-btn.active, .tabs-container .tabs .tab-btn-msource.active, .tabs-container .tabs .tab-btn-mtype.active, .tabs-container .tabs .tab-btn-admin.active {
  font-weight: bold;
  border-radius: 10px 10px 0 0;
  border: 1px solid #dedede;
  background-color: #dedede;
  color: #0f0f0f;
}

.tabs-container .tabs .tab-btn-admin.active {
  border: 1px solid #dedede23;
  background-color: #898888;
  color: #ffffff;

}

.tabs-container .tabs .tab-btn-admin.active:hover {
  opacity: 0.875;
}

.tabs-container .tab-content {
  position: relative;
  height: fit-content;
}

.tabs-container .tab-content .tab-panel, .tabs-container .tab-content .tab-panel-msource, .tabs-container .tab-content .tab-panel-mtype  {
  position: relative;
  width: 100%;
  padding: 10px 0;
  transform: translateX(20px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  display: none;
  flex-direction: column;
  gap: 20px;
}

.tabs-container .tab-content .tab-panel p,  .tabs-container .tab-content .tab-panel-msource p, .container main .tab-top p, .tabs-container .tab-content .tab-panel-mtype p, .tab-panel-admin .tab-top p {
  font-size: 14px;
  color: #898888;
  line-height: 30px;
}

.tabs-container .tab-content .tab-panel p i,  .tabs-container .tab-content .tab-panel-msource p i, .container main .tab-top p i, .tabs-container .tab-content .tab-panel-msource p i, .tab-panel-admin .tab-top i {
  font-size: 14px;
  line-height: 30px;
}

.tabs-container .tab-content .tab-panel p em,  .tabs-container .tab-content .tab-panel-msource p em, .container main .tab-top p em, .tabs-container .tab-content .tab-panel-mtype p em {
  color: #0f0f0f;
}

.tab-panel-admin .tab-top p em {
  color: #ffffff;
}

.tabs-container .tab-content .tab-panel p strong, .tabs-container .tab-content .tab-panel-msource p strong, .container main .tab-top p strong, .tabs-container .tab-content .tab-panel-mtype p strong, #toggleMarketSourceTab .tab-content .tab-panel p strong, #toggleMarketSourceTab .tab-content .tab-panel-msource p strong, .tab-panel-admin .tab-top p strong {
  font-size: 15px;
  font-weight: normal;
  color: #088000;
}

.tabs-container.strongRed .tab-content .tab-panel p strong, .tabs-container.strongRed .tab-content .tab-panel-mtype p strong {
  color: #ff3b3b;

}

.tabs-container .tab-content .tab-panel.active,  .tabs-container .tab-content .tab-panel-msource.active, .tabs-container .tab-content .tab-panel-mtype.active {
  display: flex;
  transform: translateX(0);
  pointer-events: auto;
}

.tabs-container .tab-content .tab-top, .tabs-container .tab-content .tab-top button, .container main .tab-top, .tab-panel-admin .tab-top button, .tab-panel-admin .tab-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.tabs-container .tab-content .tab-top button, .tab-panel-admin .tab-top button {
  gap: 5px;
}

.container main#ordersTrackMain .tab-top, .container main#earningsTrackMain .tab-top,  .container main#agentWithdrawalH .tab-top {
  width: 100%;
  margin: 10px auto;
}

.container main#orderMain .tab-top , .container .agentWithdrawalH, .container#agentWithdrawalH {
  width: 100%;
}

.tabs-container .tab-content .tab-top button, .container main .tab-top button, .tab-panel-admin .tab-top button {
  background-color: #0f0f0f;
  padding: 8px 16px;
  color: #ffffff;
  border: none;
  font-size: 14px;
  border-radius: 4px;
  gap: 5px;
  cursor: pointer;
}

.tab-panel-admin .tab-top button {
  color: #0f0f0f;
  background-color: #ffffff;
}

.tabs-container .tab-content .tab-top button:hover, .container main .tab-top button:hover, .tab-panel-admin .tab-top button:hover {
  opacity: .875;
}

.tabs-container .tab-content .tab-panel .cards, .tabs-container .tab-content .tab-panel-mtype .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.tabs-container .tab-content .tab-panel .cards a.card, .tabs-container .tab-content .tab-panel-mtype .cards a.card {
  text-emphasis: none;
  border-radius: 4px;
  padding: 8px 16px;
  border: 1px solid #8988886b;
  position: relative;
  padding: 15px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.tabs-container .tab-content .tab-panel .cards a.card:hover, .admin-tab-content .cards .card:hover, .tabs-container .tab-content .tab-panel-mtype .cards a.card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.admin-tab-content .cards .card:hover {
  box-shadow: 0 4px 8px hsla(0, 100%, 62%, 0.443);

}

.tabs-container .tab-content .tab-panel .cards a.card i.fa-solid, .tabs-container .tab-content .tab-panel .cards a.card i.fa-brands, .tabs-container .tab-content .tab-panel-mtype .cards a.card i.fa-solid, .tabs-container .tab-content .tab-panel-mtype .cards a.card i.fa-brands {
  font-size: 35px;
  margin-bottom: 10px;
  display: inline-block;
  color: #0f0f0f;
}

.tabs-container .tab-content .tab-panel .cards a.card i.fa-brands {
  color: rgba(9, 128, 0, 0.774)
}

.tabs-container .tab-content .tab-panel .cards a.card h2, .tabs-container .tab-content .tab-panel-mtype .cards a.card h2 {
  font-size: 18px;
  margin-bottom: 6px;
}

.tabs-container .tab-content .tab-panel .cards a.card p, .tabs-container .tab-content .tab-panel-mtype .cards a.card p {
  font-size: 14px;
  line-height: 1.6;
  color: inherit;
}

.tabs-container .tab-content .tab-panel .cards a.card .label, .tabs-container .tab-content .tab-panel-mtype .cards a.card .label {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  margin-top: 10px;
  font-size: 14px;
  color: #898888;
}

.tabs-container .tab-content .tab-panel .cards a.card .label p, .tabs-container .tab-content .tab-panel-mtype .cards a.card .label p {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.tabs-container .tab-content .tab-panel .cards a.card .label button, .tabs-container .tab-content .tab-panel-mtype .cards a.card .label button {
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  border: 1px solid #898888a4;
  color: #0f0f0f;
  cursor: pointer;
}

.tabs-container .tab-content .tab-panel .cards a.card .tag, .tabs-container .tab-content .tab-panel-mtype .cards a.card .tag {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 6px 10px;
  background: #008000;
  color: #ffffff;
  border-radius: 4px;
}

.tabs-container .tab-content .tab-panel .cards a.card .card:hover .tag, .tabs-container .tab-content .tab-panel-mtype .cards a.card .card:hover .tag {
  background: #ffffff;
  color: #000;
  border-color: #ffffff;
}

.table-wrapper  {
  border-radius: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #000000 #eeeeee;
}

.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
  background: #eeeeee;
  border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7a7a7a, #898888);
  border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #088000;
}

.containerAdmin .table-wrapper {
  padding: 10px 0;
}

.table-wrapper table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.containerAdmin .table-wrapper table {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.212);
  border-radius: 4px;
}

.table-wrapper table thead {
  background: #000;
  color: #fff;
}

.table-wrapper table thead tr th, .table-wrapper table tbody tr td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  text-align: left;
}

.table-wrapper table tbody tr td .contactOwer {
  font-size: 12px;
}

.table-wrapper table tbody tr td .adm-user-profile {
  display: flex;
  gap: 10px;
  align-items: center;
}

.table-wrapper table tbody tr td .adm-user-profile img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
}


.table-wrapper table tbody tr td em {
  color: #898888;
  font-size: 12px;
}

.table-wrapper table tbody tr td img.product-img {
  width: 55px;
  height: 55px;
  border-radius: 4px;
  object-fit: cover;
}

.table-wrapper table tbody tr td .badge, .cards .order-card .card-row .badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
}

.table-wrapper table tbody tr td .paid, .table-wrapper table tbody tr td .active, .cards .order-card .card-row .paid { background:#e7f6ec; color:#088000; }
.table-wrapper table tbody tr td .pending, .cards .order-card .card-row .pending { background:#fff3cd; color:#856404; }
.table-wrapper table tbody tr td .delivered, .table-wrapper table tbody tr td .approved, .cards .order-card .card-row .delivered { background:#e7f6ec; color:#088000; }
.table-wrapper table tbody tr td .shipped, .cards .order-card .card-row .shipped { background:#e8f0fe; color:#1a4fd8; }
.table-wrapper table tbody tr td .processing, .cards .order-card .card-row .processing { background:#eee; }
.table-wrapper table tbody tr td .verified,  .table-wrapper table tbody tr td.actions button.btn-activate {background-color: #3c9636; color: #ffffff; border-radius: 15px;}
.table-wrapper table tbody tr td.actions button.btn-activate {
  border-radius: 4px;
  background-color: #088000;
}
.table-wrapper table tbody tr td .unverified {background-color: #ff3b3b; color: #ffffff; border-radius: 15px;}
.table-wrapper table tbody tr td span.suspendedSpan {background-color: #89888834; color: #898888; border-radius: 15px;}
.table-wrapper table tbody tr td span.pendingDocs {background-color: #fff3cd; color: #856404; border-radius: 15px;}
.table-wrapper table tbody tr td.actions button.btn-deactivate {
  background-color: #d3b55b;
}
.table-wrapper table tbody tr td .suspended {background-color: #89888834; color: #898888;}
.table-wrapper table tbody tr td.actions div {
  display: flex;
  gap: 6px;
  justify-content: center;
  width: 100%;
}

.table-wrapper table tbody tr td.actions button, .cards .order-card .card-actions button {
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  margin-right: 4px;
  cursor: pointer;
}

.table-wrapper table tbody tr td.actions button:hover, .cards .order-card .card-actions button:hover {
  opacity: 0.875;
}

.table-wrapper table tbody tr td.actions button.btn-view, .cards .order-card .card-actions button.btn-view { background:#0f0f0f; color:#ffffff; }
.table-wrapper table tbody tr td.actions button.btn-copy-link { background:#8988888c; color:#0f0f0f; }
.table-wrapper table tbody tr td.actions button.btn-track, .cards .order-card .card-actions button.btn-track { background:#ddd; }
.table-wrapper table tbody tr td.actions button.btn-copy-link, .table-wrapper table tbody tr td.actions button.btn-activate, .table-wrapper table tbody tr td.actions button.btn-deactivate {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: fit-content;
}
.table-wrapper table tbody tr td.actions button.btn-cancel, .cards .order-card .card-actions button.btn-cancel { background:#fdecea; color:#ff3b3b;
}
.table-wrapper table tbody tr td.actions button.btn-edit {
  background-color: #088000;
  color: #ffffff;
}
.table-wrapper table tbody tr td.actions button.btn-suspend {
  background-color: #c9a327b9;
  color: #ff3b3b;
}
.table-wrapper table tbody tr td.actions button.btn-delete {
  background-color: #ff3b3b;
  color: #ffffff;
}
.table-wrapper table tbody tr td.actions button.btn-ship, .container main.buyerMain .cards .order-card .card-actions button.btn-ship {
  background-color: #088000;
  color: #ffffff;
}

.table-wrapper table tbody tr td.comm-cell {
  position: relative;
  width: fit-content;
}

.table-wrapper table tbody tr td.comm-cell .comm-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #dedede;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity .2s ease;
}

.table-wrapper table tbody tr td.comm-cell .comm-btn i {
  color: #0f0f0f;
  font-size: 14px;
}

.table-wrapper table tbody tr td.comm-cell .comm-btn:hover {
  opacity: 0.65;
}

/* ================= DROPDOWN ================= */
.table-wrapper table tbody tr td.comm-cell .comm-dropdown {
  position: absolute;
  top: 80%;
  left: 0;
  min-width: 180px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 999;
  overflow: hidden;
  border: 1px solid #dedede;
}

.table-wrapper table tbody tr td.comm-cell .comm-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.table-wrapper table tbody tr td.comm-cell .comm-dropdown a i {
  width: 18px;
  color: #0f0f0f;
}

.table-wrapper table tbody tr td.comm-cell .comm-dropdown a:hover {
  background: #f1f1f1;
}

.container main.buyerMain .cards {
  display: none;
  gap: 14px;
  width: 100%;
}

.container main.buyerMain .cards .order-card {
  background: #fff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 2px 4px rgba(0,0,0,.08);
  background-color: #dedede18;
  border: 1px solid #dedede;
}

.container main.buyerMain .cards .order-card .card-header {
  display: flex;
  gap: 12px;
}

.container main.buyerMain .cards .order-card .card-header img {
  width: 70px;
  height: 70px;
  border-radius: 6px;
}

.container main.buyerMain .cards .order-card .card-header .card-title {
  font-weight: bold;
  font-size: 15px;
}

.container main.buyerMain .cards .order-card .card-header .card-meta {
  font-size: 13px;
  color: #666;
}

.container main.buyerMain .cards .order-card .card-row {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 13px;
  padding-bottom: 5px;
  border-bottom: 1px dashed #898888a4;
}

.container main.buyerMain .cards .order-card .card-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.container main.buyerMain .toggleOrdersOrMarket, .container main.agentWithdrawalH .toggleOrdersOrMarket {
  text-align: center;
  color: #898888;
  width: 100%;
  font-size: 14px;
  margin: 35px auto;
}

.container main.buyerMain .toggleOrdersOrMarket button, .container main.agentWithdrawalH .toggleOrdersOrMarket button {
  padding: 4px 8px;
  border: none;
  border-radius: 4px;
  background-color: #0f0f0f;
  color: #ffffff;
  cursor: pointer;
}

.container main.buyerMain .toggleOrdersOrMarket button:hover, .container main.agentWithdrawalH .toggleOrdersOrMarket button:hover {
  opacity: 0.875;
}

/* Oder Management Section CSS */
.container main.buyerMain#orderMain, .container main.buyerMain#ordersTrackMain, .container main.buyerMain#earningsTrackMain, .container main.agentWithdrawalH, .container main.buyerMain#productsAgentMain {
  background-color: #ffffff;
  display: none;
}

.container main.buyerMain .order-group {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ddd;
  overflow: hidden;
  margin-bottom: 24px;
  width: 100%;
}

.container main.buyerMain .order-group .order-header {
  background: #898989;
  color: #ffffff;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.container main.buyerMain .order-group .order-header span {
  font-size: 12px;
  opacity: 0.8;
}

.container main.buyerMain .order-group .order-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 10px;
  padding: 10px;
}

.container main.buyerMain .order-group .order-items-grid .order-item {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 14px;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top .item-info h4 {
  margin: 0;
  font-size: 15px;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top .item-info p {
  margin: 3px 0;
  font-size: 12.5px;
  color: #555;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top .item-info span.market-badge {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  margin-bottom: 4px;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top .item-info .status {
  font-weight: bold;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-top .item-info .status.shipped { color: #0a7a2f; }
.container main.buyerMain .order-group .order-items-grid .order-item .item-top .item-info .status.processing { color: #b36b00; }

.container main.buyerMain .order-group .order-items-grid .order-item .item-actions {
  margin-top: 10px;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-actions button {
  background: none;
  border: none;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
  margin-right: 10px;
  padding: 0;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-extra {
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-extra.active {
  max-height: 300px;
  opacity: 1;
}

.container main.buyerMain .order-group .order-items-grid .order-item .item-extra .extra-box {
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 10px;
  font-size: 12.5px;
  background: #fafafa;
  margin-bottom: 8px;
}

.container main .formContainer h1, .containerAdmin section h1 span {
  animation: wiggle 2s ease-in-out infinite;
}

.container main .formContainer form {
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 20px 12px;
  padding-bottom: 50px;
  font-size: 14px;
  height: fit-content;
  width: fit-content;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  margin: 0 auto;
  width: clamp(200px, 100%, 900px);
  max-width: 900px;
}

.container main .formContainer form .form-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;

}

@media screen and (max-width: 515px) {
  .container main .formContainer form .form-content-wrapper {
    grid-template-columns: 1fr;
  }
  
}

.container main .formContainer form .form-content-wrapper .form-content {
  display: flex;
  flex-direction: column;
  gap: 16px;

}

.container .formContainer form .selectorBox {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.container .formContainer form .selectorBox span {
  font-size: 14px;
}

.container .formContainer form .selectorBox select, .container main .formContainer form input, .container main .formContainer form .socialLogin, .container main .formContainer form .socialRegister, .container main .formContainer form .remember-me, .container main .formContainer form .inpBox {
  outline: none;
  border: 1px solid #dedede;
  border-radius: 4px;
  margin-bottom: 10px;
  padding: 8px 16px;
  font-size: 14px;
  width: 100%;
  color: #898888;
}

.container .formContainer form .selectorBox select {
  color: #0f0f0f;
}

.container main .formContainer form .account-type {
  width: 100%;
  padding: 8px 0;
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
}

.container main .formContainer form .account-type .account-icon {
  background-color: #dedede;
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.container main .formContainer form .account-type p {
  color: #898888;
  font-size: 14px;
}

.container main .formContainer form .inpBox {
  padding: 0;
  position: relative;
  border: none;
  margin-bottom: 10px;
}

.container main .formContainer form .inpBox input {
  margin-bottom: 0;
}

.container main .formContainer form .inpBox label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  pointer-events: none;
  transition: 0.2s ease all;
  background-color: white;
}

.container main .formContainer form .inpBox {
  position: relative;
}

.container main .formContainer form .inpBox input:focus + label,
.container main .formContainer form .inpBox input:not(:placeholder-shown) + label {
  top: 0;
  font-size: 13px;
  color: black;
  transform: translateY(-50%) translateY(0);
  padding: 0 4px;
}

.container main .formContainer form .inpBox i {
  font-size: 17px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  padding: 8px;
  color: #0f0f0f;
}

.container main .formContainer form .inpBox i.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  transition: color 0.3s ease;
}

.container main .formContainer form .inpBox i.fa-eye-slash {
  color: #898888;
}

.container main .formContainer form .inpBox .password-strength {
  margin-top: 8px;
  font-size: 13px;
  display: none;
}

.container main .formContainer form .inpBox .password-strength.active {
  display: block;
}

.container main .formContainer form .inpBox .password-strength .strength-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}

.container main .formContainer form .inpBox .password-strength .strength-bar .strength-fill {
  height: 100%;
  width: 0%;
  background: #ff3b3b;
  transition: width 0.3s ease, background 0.3s ease;
}

.container main .formContainer form .inpBox .password-strength .strength-rules {
  list-style: none;
  padding: 0;
  margin: 0;
}

.container main .formContainer form .inpBox .password-strength .strength-rules li {
  color: #9ca3af;
}

.container main .formContainer form .inpBox .password-strength .strength-rules li.valid {
  color: #16a34a;
}

.container main .formContainer form input {
  color: black;
}

.container main .formContainer form button, .container main form.actpContainer button {
  color: white;
  background-color: #0f0f0f;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
  font-size: 14px;
}

.container main .formContainer form button:hover, .container main form.actpContainer button:hover {
  opacity: 0.875;
}

.container main .tab-top, .tab-panel-admin .tab-top {
  margin: 10px 0;
  width: 100%;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 385px) {
  .container header {
    padding: 20px 10px;
  }
}

@media (max-width: 635px) {
  .container header .rhs i.fa-bars {
    display: block;
  }
}

@media (max-width: 770px) {
  .container header.pgHeader section {
    flex-direction: column;
  }

  .container header.pgHeader section .sContainer {
    width: 100%;
    justify-content: start
  }

  .container header.pgHeader section .rhs {
    width: 100%;
  }

  .container header.pgHeader section .rhs a.lkOdr {
    padding-left: 5px;
    padding-right: 5px;
  }

  .container main.buyerMain .tabs-container, .container main.buyerMain h1, .container main.buyerMain .filter-bar, .container main.buyerMain .table-wrapper, .containerAdmin .admin-tab-panel .table-wrapper .filter-bar, .container main.buyerMain .agentHeader {
    width: 100%;
  }

  .container main .tab-top, main.agentWithdrawalH, .tab-panel-admin .tab-top {
    margin: 10px 0;
    width: 100%;
    align-items: center;
    flex-shrink: 0;
  }

  .container main .tab-top button, .tab-panel-admin .tab-top button {
    display: flex;
    gap: 3px;
    align-items: center;
    justify-content: center;
  }

  .container main#ordersTrackMain .tab-top, .container main.buyerMain#earningsTrackMain, .container main#earningsTrackMain .tab-top, .container main#agentWithdrawalH .tab-top, .tab-panel-admin .tab-top {
    margin: 10px 0;
    width: 100%;
  }

  .container main.buyerMain .table-wrapper {
    display: none;
  }

  .container main.buyerMain .table-wrapper.sellerOrdersTrack, .container main.buyerMain .table-wrapper.agentEarningsTrack  {
    display: block;
  }
  
  .container main.buyerMain .cards {
    display: grid;
  }

  .container main.buyerMain .toggleOrdersOrMarket {
    width: 100%;
  }
}

/* Login */
.container main .formContainer {
  padding: 50px 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.container main .formContainer section, .container main .formContainer .top {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-direction: column;
}

.container main .formContainer section h3 {
  font-size: 18px;
  text-align: center;
}

.container main .formContainer .top {
  flex-direction: row;
}

.container main .formContainer h2 {
  font-size: 16px;
  text-align: center;

}

.container main .formContainer form h2 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 20px;
}

.container main .formContainer form p.errorMessage, .container main .formContainer form p.successMessage, .container main form.actpContainer p.errorMessage, .tab-content .tab-panel p.errorMessage, .tab-content .tab-panel p.successMessage, .tab-panel-admin .form-wrapper form .errorMessage {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #ff3b3b;
}

.container main .formContainer form p.successMessage, .tab-content .tab-panel p.successMessage,.tab-panel-admin .form-wrapper form .successMessage {
  color: #088000;
}

.container main .formContainer form input::placeholder {
  font-size: 14px;
}

.container main .formContainer form .remember-me {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  border: none;
  margin-bottom: 0;
  color: #0f0f0f;
  cursor: pointer;
  padding: 10px 0;
}

.container main .formContainer form .remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #0f0f0f;
  text-align: center;
  margin-bottom: 0;
  cursor: pointer;
}

.container main .formContainer form .remember-me label {
  cursor: pointer;
}

.container main .formContainer form p.reDctor {
  font-size: 14px;
  margin-top: 10px;
  text-align: center;
}

.container main .formContainer form p.reDctor a.anchFgt {
  text-decoration: underline;
}

.container main .formContainer form p.reDctor a {
  text-decoration: none;
}

.container main .formContainer form p.reDctor a:hover {
  text-decoration: underline;
}

.container main .formContainer form .or-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #898888;
  font-weight: bold;
  margin: 16px 0;
}

.container main .formContainer form .or-divider::before,
.container main .formContainer form .or-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e0e0e0;
  margin: 0 10px;
}

.container main .formContainer form .socialLogin, .container main .formContainer form .socialRegister {
  display: flex;
  gap: 10px;
  cursor: pointer;
  color: #0f0f0f;
  justify-content: center;
  align-items: center;
}

.container main .formContainer form .socialLogin:hover, .container main .formContainer form .socialRegister:hover {
  color: #898888;
}

.container main .formContainer form .socialLogin p, .container main .formContainer form .socialRegister p {
  font-size: 14px;
}

.container main .formContainer form .account-type-box {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 8px 16px;
  border: 1px solid #dedede;
  border-radius: 4px;
}

.container main .formContainer form .account-type-box .account-title {
  width: 100%;
  color: #898888;

}

.container main .formContainer form .account-type-box label.account-type {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  color: #898888;
  padding: 6px;
  border: 1px solid #dedede;
  background-color: #ffffff;
  border-radius: 4px;
  width: fit-content;
}

/* ---- RADIO UI ---- */
label.account-type input { display: none; }

label.account-type .radio-dot {
  width: 16px;
  height: 16px;
  border: 1px solid #898888;
  border-radius: 50%;
  position: relative;
}

label.account-type input:checked + .radio-dot {
  border-color: #000;
}

label.account-type input:checked + .radio-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.container main .formContainer form .account-type-box label input {
  margin-bottom: 0;
  cursor: pointer;
}

/* Register a). account Selection */
.container main form.actpContainer {
  padding: 50px 20px;
  align-items: normal;
  min-height: 60vh;
  text-align: center;
}

.container main form.actpContainer h1 {
  font-size: 25px;
  color: #0f0f0f;
  text-align: center;
  margin-bottom: 20px;
}

.container main form.actpContainer p.errorMessage {
  margin-bottom: 16px;
  justify-content: center;
}

.container main form.actpContainer .actpGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 16px;
}

.container main form.actpContainer .actpGrid .account-card {
  position: relative;
  background: white;
  border-radius: 4px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
  cursor: pointer;
}

.container main form.actpContainer .actpGrid .account-card.selected {
  background-color: #09800046;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.container main form.actpContainer .actpGrid .account-card:hover {
  transform: translateY(-5px);
}

.container main form.actpContainer .actpGrid .account-card input[type="radio"] {
  display: none;
}

.container main form.actpContainer .actpGrid .account-card .account-icon {
  font-size: 40px;
  margin-bottom: 10px;
  filter: grayscale(100%) brightness(100%) invert(20%);
}

.account-card input[type="radio"]:checked ~ .account-icon::before {
  content: '✔';
  position: absolute;
  top: 10px;
  left: 10px;
  width: 16px;
  height: 16px;
  border: none;
  background-color: #0f0f0f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
}

.account-card input[type="radio"]:checked ~ .account-label {
  color: #0f0f0f;
}

.container main form.actpContainer .actpGrid .account-card .account-label {
  font-size: 16px;
  font-weight: bold;
}

.container main form.actpContainer .actpGrid .account-card .account-desc {
  font-size: 0.9em;
  margin-top: 0.5em;
  color: #898888;
}

.container main form.actpContainer button {
  margin-top: 20px;
}

/* Footer */
.container footer, .containerAdmin footer {
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
  padding: 10px;
  margin-top: 40px;
}

.containerAdmin footer {
  box-shadow: 0 -2px 4px rgba(255, 255, 255, 0.1);

}

.container footer p, .containerAdmin footer p {
  color: #898888;
  font-size: 14px;
  text-align: center;
}

/* Buyer profile page */
.container main.profile-main .profile-container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container main.profile-main .profile-container .success {
  color:#088000;
  padding:10px;
  border-radius:4px;
  margin-bottom:10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.container main.profile-main .profile-container .profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.container main.profile-main .profile-container .profile-header .profile-pic {
  position: relative;
}

.container main.profile-main .profile-container .profile-header .profile-pic img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.container main.profile-main .profile-container .profile-header .profile-pic input { display:none; }

.container main.profile-main .profile-container .profile-header .profile-pic label {
  position:absolute;
  bottom:0;
  right:0;
  background:#898888;
  color:#fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:8px;
  height: 35px;
  width: 35px;
  border-radius:50%;
  cursor:pointer;
}

.container main.profile-main .profile-container .profile-header .profile-pic label:hover {
  opacity: .875;
}

.container main.profile-main .profile-container .profile-form {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:20px;
}

.container main.profile-main .profile-container .profile-form .form-group { display:flex; flex-direction:column; }
.container main.profile-main .profile-container .profile-form .form-group label { font-size:14px; margin-bottom:6px; color:#555; }

.container main.profile-main .profile-container .profile-form .form-group input,
.container main.profile-main .profile-container .profile-form .form-group select,
.container main.profile-main .profile-container .profile-form .form-group textarea {
  padding:10px;
  border:1px solid #ccc;
  border-radius:4px;
}

.container main.profile-main .profile-container .profile-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.container main.profile-main .profile-container .profile-form .form-group input:focus,
.container main.profile-main .profile-container .profile-form .form-group select:focus,
.container main.profile-main .profile-container .profile-form .form-group textarea:focus {
  outline:none;
  border-color:#0f0f0f;
}

.container main.profile-main .profile-container .profile-form button {
  background:#0f0f0f;
  color:#fff;
  border:none;
  padding:12px 24px;
  border-radius:4px;
  cursor:pointer;
  width: 100%;
}

.container main.profile-main .profile-container .profile-form button:hover {
  opacity:.875;
}
/* HELP CENTER */
.container.faq-wrapper {
  width: 100%;
}

.container main.help-centre-main .support-btn {
  position: absolute;
  right: 24px;
  top: 0;
  padding: 8px 16px;
  background: #0f0f0f;
  color: #ffffff;
  border: 1px solid #0f0f0f;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.container main.help-centre-main .support-btn:hover {
  opacity: 0.785;
}


.container main.help-centre-main .faq-header {
  margin-bottom: 36px;
}

.container main.help-centre-main .faq-header h1 {
  font-size: 30px;
  font-weight: bold;
  letter-spacing: -0.2px;
  margin-bottom: 6px;
}

.container main.help-centre-main .faq-header p {
  font-size: 14px;
  color: #008000;
  max-width: 760px;
}

/* FAQ LIST */
.container main.help-centre-main .faq-list {
  border-top: 1px solid #dedede;
}

.container main.help-centre-main .faq-list .faq-item {
  border-bottom: 1px solid #dedede;
  padding: 22px 0;
}

.container main.help-centre-main .faq-list .faq-item .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  outline: none;
}

.container main.help-centre-main .faq-list .faq-item .faq-question h3 {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.container main.help-centre-main .faq-list .faq-item .faq-question:focus-visible {
  outline: 2px solid #0f0f0f;
  outline-offset: 4px;
  border-radius: 6px;
}

.container main.help-centre-main .faq-list .faq-item .faq-question .chevron {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
  flex-shrink: 0;
}

.container main.help-centre-main .faq-list .faq-item.active .faq-question .chevron {
  transform: rotate(180deg);
}

.container main.help-centre-main .faq-list .faq-item .faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition:
    max-height 0.45s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.container main.help-centre-main .faq-list .faq-item .faq-answer p {
  font-size: 14px;
  color: #898888;
  padding-top: 14px;
  max-width: 800px;
}

.container main.help-centre-main .faq-list .faq-item.active .faq-answer {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .container main.help-centre-main .support-btn {
    position: static;
    margin-bottom: 24px;
  }
}

/* =====================
  SELLERS GRID
  (Auto-adjusts layout)
===================== */
.sellers {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* =====================
   SELLER ITEM (NOT A CARD)
===================== */
.seller {
  padding: 16px 10px;
  border-bottom: 1px solid #dedede;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  border: 1px solid #dedede;
  background-color: #dedede41;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.sellers .no-market-message {
  color: #898888;
}

.seller.mDisplay {
  box-shadow: none;
}

.seller-left {
  display: flex;
  gap: 10px;
}

.avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #898888;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.name {
  font-size: 16px;
  font-weight: bold;
}

.rating {
  font-size: 12px;
  color: rgb(255, 174, 0);
}

.meta {
  color: #0f0f0f;
  margin-top: 4px;
  font-weight: bold;
  display: flex;
  gap: 5px;
  align-items: center;
}

.meta h2 {
  color: #0f0f0f;
  font-size: 14px;
}

.meta h2 span {
  color: #898888;
  font-weight: normal;
}

.meta h2.followBtn, .meta h2.followingBtn {
  font-weight: normal;
  background-color: #0f0f0f;
  padding: 4px 16px;
  border: none;
  border-radius: 4px;
  color: white;
  text-align: center;
  width: fit-content;
  font-size: 12px;
  cursor: pointer;
}

.meta h2.followingBtn {
  color: #0f0f0f;
  background-color: #dedede;
  border: 1px solid #8988886b;
}

.meta h2.followBtn:hover {
  opacity: .875;
}

/* =====================
   PRICE SIDE
===================== */
a.seller-right {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
  justify-content: center;
  cursor: default;
  text-decoration: none;
}

.promo-badge-container {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  gap: 5px;
  color: #898888;
}

.promo-badge-container .promoBadgeDefault {
  background: #dedede;
  color: #898989;
  border: none;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: bold;
  border: 1px solid #dedede;
  font-size: 14px;
  min-width: 50px;
  text-align: center;
}

.promo-badge-container .promoBadgeGoGold {
  background: linear-gradient(
    145deg,
    #FFF3B0,
    #FFD700,
    #C9A227,
    #8B7500
  );
  color: #0f0f0f;
  border: none;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: bold;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.6),
    0 4px 10px rgba(0, 0, 0, 0.35);
  font-size: 14px;
  min-width: 50px;
  text-align: center;
}

.promo-badge-container .promoBadgeGoPro {
  background: linear-gradient(
    135deg,
    #e8fff9 0%,
    #1fa169 20%,
    #0092af 55%,
    #004469 100%
  );
  color: #ffffff;
  border: none;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 20px;
  box-shadow:
    inset 0 1px 1px rgba(255,255,255,0.6),
    0 4px 10px rgba(0, 119, 182, 0.35);
  transition: all 0.25s ease;
  min-width: 50px;
  text-align: center;
}

.bsType {
  font-size: 12px;
  color: #898888;
  text-align: right;
}

.action {
  margin-top: 10px;
}

.action button {
  background: #ff3b3b;
  color: #ffffff;
  border: none;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 4px;
}

.action button:hover {
  opacity: .875;
}

/* =====================
   PAYMENT TAG
===================== */
.container form.paymentContainer {
  display: none;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  z-index: 1010;
  padding: 16px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #dedede;

}

.container form.paymentContainer h1 {
  font-size: 16px;
  color: #0f0f0f;
  font-weight: bold;
  text-align: center;

}

.container form.paymentContainer h1 span {
  color: #898888;
  font-weight: normal;
  font-size: 14px;
}

.container form.paymentContainer p {
  font-size: 14px;
  margin-right: 15px;
}

.container form.paymentContainer p span {
  color: #898888;
}

.container form.paymentContainer label, .container form.paymentContainer button {
  border: 1px solid #dedede;
  border-radius: 12px;
  width: 100%;
  padding: 8px 16px;

}

.container form.paymentContainer label, .container form.paymentContainer .rightDiv {
  display: flex;
  gap: 10px;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
}

/* Hide the default radio */
.radio-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Custom radio button */
.radio-container {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  user-select: none;
  font-size: 16px;
}

/* Create the circle */
.radio-container .checkmark {
  position: absolute;
  top: 50%;
  right: 5px;
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border: 2px solid #898888;
  border-radius: 50%;
  transform: translateY(-50%);
  transition: background 0.3s;
}

/* When checked, show inner dot */
.radio-container input:checked ~ .checkmark {
  background-color: #0f0f0f;
}

.radio-container input:checked ~ .checkmark::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffffff;
}

/* Inner dot */
.radio-container .checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

/* Show inner dot when checked */
.radio-container input:checked ~ .checkmark::after {
  display: block;
}

.container form.paymentContainer button {
  background-color: #dedede;
  font-size: 14px;
  cursor: pointer;
  color: #898888;
}

.container form.paymentContainer a {
  font-size: 15px;
  text-decoration: none;
}

.bsInfo {
  font-size: 12px;
  color: #898888;
  margin-top: 6px;
}

/* SELLER'S SHELF
=============== */
.container .sellerMain {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 8px 16px;
  padding-top: 60px;
}

.container .sellerMain .sellerProfileContainer {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  display: flex;
  padding: 20px 10px;
}

.container .sellerMain .sellerProfileContainer .seller {
  background-color: #ffffff;
  border: none;
}

.container .sellerMain .sellerProfileContainer .seller .seller-left {
  gap: 20px;
  align-items: center;
}

.container .sellerMain .sellerProfileContainer .seller .seller-left .avatar {
  height: clamp(100px, 20vw, 150px);
  width: clamp(100px, 20vw, 150px);
  min-height: 100px;
  min-width: 100px;
  font-size: 50px;
  font-weight: normal;
}

.container .sellerMain .sellerProfileContainer .seller .seller-right h2 {
  color: #0f0f0f;
  font-size: 14px;
  font-weight: normal;
  text-align: right;
}

/* =====================
   GRID LAYOUT
===================== */
.variables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

/* =====================
   variable CARD
===================== */
.variables-grid .variable-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  width: clamp(200px, 100%, 300px);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid #dedede;
  margin: 0 auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Add to cart button */
.variables-grid .variable-card .add-to-cart-btn {
  position: absolute;
  top: 10px;
  right: 10px;

  background: #088000;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-size: 12px;

  cursor: pointer;
  z-index: 2;
}

.variables-grid .variable-card .add-to-cart-btn:hover {
  opacity: .875;
}

.variables-grid .variable-card .add-to-cart-btn:active {
  transform: scale(0.95);
}

/* =====================
   IMAGE
===================== */
.variableAndSnacksImage {
  width: 100%;
  height: clamp(160px, 30vw, 220px);

  object-fit: cover;       /* 🔑 crops neatly, no distortion */
  object-position: center; /* keeps focus centered */

  display: block;
  background: #f4f4f4;     /* fallback if image is slow/broken */
  image-rendering: auto;
}

.variables-grid .variable-card:hover .variableAndSnacksImage {
  transform: scale(1.03);
  transition: transform 0.6s ease;
}

/* =====================
   CONTENT
===================== */
.variable-content {
  padding: 10px;
}

.variable-content .variable-title {
  font-size: 14px;
  font-weight: bold;
}/* 

.variable-content .variable-desc {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 12px;
} */

.variable-content .stock {
  font-size: 14px;
}

.variable-content .stock.in-stock{ color:#088000; }
.variable-content .stock.low-stock{ color:orange; }
.variable-content .stock.out-stock{ color:#ff3b3b; }

.variable-content .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.variable-content .price-row .price {
  font-size: 14px;
  font-weight: bold;
}

/* =====================
   BUTTON
===================== */
.buy-btn {
  background: #0f0f0f;
  color: #fff;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.buy-btn:hover {
  opacity: .875;
}

/* =====================
   CART
===================== */
.topSection {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-100%);

  width: 100%;
  max-width: 1299px;

  z-index: 1000;
  padding: 20px 10px;

  background: #ffffff;

  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  padding-bottom: 0;
  cursor: pointer;
  z-index: 1000;
}

/* Visible state */
.topSection.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

@supports (padding: env(safe-area-inset-top)) {
  .topSection {
    padding-top: calc(12px + env(safe-area-inset-top));
  }
}

.container section.topSection .cart-wrapper, .containerAdmin section .admin-rhs .notfy-wrapper {
  position: relative;
  width: fit-content;
  height: fit-content;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  
}

.container section.topSection .cart-wrapper:hover, .containerAdmin section .admin-rhs .notfy-wrapper:hover {
  transform: scale(1.24);
}

.container section.topSection .cart-wrapper .cart-icon, .containerAdmin section .admin-rhs .notfy-wrapper i {
  font-size: 33px;
}

.container section.topSection .cart-wrapper .cart-count,
.containerAdmin section .admin-rhs .notfy-wrapper span {
  position: absolute;
  top: 30%;
  right: 0;
  transform: translateY(-50%);

  background: #ff3b3b;
  color: #ffffff;
  font-size: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 22px;
  height: 22px;
  padding: 10px 3px;

  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.container section.topSection button {
  background-color: #0f0f0f;
  color: #ffffff;
  display: flex;
  gap: 5px;
  padding: 8px 16px;
  border: none;
  align-items: center;
  justify-content: space-between;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.container section.topSection button:hover {
  opacity: .875;
}

/* =====================
   CART BAR
===================== */
.container .cart-container {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  opacity: 0;

  width: calc(100% - 20px);   /* even breathing space */
  max-width: 1299px;

  background: #ffffff;
  color: #0f0f0f;

  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;

  padding: 20px 20px 30px;

  border-radius: 16px 16px 0 0;
  border: 1px solid #dedede;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  z-index: 1008;

  max-height: 85vh;
  overflow-y: auto;
  overflow-x: hidden;

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

/* visible */
.container .cart-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.container .cart-container::-webkit-scrollbar {
  width: 6px;
}

.container .cart-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
}

.container .cart-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #111, #444);
  border-radius: 6px;
}

.container .cart-container {
  scrollbar-width: thin;
  scrollbar-color: #333 rgba(0,0,0,0.05);
}

.container .cart-container .cartTop {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  width: 100%;
}

.container .cart-container h1 {
  font-size: 24px;
}

.container .cart-container .inner-cart-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.container .cart-container .inner-cart-container .cart-items {
  flex: 2;
}

.container .cart-container .inner-cart-container .cart-items .cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  border: 1px solid #dedede;
  border-radius: 4px;
  margin-bottom: 10px;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .cart-left img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .cart-left .cart-info h4 {
  font-weight: 500;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .cart-left .cart-info p {
  font-size: 0.9rem;
  color: #555;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .quantity-control, .order-container .card .seller-box .product .quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}


.container .cart-container .inner-cart-container .cart-items .cart-item .quantity-control .qty-btn, .order-container .card .seller-box .product .quantity-control .qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid #000;
  background: #ffffff;
  cursor: pointer;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .quantity-control .qty-number, .order-container .card .seller-box .product .quantity-control .qty-number {
  min-width: 20px;
  text-align: center;
}

.container .cart-container .inner-cart-container .cart-items .cart-item .cart-left .remove-btn {
  color: #999;
  font-size: 0.8rem;
  cursor: pointer;
}

.container .cart-container .inner-cart-container .cart-summary {
  flex: 1;
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 20px;
  height: fit-content;
}

.container .cart-container .inner-cart-container .cart-summary h1 {
  text-align: left;
  font-size: 18px;
  margin-bottom: 10px;
}

.container .cart-container .inner-cart-container .cart-summary .summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.container .cart-container .inner-cart-container .cart-summary .summary-row.summary-total {
  font-weight: bold;
  font-size: 14px;
  margin-top: 15px;
}

.container .cart-container .inner-cart-container .cart-summary .checkout-btn {
  width: 100%;
  padding: 8px 16px;
  border-radius: 4px;
  border: none;
  background: #000;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  margin-top: 20px;
}

.container .cart-container .inner-cart-container .cart-summary .checkout-btn:hover {
  opacity: .875;
}

.container .cart-container .inner-cart-container #emptyCartMessage.empty-cart {
  text-align: center;
  padding: 20px 10px;
  font-size: 16px;
  color: #898888;
  display: none;
  border: 1px solid #dedede;
  border-radius: 4px;
  flex: 2;
  height: fit-content;
}

@media(max-width: 768px) {
  .container .cart-container .inner-cart-container {
    flex-direction: column;
  }
}

/* SELLER PAGE */
.containerInner .grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:18px;
}

.containerInner .card, .form-wrapper .formBody .card {
  background:#fff;
  border-radius:4px;
  padding:20px;
  position:relative;
  border: 1px solid #dedede;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.containerInner .card:hover, .form-wrapper .formBody .card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.containerInner .card h3, .form-wrapper .formBody .card h3 {
  margin:0 0 10px;
  font-size:16px;
}

.containerInner .card h3 {
  font-weight: normal;
}

.containerInner .card .icon, .form-wrapper .formBody .card .icon {
  position:absolute;
  top:18px;
  right:18px;
  font-size:22px;
  color:#898888;
}

.containerInner .card .stat, .form-wrapper .formBody .card .stat {
  font-size:24px;
  font-weight:bold;
  margin-bottom:10px;
}

.containerInner .card .meta, .form-wrapper .formBody .card .meta {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

.containerInner .card .badge, .form-wrapper .formBody .card .badge {
  padding:4px 8px;
  border-radius:4px;
  font-size:12px;
  font-weight: normal;
  color: #0f0f0f;
}

.containerInner .card .badge.green{background:#0980001f; color: #088000;}
.containerInner .card .badge.yellow{background:#fef3c7; color: #856404;}
.containerInner .card .badge.red{background:#fee2e2;}
.containerInner .card .badge.blue{background:#e0f2fe; color: #1a4fd8;}

.containerInner .card .progress, .form-wrapper .formBody .card .progress {
  height:6px;
  background:#eee;
  border-radius:10px;
  margin:10px 0;
}

.containerInner .card .progress span, .form-wrapper .formBody .card .progress span {
  display: block;
  height: 100%;
  background: #0f0f0f;;
  border-radius: 10px;
}

.containerInner .card .actions {
  display:flex;
  gap:10px;
  margin-top:15px;
}

.containerInner .card .actions button {
  flex:1;
  padding:8px 16px;
  border:none;
  border-radius:4px;
  background:#0f0f0f;
  color:#ffffff;
  cursor:pointer;
}

.containerInner .card .actions button:hover {
  opacity: .875;
}

.containerInner .card p.small {
  font-size:12px;
}

/* PRODUCTS CSS */
.products-grid, .tab-panel-admin .products-grid-admin {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
}

.tab-panel-admin .products-grid-admin .noproducts-admin-p, .tab-panel-admin .products-grid-admin {
  padding: 10px;
  color: #898888;
}

.products-grid .card {
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: clamp(200px, 100%, 300px);
  margin: 0 auto;
  border: 1px solid #dedede;
}

.products-grid .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.products-grid .card:hover img {
  transform: scale(1.03);
  transition: transform 0.6s ease;
}

.products-grid .card .card-body {
  padding: 10px;
  flex: 1;
}

.products-grid .card .card-body .product-name {
  font-size: 14px;
  font-weight: bold;
}

.products-grid .card .card-body .product-meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px 0;
}

.products-grid .card .card-body .price {
  font-size: 16px;
  font-weight: bold;
}

.products-grid .card .card-body .stock {
  font-size:12px;
}

.products-grid .card .card-body .stock.in-stock{ color:green; }
.products-grid .card .card-body .stock.low-stock{ color:orange; }
.products-grid .card .card-body .stock.out-stock{ color:red; }
.products-grid .card .card-actions, .tab-panel-admin .products-grid-admin .product-card .card-actions {
  display:grid;
  border-top:1px solid #eee;
  grid-template-columns: 1fr 1fr;
}

.products-grid .card .card-actions button, .products-grid .card .card-actions a.edit, .tab-panel-admin .products-grid-admin .product-card .card-actions a.edit, .tab-panel-admin .products-grid-admin .product-card .card-actions button {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 14px;
}

.products-grid .card .card-actions a.edit, .tab-panel-admin .products-grid-admin .product-card .card-actions a.edit {
  text-decoration: none;
  text-align: center;
  color:#088000;
  width: 100%;
}

.products-grid .card .card-actions button:hover, .products-grid .card .card-actions a.edit:hover, .tab-panel-admin .products-grid-admin .product-card .card-actions a.edit:hover, .tab-panel-admin .products-grid-admin .product-card .card-actions button:hover {
  background:#f5f5f5;
}

.products-grid .card .card-actions button.delete, .tab-panel-admin .products-grid-admin .product-card .card-actions button.delete {
  color:#ff3b3b;
  width: 100%;
}

.empty {
  background:#fff;
  padding: 40px;
  border-radius: 14px;
  text-align: center;
  color: #666;
}

.empty i {
  font-size: 40px;
  margin-bottom: 10px;
}


/* ADD ITEM CSS */
.tab-content .tab-panel .form-wrapper, .tab-panel-admin .form-wrapper {
  padding: 35px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #dedede48;
}

.tab-content .tab-panel .form-wrapper h1, .tab-panel-admin .form-wrapper h1 {
  font-size: 18px;
  text-align: left;
  margin: 0;
}

.tab-content .tab-panel .form-wrapper form, .tab-panel-admin .form-wrapper form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: #ffffff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 80%;
}

.tab-content .tab-panel .form-wrapper.agency form select, .tab-panel-admin .form-wrapper form select {
  padding: 8px 16px;
  outline: none;
  border: 1px solid #dedede;
  font-size: 14px;
  color: #0f0f0f;
  width: fit-content;
  border-radius: 4px;
  background-color: #ffffff;

}

.tab-content .tab-panel .form-wrapper form .formBody, .tab-panel-admin .form-wrapper form .formBody { 
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;

}

.tab-panel .formBody.agency {
  display: none !important;
}

.tab-panel .formBody.agency.active {
  display: grid !important;
}

.tab-content .tab-panel .form-wrapper form .inp-box, .tab-panel-admin .form-wrapper form .inp-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 0;
  border-radius: 4px;
  align-items: flex-start;

}

.tab-content .tab-panel .form-wrapper form .inp-box label, .tab-panel-admin .form-wrapper form .inp-box label {
  font-size: 14px;
  color: #0f0f0f;
  width: 100%;
}

.tab-panel-admin .form-wrapper form .inp-box label.agency_code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-right: 8px;
}

.tab-panel-admin .form-wrapper form .inp-box label.agency_code i {
  color: #088000;
  background-color: #8988887c;
  height: 32px;
  width: 32px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
}

.tab-panel-admin .form-wrapper form .inp-box label.agency_code i:hover {
  opacity: .875;
}

.tab-content .tab-panel .form-wrapper form .inp-box input, .tab-panel-admin .form-wrapper input, .tab-content .tab-panel .form-wrapper form .inp-box select, .tab-panel-admin .form-wrapper form .inp-box select {
  padding: 8px 16px;
  border-radius: 4px;
  width: 100%;
  outline: none;
  border: 1px solid #dedede;
}

.tab-content .tab-panel .form-wrapper form .inp-box select, .tab-panel-admin .form-wrapper form .inp-box select {
  color: #0f0f0f;
}

.form-wrapper form .inp-box .edit-preview {
  border-radius: 4px;
  border: 1px solid #dedede;
  text-align: center;
  padding: 10px;
  padding-bottom: 5px;
}

.form-wrapper form .inp-box .edit-preview img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #dedede;
}

.form-wrapper form .inp-box .edit-preview p {
  font-size:12px;
  color: #856404;

}

.tab-content .tab-panel .form-wrapper form .inp-box .note, .tab-panel-admin .form-wrapper form .inp-box .note {
  font-size: 12px;
  color: #898888;
}

.tab-content .tab-panel .form-wrapper form .inp-box button, .tab-panel-admin .form-wrapper form .inp-box button {
  width: 100%;
}

.tab-content .tab-panel .form-wrapper form .formBody button, .tab-panel-admin .form-wrapper form .formBody button {
  background-color: #0f0f0f;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  align-self: flex-end;
}

.tab-content .tab-panel .form-wrapper form .formBody button:hover, .tab-panel-admin .form-wrapper form .formBody button:hover {
  opacity: .875;
}

@media(max-width: 670px) {
  .tab-content .tab-panel .form-wrapper form .formBody, .tab-panel-admin .form-wrapper form .formBody { 
    grid-template-columns: 1fr;
  }
  
  .tab-content .tab-panel .form-wrapper form, .tab-panel-admin .form-wrapper form {
    width: 100%;
  }
}

/* ===========================================
ADMIN DASHBOARD
============================================ */
body#adminBody {
  background-color: #0f0f0f;

}

.containerAdmin {
  background-color: #0f0f0f;
}

.containerAdmin section {
  display: flex;
  gap: 10px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  padding-bottom: 0;

}

.containerAdmin section h1 {
  font-size: 18px;
  text-align: left;
  color: #ffffff;
}

.containerAdmin section h1 span {
  color: #dedede;
  font-size: 18px;
  display: inline-block;
  margin: 0;
}

.containerAdmin section .admin-rhs {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;

}

.containerAdmin section .admin-rhs .notfy-wrapper {
  cursor: pointer;
}

.containerAdmin section .admin-rhs .notfy-wrapper i {
  font-size: 25px;
  color: #dedede;
}

.containerAdmin section .admin-rhs .notfy-wrapper span {
  position: absolute;
  top: 15%;
  right: -10px;
  background-color: #088000;
}

.containerAdmin section .admin-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.containerAdmin section .admin-profile p {
  font-weight: bold;
  color: #ffffff;
}

.containerAdmin section .admin-profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.containerAdmin section .admin-profile p em {
  color: #898888;
  font-weight: normal;
}

.containerAdmin main.adminMain {
  padding: 20px;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  animation: fadeIn 0.25s ease;
}

.containerAdmin main.adminMain .admin-tab-panel {
  width: 100%;
  border-radius: 4px;
  flex-direction: column;
  gap: 10px;
  display: none;
  animation: fadeSlide 0.35s ease;
}

.containerAdmin main.adminMain .admin-tab-panel.active {
  display: flex;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.containerAdmin main.adminMain .admin-tab-panel nav {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
  padding: 20px 10px;
  width: 100%;

}

.containerAdmin main.adminMain .admin-tab-panel nav p {
  font-size: 16px;
  color: #ffffff;
}

.containerAdmin main.adminMain .admin-tab-panel nav ul {
  display: flex;
  gap: 5px;
}

.containerAdmin main.adminMain .admin-tab-panel nav ul a {
  text-decoration: none;
  color: #088000;
  font-weight: bold;
  font-size: 14px;
}

.containerAdmin main.adminMain .admin-tab-panel nav ul a.active {
  color: #898888;
  font-weight: normal;
}

.containerAdmin main.adminMain .admin-tab-panel h2, .containerAdmin main.adminMain .admin-tab-panel .table-wrapper h3 {
  font-size: 18px;
  font-weight: bold;
  text-align: left;
  padding: 10px 10px;
  color: #ffffff;
}

.containerAdmin main.adminMain .admin-tab-panel h2 {
  padding: 10px 0;
}

.containerAdmin main.adminMain .admin-tab-panel .table-wrapper h3 {
  font-size: 16px;
  padding: 10px 0 0 0;
}

@media screen and (max-width: 440px) {
  .containerAdmin section {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* CARDS */
.admin-tab-content .cards {
 display: grid;
 grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
 gap: 20px;
 margin-bottom: 20px;
}

.admin-tab-content .cards .card {
  background: linear-gradient(135deg, #ffffff, #dedede);
  border-radius: 4px;
  padding: 10px;
  color: #0f0f0f;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;

}

.admin-tab-content .cards .card.sub-card {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-tab-content .cards .card.sub-card i {
  color: #898888;
  font-size: 30px;
}

.admin-tab-content .cards .card h3 {
  font-size: 14px;
  margin-bottom: 4px;
  color: #898888;
  font-weight: normal;
}

.admin-tab-content .cards .card .value{
  font-size: 24px;
  font-weight: bold;
}

.admin-tab-content .cards .card .sub {
  font-size: 13px;
  margin-bottom: 8px
}

.admin-tab-content .cards .card .progress {
 height:8px;
 background:#898888;
 border-radius:5px;
 margin:10px 0
}

.admin-tab-content .cards .card .progress .bar {
  height:100%;
  background:#0f0f0f;
  border-radius:5px
}

.admin-tab-content .cards .card small {
  color: #088000
}

.admin-tab-content .cards .card .list{
  list-style:none;
  font-size:14px;
  margin-top:10px
}

.admin-tab-content .cards .card .list li {
  display:flex;
  justify-content:space-between;
  padding:5px 0;
  border-bottom:1px dashed #898888;
}

.admin-tab-content .cards .card .profit{
  color:#856404;
  font-weight:bold
}

.admin-tab-content .cards .card .net-profit {
  color:#088000;
  font-weight:bold
}

.admin-tab-content .cards .card .loss{
  color: rgba(148, 19, 19, 0.637);
}

.badge {
  padding:4px 10px;
  border-radius:14px;
  font-size:12px;
}

.containerAdmin .admin-tab-panel .tabs-container {
  margin-top: 10px;
}

.containerAdmin .admin-tab-panel .products-grid-admin {
  display:none;
}

.containerAdmin .admin-tab-panel .products-grid-admin.active {
  display:grid;
}

/* ADMIN NAVIGATION */
.containerAdmin .navigation-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 120%); /* hidden below screen */
  
  width: calc(100% - 40px); /* side breathing space */
  max-width: 1299px;

  background-color: #0f0f0f;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  padding: 20px;
  padding-bottom: 70px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;

  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.45);

  z-index: 1012;
  opacity: 0;

  transition:
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
  box-shadow: 0 4px 8px hsla(0, 0%, 54%, 0.376);
  max-height: 90vh; 
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: linear-gradient(180deg, #ff7e5f, #feb47b) rgba(255,255,255,0.05);

}

.containerAdmin .navigation-bar::-webkit-scrollbar {
  width: 8px; /* width of the vertical scrollbar */
}

.containerAdmin .navigation-bar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05); /* subtle track */
  border-radius: 8px;
}

.containerAdmin .navigation-bar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7e5f, #feb47b); /* gradient thumb */
  border-radius: 8px;
  border: 2px solid rgba(0, 0, 0, 0.2); /* adds space around thumb */
}

.containerAdmin .navigation-bar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff5722, #ff9800); /* hover effect */
}


.containerAdmin .navigation-bar.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

.containerAdmin .navigation-bar h4 {
  font-size: 18px;
  width: 100%;
  text-align: left;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
}

.containerAdmin .navigation-bar h4 i {
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;

}

.containerAdmin .navigation-bar nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  width: 100%;
}

.containerAdmin .navigation-bar nav a.nav-link, .containerAdmin .navigation-bar nav a.nav-link-admin-logout {
  text-decoration: none;
  font-size: 12px;
  color: #ffffff;

  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
  text-align: center;

  padding: 18px 10px;
  border-radius: 12px;

  border: 1px solid #8988881f;
  background: linear-gradient(145deg, #141414, #0b0b0b);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
}

.containerAdmin .navigation-bar nav a.nav-link.active, .containerAdmin .navigation-bar nav a.nav-link-admin-logout.active, .containerAdmin .navigation-bar nav a.nav-link.active i, .containerAdmin .navigation-bar nav a.nav-link-admin-logout.active i {
  color: #088000;
}

.containerAdmin .navigation-bar nav a.nav-link:hover, .containerAdmin .navigation-bar nav a.nav-link-admin-logout:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 8px hsla(0, 0%, 54%, 0.376);
}

.containerAdmin .navigation-bar nav a.nav-link.active:hover, .containerAdmin .navigation-bar nav a.nav-link-admin-logout.active:hover {
  box-shadow: 0 4px 8px rgba(8, 128, 0, 0.35);

}

.containerAdmin .navigation-bar nav a.nav-link i, .containerAdmin .navigation-bar nav a.nav-link-admin-logout i {
  font-size: 20px;
  color: #898888;
}

/* ADMIN EDIT-MANAGE FORMS */
 .tab-panel-admin .form-wrapper {
  border-radius: 4px;
 }

.tab-panel-admin .tab-top {
  background-color: #0f0f0f;
  padding: 10px 0;
  margin: 0;
}

/* =====================
  PAGINATION SECTION
===================== */

/* Pagination container */
.dataTables_wrapper .dataTables_paginate {
  margin-bottom: 10px;
  text-align: right;
}

/* Pagination buttons */
.dataTables_wrapper .dataTables_paginate .paginate_button {
  display: inline-block;
  margin: 0 4px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: normal;
  color: #333 !important;
  background: #8988889f;
  border: none;
  cursor: pointer;
  transition: all 0.1s ease-in-out;
}

/* Hover effect */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: #0f268c1c;
  color: #0f0f0f !important;
}

/* Active page */
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: #0f0f0f !important;
  color: white !important;
  font-weight: bold;
}

/* Disabled state */
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #eaeaea;
  border-color: #ccc;
}

/* Wrapper alignment */
.dataTables_wrapper .dataTables_filter {
  float: right;
  margin-bottom: 10px;

}

.dataTables_wrapper .dataTables_filter label {
  font-size: 14px;
  font-weight: 500;
  color: #898888;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

/* Search input */
.dataTables_wrapper .dataTables_filter input {
  padding: 6px 12px;
  border: 1px solid #898888;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s ease-in-out;
}

.dataTables_wrapper .dataTables_filter input:focus {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Info text below table */
.dataTables_wrapper .dataTables_info {
  font-size: 13px;
  color: #0f0f0f;
  padding: 10px;
  padding-bottom: 0;
}

.tab-panel.agency .dashboard {
  width: 100%;
}

/* GRID */
.tab-panel.agency .dashboard .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* CARD */
.tab-panel.agency .dashboard .grid .card, .tab-panel .formBody.agency .card {
  background: #ffffff;
  border: 1px solid #8988886b;
  border-radius: 4px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.tab-panel.agency .dashboard .grid .card:hover, .tab-panel .formBody.agency .card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.tab-panel.agency .dashboard .grid .card h3, .tab-panel .formBody.agency .card h3 {
  font-size: 16px;
  color: #0f0f0f;
  margin-bottom: 10px;
}

.tab-panel.agency .dashboard .grid .card span.wStatus, .tab-panel .formBody.agency .card span.wStatus {
  font-size: 12px;
  color: #088000;
  padding: 4px 8px;
  background-color: #0980001f;
  border-radius: 4px;

}

.tab-panel.agency .dashboard .grid .card .amount, .tab-panel .formBody.agency .amount {
  font-size: 26px;
  font-weight: bold;
}

.tab-panel.agency .dashboard .grid .card .sub-info, .tab-panel .formBody.agency .card .sub-info {
  font-size: 12px;
  margin-top: 6px;
  color: #898888;
}

.tab-panel.agency .dashboard .grid .card .sub-info-m, .tab-panel .formBody.agency .card .sub-info-m {
  color: #898888;
  font-size: 14px;
  font-weight: bold;
  margin-top: 5px;
}

.tab-panel.agency .dashboard .grid .card button, .tab-panel .formBody.agency .card button {
  background-color: #0f0f0f;
  color: #ffffff;
  padding: 8px 16px;
  width: 100%;
  text-align: center;
  margin: 10px 0 2px;
  border: none;
  border-radius: 4px;
}

.tab-panel.agency .dashboard .grid .card button:hover, .tab-panel .formBody.agency .card button:hover {
  opacity: .875;
  cursor: pointer;
}

.tab-panel.agency .dashboard .grid .card .growth, .tab-panel .formBody.agency .card .growth {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 500;
}

.tab-panel.agency .dashboard .grid .card .growth.up, .tab-panel .formBody.agency .card .growth.up {
  color: #16a34a;
}

.tab-panel.agency .dashboard .grid .card .growth.down, .tab-panel .formBody.agency .card .growth.down {
  color: #dc2626;
}

/* Progress bar */
.tab-panel.agency .dashboard .grid .card .progress, .tab-panel .formBody.agency .card .progress {
  margin-top: 10px;
  background: #dedede;
  height: 6px;
  border-radius: 6px;
  overflow: hidden;
}

.tab-panel.agency .dashboard .grid .card .progress-fill, .tab-panel .formBody.agency .card .progress-fill {
  height: 100%;
  width: 65%;
  background: #0f0f0f;
  border-radius: 6px;
}

/* LEVELS */
.tab-panel.agency .dashboard .grid .level-row, .tab-panel .formBody.agency .level-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 6px 0;
  border-bottom: 1px dashed #898888;
}

/* ================
WITHDRAW HISTORY 
=================*/

.containerWH {
  width: 100%;
}

.containerWH h2 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: bold;
}

/* =========================
   Grid layout for cards
========================= */
.containerWH .withdraw-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* =========================
   Withdrawal Card
========================= */
.containerWH .withdraw-grid .withdraw-card {
  background: #09800007;
  border: 1px solid #dedede;
  border-radius: 4px;
  padding: 12px;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.containerWH .withdraw-grid .withdraw-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

/* Left section */
.containerWH .withdraw-grid .withdraw-card .withdraw-left {
  flex: 1;
}

.containerWH .withdraw-grid .withdraw-card .withdraw-title {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.containerWH .withdraw-grid .withdraw-card .withdraw-meta {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.containerWH .withdraw-grid .withdraw-card .withdraw-reference {
  font-size: 12px;
  margin-top: 8px;
  color: #898888;
}

/* Right section */
.containerWH .withdraw-grid .withdraw-card .withdraw-right {
  margin-top: 12px;
  text-align: right;
}

.containerWH .withdraw-grid .withdraw-card .withdraw-amount {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
}

/* =========================
   Status buttons
========================= */
.containerWH .withdraw-grid .withdraw-card .status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  font-size: 12px;
  border-radius: 4px;
  border: none;
  white-space: nowrap;
  border: 1px solid;
}

/* Paid */
.containerWH .withdraw-grid .withdraw-card .status.paid {
  color: #088000;
  background-color: #0980001f;
}

/* Processing */
.containerWH .withdraw-grid .withdraw-card .status.status.processing {
  color: #0b5ed7;
  border-color: #0b5ed7;
  background: #e7f1ff;
}

/* Pending */
.containerWH .withdraw-grid .withdraw-card .status.status.pending {
  color: #856404;
  border-color: #9c6f19;
  background: #fff7e6;
}

/* Failed */
.containerWH .withdraw-grid .withdraw-card .status.status.failed, .table-wrapper table tbody tr td .rejected {
  color: #ff3b3b;
  background-color: #ff3b3b2a;
}

/* Rejected */
.containerWH .withdraw-grid .withdraw-card .status.status.rejected {
  color: #0f0f0f;
  border-color: #0f0f0f;
  background: #f0f0f0;
}

@media screen and (max-width: 770px) {
  .containerWH {
    width: 100%;
  }
}

/*=======================
AGENTS' PRODUCTS CSS
=======================*/

.container main#productsAgentMain .header {
  text-align: left;
  margin-bottom: 30px;
  text-align: center;
}

.container main#productsAgentMain .header h1 {
  font-size: 22px;
}

.container main#productsAgentMain .header p {
  font-size: 14px;
  color: #898888;

}

.container main#productsAgentMain .products-grid, .tab-panel-admin .products-grid-admin {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
}

.tab-panel-admin .products-grid-admin {
  padding: 20px 0;
}

@media screen and (max-width: 581px) {
  .container main#productsAgentMain .products-grid, .tab-panel-admin .products-grid-admin {
    gap:20px;
  }
  
}

.container main#productsAgentMain .product-card, .tab-panel-admin .products-grid-admin .product-card {
  border: 1px solid #dedede;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: 0.3s;
  overflow: hidden;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  width: clamp(250px, 100%, 300px);
  margin: 0 auto;
}

.tab-panel-admin .products-grid-admin .product-card {
  background-color: #ffffff;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.432);

}

.container main#productsAgentMain .product-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-6px);
}

.container main#productsAgentMain .product-card img, .tab-panel-admin .products-grid-admin .product-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.tab-panel-admin .products-grid-admin .product-card img:hover {
  transform: scale(1.03);
  transition: transform 0.6s ease;
}

.container main#productsAgentMain .product-name, .tab-panel-admin .products-grid-admin .product-card .product-name {
  font-weight: bold;
  font-size: 16px;
  color: #0f0f0f;
  padding: 0 10px;
}

.container main#productsAgentMain .product-price, .tab-panel-admin .products-grid-admin .product-card .product-price {
  font-size: 14px;
  padding: 0 10px;
  color: #0f0f0f;
}

.container main#productsAgentMain .product-description, .tab-panel-admin .products-grid-admin .product-card .product-description {
  font-size: 13px;
  line-height: 1.5;
  color: #898888;
  padding: 0 10px;
}

.container main#productsAgentMain .download-btn {
  padding: 8px 16px;
  background: #000;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  border-radius: 4px;
  margin: 0 10px;
  margin-bottom: 10px;
}

.container main#productsAgentMain .download-btn:hover {
  opacity: .875;
}

/* PLACE ORDER CSS */
.order-container {
  width: 100%;
  margin: 30px 0;
  padding: 0 20px;
  display: none;
  grid-template-columns: 2.3fr 1fr;
  gap: 20px;
}

/* ===== Cards ===== */
.order-container .card {
  padding: 20px;
  border: 1px solid #dedede;
  border-radius: 4px;

}

.order-container .card .card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-container .card .card-title p {
    font-size: 16px;
    font-weight: normal;
}

.order-container .card .card-title p span {
    color: #898888;
}

.order-container .card .card-title p span strong {
  color: #088000;

}

.order-container .card .card-title a.update-btn {
  font-size: 13px;
  color: #898888;
  cursor: pointer;
  font-weight: normal;
  border-radius: 4px;
  padding: 4px;
  border: 1px solid #0980002c;
  color:#088000;
  display: flex;
  gap: 5px;
  align-items: center;
  text-decoration: none;
}

.order-container .card .card-title a.update-btn:hover {
  opacity: .875;
}

/* ===== Shipping ===== */
.order-container .card .address-name {
    font-weight: bold;
    margin-bottom: 6px;
    font-size: 14px;
}

.order-container .card .address-text {
  font-size: 13px;
  line-height: 1.6;
  color: #898888;
}

/* ===== Seller Section ===== */
.order-container .card .seller-box {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
    background-color: #8988883a;
}

.order-container .card .seller-box .seller-header {
    font-weight: bold;
    margin-bottom: 6px;
}

.order-container .card .seller-box .seller-meta {
    font-size: 13px;
    color: #898888;
    margin-bottom: 15px;
}

/* ===== Product Item ===== */
.order-container .card .seller-box .product {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    border: 1px solid #dedede;
    border-radius: 4px;
    padding: 10px;
    background-color: #ffffff;
    align-items: center;
    justify-content: space-between;
}

.order-container .card .seller-box .product .product-left {
  display: flex;
  gap: 10px;
  align-items: center;
}

.order-container .card .seller-box .product img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.order-container .card .seller-box .product .product-info {
    font-size: 14px;
    flex: 1;
}

.order-container .card .seller-box .product .product-price {
    margin-top: 6px;
    font-weight: bold;
}

.order-container .card .seller-box .product .product-price strong {
  color: #856404;
}

/* ===== Guarantee ===== */
.order-container .card .guarantee {
    margin-top: 15px;
    font-size: 13px;
    font-weight: bold;
    color: #898888;
}

/* ===== Summary ===== */
.order-container .card .summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin-bottom: 12px;
}

.order-container .card .summary-row.total {
    font-weight: 700;
    font-size: 16px;
    border-top: 1px solid #dedede;
    padding-top: 15px;
    margin-top: 20px;
}

/* ===== Button ===== */
.order-container .card .place-order {
  width: 100%;
  margin-top: 10px;
  padding: 8px 16px;
  background: #0f0f0f;
  color: #ffffff;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  font-size: 14px;
}

.order-container .card .place-order:hover {
    opacity: 0.875;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .order-container {
    grid-template-columns: 1fr;
  }
}

.qty-and-delete {
  display: flex;
  gap: 10px;
  align-items: center;

}

.remove-product {
    color: #ffffff;
    border: none;
    padding: 4px 8px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    border-radius: 4px;
    background-color: #0f0f0f;
    
}

.remove-product:hover {
  opacity: .875;
}

/* ===============================
AGENT ALERT VERIFICATION POPUP CSS
================================ */

/* OVERLAY */

.alertPopupOverlay {

  position:fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:rgba(0, 0, 0, 0.212);
  display: none;
  align-items: center;
  justify-content:center;
  z-index: 9999;

}

/* ALERT POPUP */

.alert-popup {

  width: clamp(250px, 90%, 500px);
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 0 auto;

}

/* HEADER */

.alert-popup-header{

  background: #898888;
  color:  white;
  text-align: center;
  padding: 12px;
  font-weight: bold;
  letter-spacing: 1px;

}

/* BODY */

.alert-popup-body {

  padding: 20px;
  text-align: center;

}

/* WARNING ICON */

.warning-icon {

  width: 70px;
  height: 70px;
  margin:0 auto 20px;
  border-radius:50%;
  background:#dedede;
  display:flex;
  align-items:center;
  justify-content:center;
  animation:pulse 1.5s infinite;
  display: flex;
  align-items: center;
  justify-content: center;

}

.warning-icon i {
  color: #afafaf;
  font-size: 45px;
}

@keyframes pulse{

0%{transform:scale(1);}
50%{transform:scale(1.1);}
100%{transform:scale(1);}

}

/* TEXT */

.alert-popup-title{

font-size:22px;
margin-bottom:10px;
font-weight:bold;

}

.alert-popup-text {
font-size: 14px;
color: #898888;
margin-bottom: 25px;

}

/* BUTTONS */

.buttons {
display: flex;
gap: 10px;
justify-content: space-between;

}

.buttons a {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  color: #0f0f0f;

}

.buttons a.activate {
  background:black;
  color:white;

}

.buttons a.activate:hover{
  background:#222;

}

.buttons a.cancel{
  background:#e5e5e5;

}

.buttons a.cancel:hover{
  background:#d5d5d5;

}

/* VIOLENT SHAKE */

.shake{
  animation:violentShake .6s;

}

@keyframes violentShake{
  0%{transform:translateX(0)}
  10%{transform:translateX(-5px)}
  20%{transform:translateX(5px)}
  30%{transform:translateX(-10px)}
  40%{transform:translateX(10px)}
  50%{transform:translateX(-10px)}
  60%{transform:translateX(10px)}
  70%{transform:translateX(-5px)}
  80%{transform:translateX(5px)}
  90%{transform:translateX(-5px)}
  100%{transform:translateX(0)}

}