.login {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 20px 0;
}
.login.dark {
    background-color: #000;
}

.login-card {
    width: 325px;
}
.login-card.light {
    background-color: #f3f3f3;
}

.auth-theme-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    box-shadow: 0 0 3px;
    border-radius: 6px;
}
.auth-theme-btn.dark {
    box-shadow: 0 0 3px #fff;
}
/* Login.css */

.orDivider {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-bottom-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgba(var(--color-neutral-300),var(--tw-border-opacity))
}

.login-container {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

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

.forgot-password-link {
    margin-left: auto;
}

.login-buttons .login-button {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-buttons .login-logo {
    height: 24px;
}

@media (max-width: 600px) {
    .login-container {
        padding: 15px;
        margin: 10px;
        width: 90%;
    }

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

    .forgot-password-link {
        margin-left: 0;
        margin-top: 10px;
    }

    .login-buttons .login-button {
        width: 100%;
        margin-top: 10px;
    }
}
.backdrop {
    width: 100%;
    height: 100%;
    background-color: #0009;
    position: fixed;
    z-index: 20;
}

/* Additional Layout styles */
.layout-fullheight {
    display: flex;
    flex-direction: column;
    height: 100vh; /* This ensures the Layout takes the full viewport height */
}

.content {
    flex-grow: 1; /* This will make the content area grow to use available space */
    margin: 8px;
    overflow: auto; /* Adds scrolling to content only when necessary */
}

.footer {
    height: 64px;
    background-color: #fff;
    box-shadow: 0px 5px 7px;
}

/* Ensure other elements are styled appropriately to not exceed their bounds */
.header {
    background-color: #fff;
    height: 64px;
    padding-inline: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px -5px 10px;
    position: sticky;
    top: 0;
    z-index: 19;
}

.content.dark,
.header.dark,
.footer.dark {
    background-color: #141414;
}

.header-menu-btn.ant-btn.ant-btn-icon-only {
    font-size: 16px;
    width: 48px;
    height: 48px;
}
.header-btn.ant-btn.ant-btn-icon-only {
    font-size: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dropdown-trigger {
    cursor: pointer;
}

.ant-layout .sider.ant-layout-sider {
    box-shadow: -5px 0px 10px;
    overflow: auto;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 21;
}
.sider-items-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.app-icon-link {
    display: flex;
    justify-content: center;
    align-items: center;
}
.sider-menu {
    flex: 1;
}
.sider-mobile-btn {
    width: 100%;
    position: sticky;
    bottom: 0;
    border-radius: 0;
}

.page-loader{
    text-align: center;
    padding: 50px;
}/* Ensure this class is applied to the menu items */
.sider-menu .ant-menu-item,
.sider-menu .ant-menu-submenu-title {
  white-space: normal !important;
  word-wrap: break-word !important;
  height: auto !important; /* Ensure height adjusts to content */
  line-height: normal !important; /* Adjust line-height for better readability */
  padding: 10px 12px !important; /* Add vertical padding for spacing */
  font-size: 16px !important; /* Increase font size */
  margin-block: 2px !important;
}

.sider-collapsed .ant-menu-item,
.sider-collapsed .ant-menu-submenu-title {
  height: 50px !important;
  padding: 10px 24px !important; /* Add vertical padding for spacing */
}

.sider-menu .ant-menu-sub.ant-menu-inline > .ant-menu-item,
.sider-menu
  .ant-menu-sub.ant-menu-inline
  > .ant-menu-submenu
  > .ant-menu-submenu-title {
  padding-left: 32px !important;
}

.ant-menu.ant-menu-sub.ant-menu-vertical {
  min-width: 260px !important;
}

.sider-menu .ant-menu-sub .ant-menu-sub {
  padding-left: 22px !important;
}

.sider-menu .ant-menu-item {
  position: relative;
}

.fav-page-icon {
  position: absolute;
  top: 50%;
  right: 7px;
  transform: translateY(-50%);
  opacity: 0;
}
.fav-page-icon:hover {
  background-color: none !important;
  background: none !important;
}

.ant-menu.ant-menu-sub .fav-page-icon {
  right: -2px;
}

.sider-menu .ant-menu-item:hover .fav-page-icon,
.fav-page-icon.fav-page-icon-show,
.ant-menu.ant-menu-sub.ant-menu-vertical .ant-menu-item:hover .fav-page-icon {
  opacity: 1;
}

.fav-page-icon.fav-page-icon-show {
  color: #ffd700 !important;
}

.ant-menu-title-content {
}

.sider-collapsed .anticon {
  font-size: 16px !important;
}

.sider-collapsed .ant-menu-title-content {
  text-indent: -9999px !important;
}

/* Ensure the sider menu handles overflow properly */
.sider-menu {
  overflow: auto;
  padding-bottom: 30px;
}

/* Additional styles to improve appearance */
.sider-menu .ant-menu-item > a,
.sider-menu .ant-menu-submenu-title > span {
  display: block; /* Ensure the link or span takes the full width */
}

.collapsed-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  font-size: 25px;
  font-weight: bold;
  color: inherit;
}

.sider {
  height: 100%;
}

.sider-collapsed {
  position: relative !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.home-page-container {
  margin-top: 20px;
  overflow-x: hidden;
}

.home-page-item {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s;
  padding-left: 15px !important;
  padding-right: 15px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  border-radius: 6px;
  cursor: pointer;
}

.home-page-item:hover {
  background-color: rgb(236, 236, 236) !important;
}
body.dark .home-page-item:hover {
  background-color: rgba(255, 255, 255, 0.12) !important;
}

.home-page-url {
  font-size: 16px;
  font-weight: 500;
  transition: color 0.2s;
  margin-bottom: 0 !important;
}

.home-page-item:hover .home-page-url {
  color: #1890ff !important;
}

.popular-page-visit-count {
  font-size: 14px;
  /* color: var(--ant-text-color); Dynamic text color */
}
.user-name-box {
    justify-content: space-evenly;
    height: 72px;
}
.m-0 {
    margin: 0;
}
.email {
    font-size: 16px;
}
.verified {
    color: #1a75fa;
}
.unverified {
    color: red;
}
.user-info-list {
    margin-block: 32px;
}
.no-wrap {
  white-space: nowrap !important;
  margin-left: 5px;
}

.right-align-row {
  justify-content: flex-end !important;
  width: 100% !important;
  display: flex !important;
  margin-bottom: 5px !important;
  margin-right: 10px !important;
}

.custom-filter-dropdown .ant-checkbox-wrapper {
  margin-bottom: 8px;
}

.row-spaced td {
  padding: 11px !important;
  margin-left: 0 !important;
}

.row-alt-light {
  background-color: #c5c7c8c9;
}

.row-alt-light-show {
  background-color: #6ec3ee5c;
}

.row-alt-light-inventory {
  background-color: #6eeeb25c;
}

#tbl-pricer-admin td.ant-table-column-sort {
  background: none !important;
}

#tbl-pricer-admin .ant-table-body {
  min-height: calc(100vh - 260px);
}

#tbl-summary-modal .ant-table-tbody > tr > td {
  padding: 6px;
} 

.pricer-header-parameters {
  margin-left: auto;
}

.control-styles {
  width: auto;
  display: flex;
  flex-grow: 1;
  align-items: center;
  gap: 10px;
  border-right: solid 1px #0000001f;
  padding-right: 10px;
}

.pricer-search-input {
  flex-grow: 1;
  min-width: 220px; 
  min-height: 32px; 
}

.select-pricer-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  min-width: 200px; 
  color: gray; 
}

.select-pricer-button .button-text {
  flex-grow: 1; 
  text-align: left; 
  color: #cccccc; 
}

.select-pricer-button .button-icon {
  color: #cccccc; 
}

.ant-dropdown-menu-item:hover {
  background-color: transparent !important;
}

.round-left {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-right: 1px solid #d9d9d9 !important;
}

.pricer-filter-control .half-width {
  flex: 1;   
  width: 100%; 
}#tbl-matched-events .ant-table-body {
  min-height: calc(100vh - 260px);
}

#tbl-matched-events td.ant-table-column-sort {
  background: none !important;
}

.row-alt-light {
  background-color: #c5c7c8c9;
}

.event-map-header-parameters {
  margin-left: auto;
}

.event-map-search-input {
  flex-grow: 1;
  min-width: 220px; 
  min-height: 32px; 
}

.right-align-row {
  justify-content: flex-end !important;
  width: 100% !important;
  display: flex !important;
  margin-bottom: 5px !important;
  margin-right: 10px !important;
}

.header-control-label {
  margin-right: 5px;
}

.header-control-checkbox {
  display: flex;
  align-items: center;
  height: '100%';
}

.event-mapping-actions {
  display: 'flex';
  justify-content: 'space-between';
  align-items:' center';
  margin-right: '8px';
}

.event-mapping-button {
  width: 100%;
  height: 100%;
  padding: 3px 5px;
  justify-content: center;
  align-items: center;
}

.ant-drawer-close {
  position: absolute;
  top: 15px;
  right: 0;
}.unclaimed-report-container {
  padding: 0;
  background: var(--ant-bg-color, #f4f6fb);
  min-height: 100vh;
}

.unclaimed-report-header {
  margin-bottom: 24px;
}

.unclaimed-report-search-card {
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: 10px;
  border: 1px solid #f0f0f0;
}

.unclaimed-report-chart-header {
  margin-bottom: 8px;
}

.unclaimed-report-chart-card {
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(22,119,255,0.06);
  margin-bottom: 32px;
  border: 1px solid #f0f0f0;
}

.unclaimed-report-notes {
  margin: 0 auto;
  max-width: 900px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .unclaimed-report-search-card {
    padding: 12px;
  }
  .unclaimed-report-chart-card {
    padding: 8px;
  }
}

.unclaimed-report-table-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
} .sub-report-container {
  padding: 0;
  background: var(--ant-bg-color, #f4f6fb);
  min-height: 100vh;
}

.sub-report-header {
  margin-bottom: 24px;
}

.sub-report-search-card {
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border-radius: 10px;
  border: 1px solid #f0f0f0;
}

.sub-report-chart-header {
  margin-bottom: 8px;
}

.sub-report-chart-card {
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(22,119,255,0.06);
  margin-bottom: 32px;
  border: 1px solid #f0f0f0;
}

.sub-report-notes {
  margin: 0 auto;
  max-width: 900px;
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  .sub-report-search-card {
    padding: 12px;
  }
  .sub-report-chart-card {
    padding: 8px;
  }
}

.sub-report-table-card {
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
} /* antD gray color variables */
:root {
  --ant-gray-1: #ffffff;
  --ant-gray-2: #fafafa;
  --ant-gray-3: #f5f5f5;
  --ant-gray-4: #f0f0f0;
  --ant-gray-5: #d9d9d9;
  --ant-gray-6: #bfbfbf;
  --ant-gray-7: #8c8c8c;
  --ant-gray-8: #595959;
  --ant-gray-9: #434343;
  --ant-gray-10: #262626;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
}

::-webkit-scrollbar {
    width: 8px;  /* Adjust width as needed */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;  /* Adjust track color as needed */
}

::-webkit-scrollbar-thumb {
    background: #a7a3a3;  /* Adjust thumb color as needed */
    border-radius: 4px;  /* Adjust border radius as needed */
}

body.dark .rc-virtual-list-scrollbar-thumb{
  background: rgba(178, 178, 178, 0.8) !important;
}

.tools-emails-search-drawer .ant-form-item-label {
    padding: 5px !important;
}

.tools-emails-search-drawer .ant-form-item {
    margin-bottom: 10px !important;
}/* Page Background */
.privacy-page-background {
    background-color: #f0f2f5; /* A light background color that complements Ant Design's defaults */
    min-height: 100vh;        /* Make it fill the full browser height */
    padding: 30px 15px;       /* Some padding around the edges */
}

/* Dark Mode - Background Change */
body.dark .privacy-page-background {
    background-color: #121212; /* Deep black-gray background */
}

/* Center the container and set a max width for better readability */
.privacy-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff; /* White background for the content area */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Style each card with a bit more space and a nice box-shadow */
.privacy-card {
    margin-bottom: 20px;
    border-radius: 6px;
    /* Increase the padding inside the card slightly for more breathing room */
}

/* Headings */
.privacy-container h1 {
    font-size: 2rem;
    margin: 10px 0;
    font-weight: bold;
    color: #222;
}

.privacy-container h2 {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 10px 0;
    color: #222;
}

.privacy-container h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: #222;
}

.privacy-container h3:not(:first-child) {
    margin-top: 25px;
}

.privacy-container h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    color: #222;
}

/* Paragraphs */
.privacy-container p {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6; /* Improve readability with increased line-height */
    color: #555;
}

.privacy-container p:first-child {
    margin-top: 0;
}

/* Lists */
.privacy-container ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.privacy-container ul li {
    margin-bottom: 10px;
    list-style-type: disc;
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
}

/* Links */
.privacy-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.privacy-container a:hover {
    text-decoration: underline;
}

/* Dark mode adjustments (if your application supports a .dark body class) */
body.dark .privacy-container h1,
body.dark .privacy-container h2,
body.dark .privacy-container h3,
body.dark .privacy-container h4 {
    color: #ddd !important;
}

body.dark .privacy-container p,
body.dark .privacy-container li {
    color: #bbb !important;
}

body.dark .privacy-container {
    background-color: #333;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .privacy-container {
        padding: 15px;
    }

    .privacy-container h1 {
        font-size: 1.8rem;
    }

    .privacy-container h2 {
        font-size: 1.4rem;
    }
}.bi-embedded {
    display: inline-block;
    width: 100% !important;
    height: calc(100vh - 82px);
    vertical-align: -0.125em;
    fill: currentColor;
    overflow: hidden;
}
.primary-issues-container .ant-table-expanded-row {
  background: #f0f0f0;
}.event-report-item {
    background-color: #e6f7ff;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
}

.event-report-item .ant-table-row {
    background-color: transparent;
}

.buyer-invoice-purchase-modal .ant-modal-content{
    min-height: 613px !important;
}.white-space-pre {
    white-space: pre;
}

.margin-btm-15 {
    margin-bottom: 15px;
}

.max-width {
    width: 100%;
}

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

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

.margin-top-bot-5 {
    margin: 5px 0;
}

.margin-bottom-5 {
    margin-bottom: 5px !important;
}

#tbl-unmapped-po > .ant-table-container > .ant-table-body {
    height: calc(100vh - 213px) !important;
}

#tbl-unmapped-po.ant-table-virtual > .ant-table-container > .ant-table-tbody {
    height: calc(100vh - 274px) !important;
}

#card-unmapped-po > .ant-card-body {
    padding: 6px !important;
}
.bi-embedded {
    display: inline-block;
    width: 100% !important;
    height: calc(100vh - 82px);
    vertical-align: -0.125em;
    fill: currentColor;
    overflow: hidden;
}
.compact-table .ant-table-thead > tr > th,
.compact-table .ant-table-tbody > tr > td {
    padding: 4px 8px;
    height: 24px;
    line-height: 16px;
}

.compact-table .ant-table-thead > tr > th {
    background-color: #fafafa;
    font-weight: 500;
}

.compact-table .ant-table-tbody > tr > td {
    vertical-align: middle;
}

.clickable-row {
    cursor: pointer;
    background-color: #efefef;
}

.selected-row {
    background-color: #efefef !important;
}

.review-status-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  min-width: 180px;
  min-height: 40px;
  position: relative;
}

.review-button {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.review-button.hold {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
}

.review-status-wrapper:hover .review-button.hold {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: static;
}

.review-button.hold.active {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  position: static !important;
}
.unshipped-report {
  padding: 24px 24px 0 24px;
}

.unshipped-report .ant-card {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.unshipped-report .filter-section {
  margin-bottom: 24px;
}

.unshipped-report .filter-container {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
}

.unshipped-report .main-filter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.unshipped-report .filter-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.unshipped-report .filter-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.unshipped-report .filter-item .filter-label {
  min-width: 80px;
  flex-shrink: 0;
  font-size: 13px;
}

.unshipped-report .include-types-section {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
  padding-left: 16px;
  flex: 1;
}

.unshipped-report .checkbox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.unshipped-report .filter-group-with-buttons {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 8px;
  align-items: start;
  margin: 0 auto;
}

.unshipped-report .filter-label {
  font-weight: 500;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
}

.unshipped-report .filter-select,
.unshipped-report .filter-date-picker {
  flex: 1;
  min-width: 0;
  height: 32px;
  max-width: 350px;
}

.unshipped-report .include-types-label {
  font-weight: 500;
  color: #333;
  font-size: 13px;
  margin-bottom: 8px;
  display: block;
}

.unshipped-report .checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  min-width: 200px;
}

.unshipped-report .delay-date-picker {
  width: 100%;
  max-width: 250px;
  height: 32px;
}

.unshipped-report .include-types-section {
  margin-top: 0;
  padding-left: 0;
}

.unshipped-report .include-types-section .ant-checkbox-wrapper {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.unshipped-report .include-types-section .ant-checkbox {
  margin-right: 8px;
}

.unshipped-report .include-types-section .ant-checkbox-inner {
  vertical-align: top;
}

.unshipped-report .ant-table {
  font-size: 14px;
}

.unshipped-report .ant-table-thead > tr > th {
  background-color: #fafafa;
  font-weight: 600;
  color: #262626;
}

.unshipped-report .ant-table-tbody > tr:hover > td {
  background-color: #f5f5f5;
}

.unshipped-report .delay-date-cell {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.unshipped-report .delay-date-cell .ant-checkbox {
  margin-bottom: 0;
  flex-shrink: 0;
}

.unshipped-report .delay-date-cell .ant-picker {
  width: 120px;
  flex-shrink: 0;
}

.unshipped-report .delay-date-cell .none-text {
  font-size: 12px;
  color: #999;
  margin-top: 0;
}

.unshipped-report .ant-pagination {
  margin-top: 16px;
}

.unshipped-report .ant-pagination .ant-pagination-item {
  margin-right: 8px;
}

.unshipped-report .ant-pagination .ant-pagination-item:last-child {
  margin-right: 0;
}

.unshipped-report .ant-pagination .ant-pagination-jump-prev,
.unshipped-report .ant-pagination .ant-pagination-jump-next {
  margin-right: 8px;
}

.unshipped-report .ant-pagination .ant-pagination-prev,
.unshipped-report .ant-pagination .ant-pagination-next {
  margin-right: 8px;
}

.unshipped-report .ant-pagination .ant-pagination-options {
  margin-left: 16px;
}

.unshipped-report .ant-pagination .ant-pagination-simple-pager {
  margin-right: 8px;
}

.unshipped-report .bulk-edit-button,
.unshipped-report .export-button,
.export-all-button {
  width: 200px;
}

.unshipped-report .action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
}

@media (max-width: 1024px) {
  .unshipped-report .filter-container {
    flex-direction: column !important;
    gap: 12px;
  }

  .unshipped-report .include-types-section {
    flex: none !important;
    border-left: none;
    border-top: 1px solid #e8e8e8;
    padding-left: 0;
    padding-top: 12px;
    width: 100%;
  }

  .unshipped-report .filter-section {
    margin-bottom: 0px !important;
  }

  .unshipped-report .checkbox-grid {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .unshipped-report .filter-group-with-buttons {
    grid-template-columns: 1fr;
    align-items: center;
  }
  .unshipped-report .action-buttons {
    margin-top: 10px;
    margin-bottom: 10px;
    flex-direction: row !important;
  }
}

@media (max-width: 768px) {
  .unshipped-report {
    padding: 16px 16px 0 16px;
  }

  .unshipped-report .filter-container {
    gap: 8px;
  }

  .unshipped-report .main-filter-section {
    gap: 6px;
  }

  .unshipped-report .include-types-section {
    padding-top: 8px;
  }

  .unshipped-report .checkbox-grid {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .unshipped-report .ant-table {
    font-size: 12px;
  }

  .unshipped-report .ant-table-thead > tr > th {
    padding: 8px 4px;
  }

  .unshipped-report .ant-table-tbody > tr > td {
    padding: 8px 4px;
  }

  .unshipped-report {
    padding: 16px;
  }

  .unshipped-report .filter-section .ant-col:not(:first-child) {
    margin-bottom: 16px;
  }
}

@media (max-width: 576px) {
  .unshipped-report {
    padding: 12px 12px 0 12px;
  }

  .unshipped-report .filter-container {
    gap: 4px;
  }

  .unshipped-report .main-filter-section {
    gap: 4px;
  }

  .unshipped-report .filter-group {
    gap: 4px;
  }

  .unshipped-report .filter-item {
    gap: 4px;
  }

  .unshipped-report .filter-item .filter-label {
    min-width: 70px;
    font-size: 12px;
  }

  .unshipped-report .filter-label {
    font-size: 13px;
  }

  .unshipped-report .checkbox-group {
    gap: 6px;
  }

  .unshipped-report .ant-table {
    font-size: 11px;
  }

  .unshipped-report .ant-table-thead > tr > th {
    padding: 6px 2px;
  }

  .unshipped-report .ant-table-tbody > tr > td {
    padding: 6px 2px;
  }
}

/* Totals row styling */
.unshipped-report .totals-row {
  background-color: #f5f5f5 !important;
  border-top: 2px solid #d9d9d9 !important;
}

.unshipped-report .totals-row:hover {
  background-color: #f5f5f5 !important;
}

.unshipped-report .totals-cell {
  background-color: #f5f5f5 !important;
  font-weight: 600;
  border-top: 2px solid #d9d9d9 !important;
  padding: 8px 4px !important;
}

.unshipped-report .ant-table-summary > tr > td {
  background-color: #f5f5f5 !important;
  font-weight: 600;
  border-top: 2px solid #d9d9d9 !important;
}

/* Sticky totals row */
.unshipped-report .ant-table-summary {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 10 !important;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1) !important;
}

.unshipped-report .ant-table-summary tr {
  background-color: #f5f5f5 !important;
}

.unshipped-report .ant-table-summary tr td {
  background-color: #f5f5f5 !important;
  border-top: 2px solid #d9d9d9 !important;
  position: sticky !important;
  bottom: 0 !important;
}

/* Ensure table container supports sticky positioning */
.unshipped-report .ant-table-container {
  position: relative;
}

.unshipped-report .ant-table-body {
  overflow-y: auto !important;
  max-height: calc(100vh - 500px);
}

/* Fix for table scroll container */
.unshipped-report .ant-table-wrapper .ant-table-container .ant-table-body {
  position: relative;
}
/* ---------- Base (accent bar + tint driven by CSS vars) ---------- */
.ant-table tr[class*="account-suggestion-"] > td {
  position: relative;
  background: color-mix(in srgb, var(--row-accent, #1677ff) var(--row-strength, 0%), transparent);
  transition: background-color .2s ease, color .2s ease, font-weight .2s ease;
}
.ant-table tr[class*="account-suggestion-"]:hover > td {
  background: color-mix(in srgb, var(--row-accent, #1677ff) var(--row-strength-hover, var(--row-strength, 0%)), transparent);
}

/* Left accent bar */
.ant-table tr[class*="account-suggestion-"] > td:first-child::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--row-accent, #1677ff);
}

/* Padding to accommodate the accent bar */
.ant-table tr[class*="account-suggestion-"] > td:first-child {
  padding-left: calc(16px + 4px);
}

/* ---------- Proximity sets the HUE (green/blue/neutral) ---------- */
.ant-table tr.account-suggestion-same-state {
  /* Highest “good” hue */
  --row-accent: var(--ant-color-success);
}
.ant-table tr.account-suggestion-neighboring-state {
  --row-accent: var(--ant-color-primary);
}
.ant-table tr.account-suggestion-other-state {
  --row-accent: var(--ant-gray-6);
}

/* ---------- Forward events set the INTENSITY + WEIGHT ---------- */
/* Highest recommendation (boldest & darkest) */
.ant-table tr.account-suggestion-low-forward {
  --row-strength: 24%;
  --row-strength-hover: 14%;
  font-weight: 700;
}
/* Medium recommendation (darker) */
.ant-table tr.account-suggestion-medium-forward {
  --row-strength: 16%;
  --row-strength-hover: 22%;
  font-weight: 600;
}
/* Lowest recommendation tint (lightest) */
.ant-table tr.account-suggestion-high-forward {
  --row-strength: 12%;
  --row-strength-hover: 30%;
  font-weight: 500;
}

/* ---------- Do Not Buy (de-emphasized, but clearly flagged) ---------- */
/* Keep this LAST so it overrides intensity/weight when present */
.ant-table tr.account-suggestion-do-not-buy {
  /* Red accent, but much lighter background & normal weight */
  --row-accent: var(--ant-color-error);
  --row-strength: 90%;
  --row-strength-hover: 60%;
  font-weight: 400;
  opacity: 0.96;
}
/* Make the red accent bar explicit without overpowering the row */
.ant-table tr.account-suggestion-do-not-buy > td::before {
  background: var(--ant-color-error);
}

/* ---------- Max Purchases (BOLD TEXT, do-not-buy allready applied) ---------- */
.ant-table tr.account-suggestion-max-purchases {
  font-weight: 700;
}

/* ---------- Cooloff (subtle highlight) ---------- */
.ant-table tr.account-suggestion-cooloff {
  /* Soft purple accent with very light background */
  --row-accent: #722ed1;
  --row-strength: 12%;
  --row-strength-hover: 24%;
  font-weight: 500;
}

/* Make the purple accent bar explicit without overpowering the row */
.ant-table tr.account-suggestion-cooloff > td::before {
  background: #722ed1;
}
.comment-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
}

.comment-item {
    display: flex;
    margin-bottom: 16px;
}

.comment-content {
    flex: 1;
    margin-left: 12px;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.comment-content.primary-message {
    background-color: #e6f7ff;
}

.comment-content.secondary-message {
    background-color: #f1efef;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9em;
}

.comment-text {
    display: block;
    margin-bottom: 4px;
    line-height: 1.5;
}

.comment-form {
    margin-top: 20px;
}

.empty-comments {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    color: #999;
    font-style: italic;
}

.email-item {
  border-radius: 4px;
  padding: 8px;
  margin-bottom: 8px;
}

body.dark .email-item {
  background-color: #1b1b1b;
}

.email-table {
    border-collapse: collapse !important;
    width: 100% !important;
    height: 100% !important;
}

.email-table .ant-table-body > table {
    table-layout: auto !important;
    width: 100% !important;
}
.email-item .ant-table-row {
    background-color: transparent;
}

.email-list-card .ant-table-row td,
.email-list-card .ant-table-thead th {
    padding: 5px 10px 0 0 !important;
    margin: 0 !important;
}

.tools-emails-search-params {
    position: relative;
    width: 100%;
    margin: 0 0 30px 0;
    /*max-width: 900px;*/
    /* margin-bottom: 30px; */
}


.email-list-card .ant-card-body {
    padding-bottom: 0 !important;
}

.nested-table-container {
    border: 1px #c2c0c0 solid;
    border-radius: 2px;
}

.email-star-button{
    border-color: #bfbfbf !important;
    background-color: white !important;
}

.email-star-button.starred{
    border-color: #faad14 !important;
    background-color: #faad14 !important;
    color: white !important;
}

body.dark .email-star-button.starred{
    border-color: #faad14 !important;
    background-color: #faad14 !important;
    color: white !important;
}

/* Task completion button styling */
.email-task-button {
    border-color: #bfbfbf !important;
    background-color: white !important;
}

.email-task-button.completed {
    border-color: #52c41a !important;
    background-color: #52c41a !important;
    color: white !important;
}

body.dark .email-view-button,
body.dark .email-read-button,
body.dark .email-comments-button,
body.dark .email-star-button,
body.dark .email-task-button {
    border-color: #bfbfbf !important;
    background-color: #1b1b1b !important;
}

body.dark .email-task-button.completed {
    border-color: #52c41a !important;
    background-color: #52c41a !important;
    color: white !important;
}

/* Delete button styling */
.email-delete-button {
    border-color: #bfbfbf !important;
    background-color: white !important;
}

.email-delete-button:hover {
    border-color: #ff4d4f !important;
    background-color: #ff4d4f !important;
    color: white !important;
}

body.dark .email-delete-button {
    border-color: #bfbfbf !important;
    background-color: #1b1b1b !important;
}

body.dark .email-delete-button:hover {
    border-color: #ff4d4f !important;
    background-color: #ff4d4f !important;
    color: white !important;
}

/* Unread email styling */
.email-unread {
    font-weight: bold !important;
}

.email-unread .ant-table-cell {
    font-weight: bold !important;
}

/* Unread email group styling */
.email-group-unread {
    font-weight: bold !important;
}

.email-group-unread .ant-table-cell {
    font-weight: bold !important;
}

/* Unread email in nested table styling */
.nested-table-container .email-unread {
    font-weight: bold !important;
}

.nested-table-container .email-unread .ant-table-cell {
    font-weight: bold !important;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Email Filter Modal Close Button Styling */
.email-filter-modal .ant-modal-close {
    color: #ffffff !important;
}

.email-filter-modal .ant-modal-close:hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.1);
}

.email-filter-modal .ant-modal-close .ant-modal-close-x {
    color: #ffffff !important;
    font-size: 16px;
}

.email-filter-modal .ant-modal-content {
    padding: 0 !important;
}

.email-list-card .ant-table,
.email-list-card .ant-table-body {
    width: 100% !important;
}

.email-list-card {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.email-list-card .ant-card-body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
}

.email-list-card .ant-table-wrapper {
    flex: 1 !important;
    overflow: hidden !important;
}

.email-list-card .ant-pagination {
    margin-top: auto !important;
    padding: 16px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
    background: white !important;
}

.email-list-card .ant-card-head-title {
    flex: none !important;
    width: 100px !important;
}#card-peformer-map > .ant-card-body {
    padding-left: 10px;
    padding-right: 10px;
    
}

#list-performer {
    overflow: auto;
    height: 635px;

    .ant-list-item-meta-title {
        font-weight: 500;
    }
}

.lbl-hdr {
    font-weight: 600;
}.right-align-row {
  justify-content: flex-end !important;
  width: 100% !important;
  display: flex !important;
  margin-bottom: 5px !important;
  margin-right: 10px !important;
}

.no-wrap {
  white-space: nowrap !important;
  margin-left: 5px;
}

.row-spaced td {
  padding: 8px !important;
  margin-left: 0 !important;
}

.ant-table-expanded-row .ant-table {
  margin-left: 0 !important;
}

.custom-pagination .ant-pagination {
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: auto;
  height: 40px;
  background-color: #fff;
  z-index: 10;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 5px;
}

.ant-drawer-close {
  position: absolute;
  top: 30px;
  right: 0;
}.ams-wrapper {
  padding: 0;
}

.ams-wrapper .status-select-inactive .ant-select-selector {
  background-color: #f5222d !important; /* Red color from the picture */
  color: white !important;
  border: none !important; /* Ensure no border */
  border-radius: 4px; /* Optional: Add some rounded corners */
  padding-left: 12px !important; /* Adjust padding as needed */
  padding-right: 12px !important; /* Adjust padding as needed */
}

.ams-wrapper .status-select-active .ant-select-selector {
  background-color: #389e0d !important; /* Green color from the picture */
  color: white !important;
  border: none !important; /* Ensure no border */
  border-radius: 4px; /* Optional: Add some rounded corners */
  padding-left: 12px !important; /* Adjust padding as needed */
  padding-right: 12px !important; /* Adjust padding as needed */
}

/* Style for the dropdown options */
.ams-wrapper .ant-select-dropdown .status-option-inactive {
  background-color: #f5222d !important; /* Red color for Inactive option */
  color: white !important;
}

.ams-wrapper .ant-select-dropdown .status-option-active {
  background-color: #389e0d !important; /* Green color for Active option */
  color: white !important;
}

.ams-wrapper .status-select-inactive .ant-select-arrow,
.ams-wrapper .status-select-active .ant-select-arrow {
  color: #fff;
  font-size: 12px;
}

.ams-wrapper .ant-select-dropdown .ant-select-item {
  padding: 4px 12px !important; /* Adjust padding for dropdown items */
}

.ams-wrapper
  .ant-select-dropdown
  .ant-select-item-option-active:not(.ant-select-item-option-disabled) {
  background-color: lightskyblue !important; /* Optional: Highlight color for active dropdown item */
}

.ams-wrapper .custom-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--ant-gray-9);
  width: 100%;
  color: var(--ant-gray-1);
  padding: 8px 14px;
  border-radius: 8px 8px 0 0;
  position: absolute;
  top: 0;
  left: 0;
}

.ams-wrapper .custom-modal-header button {
  color: var(--ant-gray-1);
}

/* .ams-wrapper .account-info-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
} */

/* .ams-wrapper .account-info-row {
  display: flex;
  width: 100%;
}
.ams-wrapper .account-info-label {
  min-width: 130px;
  text-align: right;
  padding-right: 16px;
  font-weight: 500;
}

.ams-wrapper .account-info-value {
  font-size: 15px;
} */

.ams-wrapper .account_step_circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
}
.ams-wrapper .account_step_circle.completed {
  background-color: #389e0d;
}
.ams-wrapper .account_step_circle.not-completed {
  background-color: #b7eb8f;
}

.ams-wrapper .available-circle {
  margin-left: 6px;
  width: 22px; /* Adjust size as needed */
  height: 22px;
  border-radius: 50%;
  /* Modified gradient to have the blank part at the top */
  background: linear-gradient(
    to top,
    #389e0d 0%,
    #389e0d 80%,
    transparent 80%,
    transparent 100%
  );
  border: 3px solid #389e0d; /* Added a green border */
  display: flex;
  align-items: center;
  justify-content: center;
}

.ams-wrapper .unavailable-circle {
  margin-left: 6px;
  width: 22px; /* Adjust size as needed */
  height: 22px;
  border-radius: 50%;
  /* Modified gradient to have the blank part at the top */
  background: linear-gradient(
    to top,
    #f5222d 0%,
    #f5222d 20%,
    transparent 20%,
    transparent 100%
  );
  border: 3px solid #f5222d; /* Added a green border */
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 576px) {
  .ams-wrapper .email-checkbox {
    margin-left: 170px;
  }
}

/* Completed Steps style*/

/* Stages Editor Modal Styles */
.ams-wrapper .stages-container {
  margin-top: 55px;
  padding: 0 20px;
}

.ams-wrapper .stage-item {
  padding: 12px 16px;
  transition: background-color 0.2s ease;
}

.ams-wrapper .stage-item-odd {
  background-color: #f5f5f5;
}

.ams-wrapper .stage-item-even {
  background-color: transparent;
}

/* Dark mode support */
.dark .ams-wrapper .stage-item-odd {
  background-color: #232323;
}

.ams-wrapper .stage-item:hover {
  background-color: #e8e8e8;
}

.dark .ams-wrapper .stage-item:hover {
  background-color: #2a2a2a;
}

.ams-wrapper .stage-actions {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.ams-wrapper .stage-item:hover .stage-actions {
  opacity: 1;
}


.ams-wrapper .step-modal-content::-webkit-scrollbar {
  width: 12px; /* width of the scrollbar */
}

.ams-wrapper .step-modal-content::-webkit-scrollbar-track {
  background: #f1f1f1; /* color of the track */
}

.ams-wrapper .step-modal-content::-webkit-scrollbar-thumb {
  background-color: #888; /* color of the thumb */
  border-radius: 6px; /* roundness of the thumb */
  border: 3px solid #f1f1f1; /* border around the thumb */
}

.ams-wrapper .step-modal-content {
  padding: 0;
  margin: 0;
  margin-top: 55px;
  width: 100%;
  overflow-x: auto;
}

.ams-wrapper .step-form-container {
  margin-top: 180px;
}

.dark .ams-wrapper .step-form {
  background-color: #333;
}

.ams-wrapper .step-form {
  background-color: #f5f5f5;
  border-radius: 4px;
  padding: 10px 20px;
  width: 95%;
  margin: 0 auto;
}

/* .ams-wrapper .step-labels::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 90px;
  width: 300px;
  height: 3.5px;
  background-color: orange;
} */

.ams-wrapper .step-container {
  margin: 0;
  padding: 0;
  width: fit-content;
}

.ams-wrapper .nickname {
  font-size: 12px;
  font-weight: 700;
}

.ams-wrapper .step-labels {
  position: relative;
  display: flex;
  gap: 30px;
  padding-left: 45px;
  /* margin-bottom: 10px; */
}

.ams-wrapper .step-label-container {
  position: relative;
  width: 16px;
}

.ams-wrapper .step-label {
  position: absolute;
  top: -105px;
  left: -20px;
  font-weight: 700;
  width: 280px;
  font-size: 12px;
  rotate: -40deg;
}
/* Completed Steps style*/
/* ==============================
  STAGES & STEPS CONFIG MODAL
  Simplified, grouped, consistent
  ============================== */

/*
  NOTE: Theme support
  The React ThemeContext toggles a 'dark' class on <body>. All custom light-mode
  colors below are hard‑coded for clarity. Dark-mode equivalents are appended
  at the bottom of the file using the selector `body.dark ...` so Ant Design's
  dark algorithm + our overrides stay in sync without refactoring to CSS vars.
*/

/* ---------- Base Containers ---------- */
.stages-collapse {
  border: none;
}

/* Shared panel styles */
.stage-collapse-item,
.step-collapse-item {
  background: #fff;
  border: none;
  border-radius: 8px !important;
  margin-bottom: 0;
}

/* Spacing between sibling panels */
.stage-collapse-item + .stage-collapse-item {
  margin-top: 8px;
}
.step-collapse-item + .step-collapse-item {
  margin-top: 6px;
}

.step-collapse-item .ant-collapse-header {
  display: flex;
  align-items: center !important;
}

/* Collapse headers */
.stages-collapse .ant-collapse-header {
  display: flex;
  align-items: center;
}

.stages-collapse .ant-collapse-expand-icon {
  display: flex;
  align-items: center;
  padding-inline-end: 4px;
  line-height: 1;
}

.stages-collapse .ant-collapse-header-text {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 24px;
  line-height: 1.1;
}

.stages-collapse .ant-collapse-extra {
  display: flex;
  align-items: center;
  gap: 8px !important;
  line-height: 1;
  padding-left: 12px;
}

.stages-collapse .ant-collapse-extra .ant-btn {
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stages-collapse .ant-collapse-extra .ant-btn .anticon,
.stages-collapse .ant-collapse-header .anticon {
  font-size: 14px;
  line-height: 1;
}

.stages-collapse input.ant-input {
  height: 24px;
  padding: 0 6px;
  font-size: 13px;
}

.stages-collapse .ant-collapse-content {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Fixed-size container with internal scrolling for stages */
.stages-container {
  display: flex;
  flex-direction: column;
  background: #f5f5f5;
  border-radius: 8px;
  padding: 16px;
  height: 440px;
  box-sizing: border-box;
}

.stages-scroll {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 0 6px;
}
.stage-add {
  margin-top: 12px;
}

/* Optional custom scrollbar */
.stages-scroll::-webkit-scrollbar {
  width: 8px;
}
.stages-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.stages-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}
.stages-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
}

/* Drag & drop styles */
.draggable-stage {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-bottom: 8px;
}
.draggable-stage.dragging {
  opacity: 0.6;
}
.single-stage {
  flex: 1;
}

/* Step drag & drop */
/* Steps container */
.steps-droppable {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* Draggable step wrapper mimics stage style */
/* Draggable steps */
.draggable-step {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.draggable-step.dragging {
  opacity: 0.65;
}
.single-step {
  flex: 1;
}

/* Stage steps inner wrapper (extracted from inline styles) */
.stage-steps-inner {
  display: flex;
  flex-direction: column;
  padding: 16px;
  background: #f5f5f5;
  border-radius: 8px;
}

/* Unified drag handle style */
.drag-handle-wrapper,
.step-drag-handle-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  cursor: grab;
  color: #888;
}
.drag-handle-wrapper:active,
.step-drag-handle-wrapper:active {
  cursor: grabbing;
}

/* Step body & actions */
.step-body {
  padding: 8px 12px 12px;
}
.step-body label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}
.step-extra-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Manual steps: hide arrow but keep normal cursor handled inline (no special styling needed) */
/* Hide only the arrow icon for manual steps while preserving space for alignment */
.manual-step .ant-collapse-expand-icon { visibility: hidden; }

/* ------------------ Read-only banner ------------------ */
.link-filter-banner {
  display: flex;
  gap: 12px;
  background: linear-gradient(90deg, #f0f5ff 0%, #f7faff 100%);
  border: 1px solid #d4e3ff;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  font-size: 13px;
  line-height: 1.4;
}
.link-filter-icon-wrapper {
  color: #2f73ff;
  font-size: 18px;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}
.link-filter-text { flex: 1; }
.link-filter-heading { font-weight: 600; margin-bottom: 2px; }
.link-filter-sub { color: #4a5668; }
.link-filter-link { font-weight: 600; }
.link-filter-link:hover { text-decoration: underline; }

/* Configuration intro banner (editable mode) */
.config-intro-banner {
  display: flex;
  gap: 14px;
  background: linear-gradient(90deg, #f8f9fb 0%, #f2f7ff 100%);
  border: 1px solid #e0e8f5;
  padding: 12px 16px 12px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  font-size: 13px;
  line-height: 1.45;
}
.config-intro-icon-wrapper {
  color: #1677ff;
  font-size: 20px;
  display: flex;
  align-items: flex-start;
  padding-top: 2px;
}
.config-intro-text { flex: 1; min-width: 0; }
.config-intro-heading { font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.config-intro-points { margin: 0; padding-left: 18px; display: grid; gap: 2px; }
.config-intro-points li { padding-left: 2px; }
.config-intro-points .kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  background: #fff;
  border: 1px solid #d0d7e2;
  padding: 0 4px;
  border-radius: 4px;
  font-size: 11px;
  display: inline-block;
  line-height: 1.2;
  vertical-align: baseline;
}

/* Popover variant (if help content shown inside popover) */
.config-intro-banner.popover-variant {
  margin: 0;
  box-shadow: none;
  background: transparent;
  border: none;
  padding: 0;
}

/* Empty / no-data state centered */
.stages-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px 12px;
  color: #bfbfbf;
  gap: 12px;
}
.stages-empty .anticon { font-size: 48px; }
.stages-empty p { margin: 0; font-size: 16px; }

/* ==============================
   DARK THEME OVERRIDES
   Applied when <body> has class 'dark'
   ============================== */
body.dark .stage-collapse-item,
body.dark .step-collapse-item {
  background: #1f1f1f;
}
body.dark .stages-container {
  background: #141414;
}
body.dark .stages-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}
body.dark .stages-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}
body.dark .drag-handle-wrapper,
body.dark .step-drag-handle-wrapper {
  color: #b5b5b5;
}
body.dark .step-body label {
  color: #d0d0d0;
}
body.dark .stages-empty {
  color: #5a5a5a;
}
/* Banners */
body.dark .link-filter-banner {
  background: linear-gradient(90deg, #1a2733 0%, #16232e 100%);
  border-color: #2b3d4b;
  color: #d2d9e0;
}
body.dark .link-filter-icon-wrapper { color: #5aa6ff; }
body.dark .link-filter-heading { color: #e2e8ef; }
body.dark .link-filter-sub { color: #9aa6b4; }
body.dark .link-filter-link { color: #7bbdff; }
body.dark .link-filter-link:hover { text-decoration: underline; }

body.dark .config-intro-banner {
  background: linear-gradient(90deg, #1f252d 0%, #1a2a3b 100%);
  border-color: #2c3a46;
  color: #d6dce2;
}
body.dark .config-intro-icon-wrapper { color: #4096ff; }
body.dark .config-intro-heading { color: #e4e9ef; }
body.dark .config-intro-points .kbd {
  background: #1a1a1a;
  border-color: #323232;
  color: #d0d0d0;
}

/* Collapse header adjustments for contrast */
body.dark .stages-collapse .ant-collapse-header-text { color: #d9d9d9; }
body.dark .stages-collapse input.ant-input {
  background: #141414;
  border-color: #303030;
  color: #d9d9d9;
}
body.dark .stages-collapse input.ant-input::placeholder { color: #777; }
body.dark .stages-collapse .ant-collapse-extra .ant-btn,
body.dark .stages-collapse .ant-collapse-header .anticon { color: #bfbfbf; }
body.dark .stages-collapse .ant-collapse-extra .ant-btn:hover .anticon { color: #fff; }

/* Step body surface */
body.dark .step-body { color: #d0d0d0; }

/* Ensure manual step hidden icon area doesn't appear as a bright gap */
body.dark .manual-step .ant-collapse-expand-icon { background: transparent; }

/* Dark override for extracted stage steps wrapper */
body.dark .stage-steps-inner { background: #1f1f1f; }

.account-info-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 200px;
  margin-top: var(--ant-margin-lg);
  padding-top: var(--ant-padding-sm);
  overflow: auto;
}


.account-info-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  width: 100%;
  min-width: 0;
}

.account-info-row > *:not(:first-child):not(.account-info-row-actions) {
  flex: 1;
  min-width: 0;
}

.account-info-row > .account-info-row-value-fit {
  flex: 0 1 auto;
  width: fit-content;
}

.account-info-row > span:first-child { /* the label <Text> */
  width: 135px;
  text-align: right;
  flex-shrink: 0;
  color: var(--ant-color-text-secondary);
}

.account-info-row-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-shrink: 0;
  width: 55px;
}

.account-info-block + .account-info-block {
  margin-top: 8px;
}

/* Make disabled selects more visible */
.disabled-select-visible.ant-select-disabled .ant-select-selector {
  color: var(--ant-color-text) !important;
  background-color: var(--ant-color-fill-quaternary) !important;
  cursor: not-allowed;
}

.disabled-select-visible.ant-select-disabled .ant-select-selection-item {
  color: var(--ant-color-text) !important;
}

.notion-callout {
    display: flex; /* Aligns the icon and content side-by-side */
    align-items: flex-start; /* Aligns content to the top of the line */
    padding: 16px;
    border-radius: 4px; /* Optional: adds rounded corners */
    background-color: #f7f7f7; /* A light gray background, similar to Notion's default */
    border: 1px solid #e0e0e0; /* Optional: a subtle border */
    margin: -1em 0; /* Adds some vertical spacing */
    gap: 12px; /* Spacing between the icon and the text */
    margin-top: 40px;
}

.callout-icon {
    font-size: 24px; /* Adjust size as needed */
    /* If using an actual image, set width/height */
}

.callout-content p {
    margin: 0; /* Resets default paragraph margin */
    color: #333;
    line-height: 1.5;
    font-size: small;
}

.download-csv-button {
    margin-bottom: 16px; 
    text-align: right; 
}

.loading-container {
    margin-top: 55;
}
.account-steps-progress-modal .account-steps-progress-modal-content .stage-table {
  border-left: 4px solid #d9d9d9;
  margin-left: 12px;
  padding-left: 12px;
}

.account-steps-progress-modal .account-steps-progress-modal-content .step-table {
  border-left: 4px solid #bfbfbf;
  margin-left: 12px;
  padding-left: 12px;
}

.account-steps-progress-modal .account-steps-progress-modal-content .account-name {
  font-weight: 600;
}

body.dark .account-steps-progress-modal .account-steps-progress-modal-content .stage-table {
  border-left: 4px solid #595959;
  margin-left: 12px;
  padding-left: 12px;
}

body.dark .account-steps-progress-modal .account-steps-progress-modal-content .step-table {
  border-left: 4px solid #434343;
  margin-left: 12px;
  padding-left: 12px;
}.create-account-modal .warning-container {
  padding-top: var(--ant-padding-sm);
  margin-left: calc(var(--ant-margin-lg) * -1);
  margin-right: calc(var(--ant-margin-lg) * -1);
}

.create-account-modal .create-account-form-errors {
  margin-bottom: var(--ant-margin-sm);
}

.create-account-modal .create-account-form-errors .ant-alert-icon {
  padding-top: var(--ant-padding-xxs);
  font-size: var(--ant-font-size);
}

.create-account-modal .create-account-form-errors .ant-alert-message {
  font-size: var(--ant-font-size);
  font-weight: var(--ant-font-weight-strong);
}

.create-account-modal
  .create-account-form-errors
  .create-account-form-error-list {
  margin: 0;
  padding-left: var(--ant-padding);
  font-size: var(--ant-font-size-sm);
}

.create-account-modal .modal-step-content.step-first {
  margin-top: var(--ant-margin-lg);
  padding-top: var(--ant-padding-sm);
  min-height: 100px;
  max-height: 400px;
  width: 90%;
  overflow: auto;
}

.create-account-modal
.modal-step-content.step-second-any-metro, 
.modal-step-content.step-second-with-metro,
.modal-step-content.step-third-credit-card-ordering {
  height: 600px;
  overflow: auto;
}

.create-account-modal .account-item-required::before {
  display: inline-block;
  margin-inline-end: var(--ant-margin-xxs);
  color: var(--ant-form-label-required-mark-color);
  font-size: var(--ant-font-size);
  font-family: SimSun, sans-serif;
  line-height: 1;
  content: "*";
}

.metro-option {
  /* background-color: rebeccapurple; */
}/* Result modal row styles */
.success-row.light-mode {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.success-row.light-mode:hover {
    background-color: #e8f7e4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.success-row.dark-mode {
    background-color: #1a3314;
    color: #73d13d;
    border: 1px solid #274916;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.success-row.dark-mode:hover {
    background-color: #1f3c18;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.error-row.light-mode {
    background-color: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.error-row.light-mode:hover {
    background-color: #ffe7e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.error-row.dark-mode {
    background-color: #3a1f1f;
    color: #ff7875;
    border: 1px solid #4f2626;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.error-row.dark-mode:hover {
    background-color: #4a2626;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.disabled-row {
    background-color: #f5f5f5;
    color: #999;
}

.disabled-row:hover {
    background-color: #f5f5f5 !important;
}

.ant-table-tbody .disabled-row td {
    background-color: #f5f5f5 !important;
    color: #999 !important;
}

.table-container {
    width: 100%;
    position: relative;
    overflow: auto;
}

/* Confirmation modal account card */
.ts-account-card {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Platform rows table */
.ts-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.ts-platform-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ts-platform-table th {
    text-align: left;
    padding: 6px 8px;
    font-weight: 600;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.45);
    border-bottom: 1px solid #f0f0f0;
    white-space: nowrap;
}

.ts-platform-table td {
    padding: 8px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.ts-platform-table tbody tr:last-child td {
    border-bottom: none;
}
.account-steps-modal .stages-container {
  background: transparent;
}

.account-steps-modal .account-stages {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.account-steps-modal .account-stage-item {
  background: #f5f5f5;
  padding: 12px 14px;
  border-radius: 8px;
}

.account-steps-modal .account-stage-item.stage-complete {
  outline: 2px solid #73d13d;
  outline-offset: -2px;
  background: #f6ffed;
}

.account-steps-modal .account-stage-title.stage-complete.check-icon {
  color: #73d13d;
}

.account-steps-modal .account-stage-title {
  font-weight: 600;
}

.account-steps-modal .account-stage-title.has-steps {
  margin-bottom: 8px;
}

.account-steps-modal .account-stage-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-steps-modal .account-stage-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

/* Checkbox tweaks */
.account-steps-modal .account-stage-checkbox {
  margin: 0;
  padding: 0;
  cursor: default;
}

.account-steps-modal .account-stage-no-steps {
  font-size: 12px;
  opacity: 0.55;
}

/* Dark theme overrides */
body.dark .account-steps-modal .stages-container {
  background: transparent;
}

body.dark .account-steps-modal .account-stage-item {
  background: #262626;
}

body.dark .account-steps-modal .account-stage-no-steps {
  opacity: 0.6;
}
/* Force modal width to 600px for BulkUploadProxyModal */
.bulk-upload-wrapper .ant-modal-content {
    width: 650px !important;
    max-width: 650px !important;
    min-width: 650px !important;
}
.notion-callout {
    display: flex; /* Aligns the icon and content side-by-side */
    align-items: flex-start; /* Aligns content to the top of the line */
    padding: 16px;
    border-radius: 4px; /* Optional: adds rounded corners */
    background-color: #f7f7f7; /* A light gray background, similar to Notion's default */
    border: 1px solid #e0e0e0; /* Optional: a subtle border */
    margin: -1em 0; /* Adds some vertical spacing */
    gap: 12px; /* Spacing between the icon and the text */
    margin-top: 40px;
}

.callout-icon {
    font-size: 24px; /* Adjust size as needed */
    /* If using an actual image, set width/height */
}

.callout-content p {
    margin: 0; /* Resets default paragraph margin */
    color: #333;
    line-height: 1.5;
    font-size: small;
}

.valid-row-td {
    padding: 2px 8px;
    border-bottom: 1px solid #ffe5e5;
}

.download-csv-button {
    margin-bottom: 16px; 
    text-align: right; 
}

.loading-container {
    margin-top: 55;
}

.valid-row-th {
    text-align: left;
    padding: 2px 8px;
    background: #fafafa;
    border-bottom: 1px solid #eee;
}

.invalid-row-td {
    padding: 2px 8px;
    border-bottom: 1px solid #ffe5e5;
    
}

.invalid-row {
    text-align: left;
    padding: 2px 8px;
    background: #fff5f5;
    border-bottom: 1px solid #ffd6d6;
}



.form {
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.input-box {
    flex: 1;
}

.error {
    color: red;
}
.clickable-alert-title {
    cursor: pointer;
    transition: text-decoration 0.2s;
}

.clickable-alert-title:hover {
    text-decoration: underline;
    color: #1a75fa;
}
.comment-list {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
    margin-bottom: 20px;
    scroll-behavior: smooth;
}

.comment-item {
    display: flex;
    margin-bottom: 16px;
}

.comment-content {
    flex: 1;
    margin-left: 12px;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.comment-content.group-message {
    background-color: #e6f7ff;
}

.comment-content.sub-group-message {
    background-color: #f1efef;
}

.comment-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9em;
}

.comment-text {
    display: block;
    margin-bottom: 4px;
    line-height: 1.5;
}

.comment-form {
    margin-top: 20px;
}

.empty-comments {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    color: #999;
    font-style: italic;
}/* Light mode styling */
.highlighted-row.light-mode {
    background-color: #fff7e6;
    color: #ff8c00;
    border: 1px solid #ffcc80;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.highlighted-row.light-mode:hover {
    background-color: #fff3e0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark mode styling */
.highlighted-row.dark-mode {
    background-color: #3a3a3a;
    color: #ffa726;
    border: 1px solid #7f4b1f;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.highlighted-row.dark-mode:hover {
    background-color: #4a4a4a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.editable-cell-container {
    margin: -16px;
    height: 100%;
}

.editable-cell {
    cursor: pointer;
    padding: 8px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.editable-cell:hover {
    background-color: rgba(0, 0, 0, 0.04);
}

.dark-mode .editable-cell:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.ant-table-cell .editable-cell-container {
    min-height: 54px;
}

.table-container {
    width: 100%;
    position: relative;
    overflow: auto;
}

/* BuyList component specific table font size styling */
.table-container .ant-table {
    font-size: 12px;
}

/* Smaller table header styling */
.table-container .ant-table-thead > tr > th {
    font-size: 11px;
    font-weight: 600;
    padding: 6px 4px;
    height: 32px;
    line-height: 1.2;
}

.table-container .ant-table-tbody > tr > td {
    font-size: 12px;
    padding: 3px 3px;
}

.table-container .ant-table-cell {
    font-size: 12px;
}

.table-container .ant-btn {
    font-size: 12px;
}

.table-container .ant-popover {
    font-size: 12px;
}

/* Smaller table footer/pagination styling */
.table-container .ant-table-footer {
    padding: 8px 16px;
}

.table-container .ant-table-footer .ant-pagination {
    margin: 0;
}

.table-container .ant-table-footer .ant-pagination .ant-pagination-item,
.table-container .ant-table-footer .ant-pagination .ant-pagination-prev,
.table-container .ant-table-footer .ant-pagination .ant-pagination-next,
.table-container .ant-table-footer .ant-pagination .ant-pagination-jump-prev,
.table-container .ant-table-footer .ant-pagination .ant-pagination-jump-next {
    min-width: 24px;
    height: 24px;
    line-height: 22px;
    font-size: 12px;
}

.table-container .ant-table-footer .ant-pagination .ant-select-selector {
    height: 24px;
    font-size: 12px;
}

.table-container .ant-table-footer .ant-pagination .ant-select-selection-item {
    line-height: 22px;
    font-size: 11px;
}

.table-container .ant-table-footer div {
    font-size: 12px;
    line-height: 24px;
}

.dark-mode .table-container .ant-table-footer {
    background: #1f1f1f;
}

.action-button {
    width: 100px;
}

.account-highlight-blue {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.account-highlight-blue:hover {
    background-color: #d9f2ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.account-highlight-blue.dark-mode {
    background-color: #132c48;
    color: #d9e9f7;
    border: 1px solid #153450;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.account-highlight-blue.dark-mode:hover {
    background-color: #15273b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Light mode styling for European/Mexico countries */
.account-highlight-purple.light-mode {
    background-color: #F6E3F8;
    color: #702E77;
    border: 1px solid #E8C1EC;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.account-highlight-purple.light-mode:hover {
    background-color: #F0D5F3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark mode styling for European/Mexico countries */
.account-highlight-purple.dark-mode {
    background-color: #702E77;
    color: #F6E3F8;
    border: 1px solid #8B3A94;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.account-highlight-purple.dark-mode:hover {
    background-color: #5c2561;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Card/Confirmation column styling to prevent width expansion */
.card-confirmation-cell {
    max-width: 110px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    line-height: 1.3;
}

.card-confirmation-cell .editable-cell {
    max-width: 100%;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    padding: 4px;
    min-height: 20px;
}/* Light mode styling for success rows */
.success-row.light-mode {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.success-row.light-mode:hover {
    background-color: #e8f7e4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark mode styling for success rows */
.success-row.dark-mode {
    background-color: #1a3314;
    color: #73d13d;
    border: 1px solid #274916;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.success-row.dark-mode:hover {
    background-color: #1f3c18;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Light mode styling for failure rows */
.failure-row.light-mode {
    background-color: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.failure-row.light-mode:hover {
    background-color: #ffe7e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Dark mode styling for failure rows */
.failure-row.dark-mode {
    background-color: #3a1f1f;
    color: #ff7875;
    border: 1px solid #4f2626;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.failure-row.dark-mode:hover {
    background-color: #442424;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}.success-row.light-mode {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.success-row.light-mode:hover {
    background-color: #e8f7e4;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.success-row.dark-mode {
    background-color: #1a3314;
    color: #73d13d;
    border: 1px solid #274916;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.success-row.dark-mode:hover {
    background-color: #1f3c18;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.already-claimed-row.light-mode {
    background-color: #fff7e6;
    color: #faad14;
    border: 1px solid #ffd591;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.already-claimed-row.light-mode:hover {
    background-color: #fff1d9;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.already-claimed-row.dark-mode {
    background-color: #2b2111;
    color: #ffc53d;
    border: 1px solid #3b2b15;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.already-claimed-row.dark-mode:hover {
    background-color: #332614;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.failure-row.light-mode {
    background-color: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.failure-row.light-mode:hover {
    background-color: #ffe7e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.failure-row.dark-mode {
    background-color: #3a1f1f;
    color: #ff7875;
    border: 1px solid #4f2626;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.failure-row.dark-mode:hover {
    background-color: #442424;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.table-container {
    width: 100%;
    position: relative;
    overflow: auto;
}

.highlight-row {
    background-color: #fff1f0;
    color: #ff4d4f;
    border: 1px solid #ffa39e;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.highlight-row.dark-mode {
    background-color: #3a1f1f;
    color: #ffe5e5;
    border: 1px solid #4f2626;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.account-highlight-blue {
    background-color: #e6f7ff;
    color: #1890ff;
    border: 1px solid #91d5ff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .account-highlight-blue:hover {
    background-color: #d9f2ff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
  
  .account-highlight-blue.dark-mode {
    background-color: #132c48;
    color: #d9e9f7;
    border: 1px solid #153450;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  .account-highlight-blue.dark-mode:hover {
    background-color: #15273b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  /* Light mode styling for European/Mexico countries */
  .account-highlight-purple.light-mode {
    background-color: #F6E3F8;
    color: #702E77;
    border: 1px solid #E8C1EC;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .account-highlight-purple.light-mode:hover {
    background-color: #F0D5F3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  /* Dark mode styling for European/Mexico countries */
  .account-highlight-purple.dark-mode {
    background-color: #702E77;
    color: #F6E3F8;
    border: 1px solid #8B3A94;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
  }

  .account-highlight-purple.dark-mode:hover {
    background-color: #5c2561;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }