:root {
  --primary-blue: #2563eb;
  --success-green: #22c55e;
  --warning-yellow: #f59e0b;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --padding-medium: 10px 10px;
  --primary: #ff0000;
  --primary-dark: #cc0000;
  --primary-light: #ffebeb;
  --black: #000000;
  --white: #ffffff;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --primary-red: #F30C1E;
  --primary-red-hover: #b91c1c;
  --border-gray: #e5e7eb;
  --shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  --bg-white: #fff;

  /* Colors */
  --color-primary: #F30C1E;
  --color-primary-hover: #F63747;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #e5e7eb;
  --color-gray-500: #6b7280;
  --color-gray-700: #374151;
  --color-black-alpha: rgba(0, 0, 0, 0.5);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.875rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;

  /* Typography */
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.5rem;

  /* Border Radius */
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-focus: 0 0 0 2px rgba(37, 99, 235, 0.1);

  --radius-md: 4px;

  --transition-base: 0.2s ease;
  --text-gray-700: #374151;
  --text-gray-500: #6b7280;

  /* Border Radius */
  --border-radius-sm: 0.25rem; /* 4px */
  --border-radius-md: 0.375rem; /* 6px */
  --border-radius-lg: 0.5rem; /* 8px */
  --border-radius-full: 9999px;

  /* Typography */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */

  /* Spacing */
  --spacing-xs: 0.5rem; /* 8px */
  --spacing-sm: 0.75rem; /* 12px */
  --spacing-md: 1rem; /* 16px */
  --spacing-lg: 1.5rem; /* 24px */
  --spacing-xl: 2rem; /* 32px */

  /* Colors */
  --color-primary: #ef4444; /* Red-500 */
  --color-primary-hover: #dc2626; /* Red-600 */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --color-white: #ffffff;
  --color-primary-dark: #000000;

  /* Border Radius */
  --radius-sm: 0.25rem; /* 4px */
  --radius-md: 0.375rem; /* 6px */
  --radius-lg: 0.5rem; /* 8px */
  --radius-full: 9999px;
  --border-radius-md: 12px;

  /* Transitions */
  --transition-base: all 0.2s ease-in-out;

  /* Border Colors */
  --border-gray-100: #f3f4f6; /* Gray 100 - Light borders */
  --border-gray-200: #e5e7eb; /* Gray 200 - Slightly darker borders */

  /* Overlay Colors */
  --color-overlay: rgba(0, 0, 0, 0.5);

  /* Text Colors */
  --text-gray-900: #111827; /* Gray 900 - Headings and important text */
  --text-gray-600: #4b5563; /* Gray 600 - Secondary text */
  --text-gray-500: #6b7280; /* Gray 500 - Less important text */

  /* Status Colors */
  --success-green-50: #f0fdf4; /* Green 50 - Success background */
  --success-green-600: #16a34a; /* Green 600 - Success text */
  --alert-red-50: #fef2f2; /* Red 50 - Alert background */
  --alert-red-600: #dc2626; /* Red 600 - Alert text */

  /* Status Colors */
  --color-status-processing-bg: #eef2ff;
  --color-status-processing-text: #4f46e5;
  --color-status-shipped-bg: #fef3c7;
  --color-status-shipped-text: #d97706;
  --color-status-delivered-bg: #ecfdf5;
  --color-status-delivered-text: #16a34a;

  /* Chart Colors */
  --chart-line: #dc2626; /* Red 600 - Chart line color */
  --chart-grid: #f0f0f0; /* Light gray - Chart grid lines */
  --chart-text: #6b7280; /* Gray 500 - Chart axis text */

  /* Hover/Interactive States */
  --hover-gray-700: #374151; /* Gray 700 - Text hover */

  /* Review */
  --review-reply-btn: #000;
  --review-like-btn: #000;
  --review-reply-btn-hover: #0000008a;
  --review-like-btn-hover: #0000008a;
  --review-rating-value: #000;
  --review-border-color: #d6d6d6;
  --review-star-color: #ffb400;
  --review-spacing-base: 1rem;
  --review-spacing-small: 0.25rem;
  --review-avatar-size: 3rem;
  --review-font-size: 1rem;
  

  /* Reply Form */
  --review-background-color: #fff;
  --review-border-color: #d6d6d6;
  --review-border-radius: 8px;
  --review-spacing-base: 1rem;
  --review-text-secondary: #6b7280;
  --review-primary-color: #000;
  --review-primary-color-dark: #0000008a;
}

#verified-img-container {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.verified-tag {
  display: flex;
  align-items: center;
}

.verified-tag p {
  font-size: 1rem;
  color: var(--text-gray-500);
  font-weight: 500;
}

.verified-badge-icon {
    width: 35px;
    height: auto;
}

/* CSS */
.button-31 {
  background-color: #222;
  border-radius: 4px;
  border-style: none;
  box-sizing: border-box;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  /* font-family: "Farfetch Basis", "Helvetica Neue", Arial, sans-serif; */
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  max-width: none;
  min-height: 44px;
  min-width: 10px;
  outline: none;
  overflow: hidden;
  padding: 9px 20px 8px;
  position: relative;
  text-align: center;
  text-transform: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  /* width: 100%; */
}

#sm-list {
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
  width: 100%;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  list-style: none;
  border-radius: 8px;
  /* border: 1px solid #d9d9d9; */
  margin-top: 5px;
}

/* #select-year,
.year-dropdown {
  position: relative;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;

 
} */

#select-year.open,
.year-dropdown.open {
  max-height: 500px; /* Set to a value larger than the dropdown content */
  opacity: 1;
  overflow: visible;
  visibility: visible;
}

#list {
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
  width: 100px;
  left: 1px;
  top: 4px;
  padding-left: 0 !important;
  flex-direction: column;
  position: absolute;
  display: flex;
  z-index: 2;
  align-items: flex-start;
  list-style: none;
  /* border: 1px solid #d9d9d9; */
  border-radius: 8px;
  background-color: #fff;
}
#select-year ul li,
#sm-list li {
  padding: 8px 10px;
  margin: 4px 2px;
  width: 95%;
  cursor: pointer;
  border-radius: 8px;
  text-wrap: nowrap;
}

#select-year ul li:hover,
#sm-list li:hover {
  background-color: #d9d9d9;
}

.p1 {
  padding: 10px 5px;
}

#filter-stmts i {
  font-size: 24px;
}

#filter-stmts p {
  font-weight: 500;
}

hr {
  width: 100%;
  text-align: left;
  margin-left: 0;
}

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

.default-button {
  height: 42px;
  border-radius: 8px;
  background-color: transparent;
  border: 2px solid #d9d9d9;
  padding: 5px 8px;
}

button:disabled {
  background-color: #ccc;
  color: #777;
  cursor: not-allowed;
  opacity: 0.6;
}

.button-31:hover,
.button-31:focus {
  opacity: 0.75;
}

.button-16:hover {
  border-color: #dadce0;
  box-shadow: rgba(0, 0, 0, 0.1) 0 1px 1px;
  color: #202124;
}

.button-16:focus {
  border-color: #4285f4;
  outline: none;
}

.cancel {
  background-color: #e51a3c;
  color: #000;
  border: 2px solid #d7d7d7;
  background-color: #fff;
}

.cancel:hover {
  background-color: #f9f9f9;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.default-paragraph {
  padding: 0 !important;
  margin: 0 !important;
}

.wrapper-row {
  display: flex;
  gap: 0.25rem;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.required {
  color: red;
}

#shippingInformation .form-row {
  gap: 1rem;
  display: flex;
}

.edit-btn {
  border: transparent;
  background-color: #000;
  font-weight: 500;
  color: white;
  padding: 10px;
  border-radius: 8px;
  transition: 0.2s ease;
}

.edit-btn:hover {
  background-color: #0000008a;
  transform: scale(1.1);
}

.reg-btn {
  border: none;
  font-weight: 500;
  padding: 10px;
  border-radius: 8px;
}

/* .btn {
  border-radius: 8px !important;
  font-weight: 500;
  cursor: pointer;
  background-color: transparent;
  padding: 10px 25px;
} */

#bio-section .btn-wrapper button {
  border-radius: 8px !important;
  font-weight: 500;
  cursor: pointer;
  background-color: transparent;
  padding: 10px 25px;
}

#name {
  font-size: 1.1rem;
  font-weight: 500;
}
#username {
  font-size: 1.125rem;
  /* opacity: 0.5; */
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.username-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

#bio-section #bio {
  width: 100%;
  background-color: transparent;
  display: flex;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

#bio-value[disabled] {
  height: 135px;
  background-color: transparent; /* Make background transparent */
  border: none; /* Remove borders */
  color: #333; /* Set text color */
  font-size: 16px; /* Adjust font size */
  line-height: 1.6; /* Increase line height for readability */
  padding: 10px 0; /* Add some space around the text */
  width: 100%; /* Ensure it fills the container */
  resize: none; /* Prevent resizing */
  overflow: hidden; /* Hide any overflow */
  white-space: pre-wrap; /* Ensure new lines are displayed */
  text-align: center;
  box-shadow: none;
}

#shippingInformation select {
  border-radius: 8px;
  margin: 8px 0px;
  width: 100%;
  padding: 12px 6px;
}

#word-count {
  display: none; /* hide by default */
}

#upload-btn {
  border: 1px solid #1a5eeb;
  color: #1a5eeb;
}
.btn-wrapper {
  gap: 12px;
  display: flex;
  justify-content: center;
  width: 100%;
  padding-bottom: 12px;
}

.btn-wrapper button i {
  font-size: 1rem !important;
}

#bio-section .btn-wrapper {
  width: 100%;
  display: none;
  flex-direction: column;
}

#bio-section #website,
#title {
  padding: 5px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d6d6d6;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, box-shadow 0.3s ease; /* smooth transition */
}

#bio-section:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* A blue show on focus */
}

#bio-section label {
  font-size: 18px;
  font-weight: 500;
}

#bio-section #website-link-box {
  width: 100%;
  padding: 12px 0px;
}

.website-input-container,
.title-input-container {
  padding: 5px;
}

.website-link-div {
  padding: 10px;
  font-size: 2rem;
  display: flex;
  align-items: center;
}

.shopify {
  color: #95bf46;
}

.facebook {
  color: #0765ff;
}

.instagram {
  color: #db0c7a;
}

.amazon {
  color: #f59400;
}

#cards-on-file {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.usd .btn-wrapper button {
  flex: 1;
  padding: 10px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#wallet-balance .usd h4 {
  font-size: 24px;
  font-weight: 500;
}

.update-status {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  display: flex;
  align-items: center;
  gap: 4px;
}

.funds-container {
  padding: 24px;
  border-radius: 12px;
  max-width: 450px;
  width: 100%;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.add-funds-menu.active .funds-container,
.add-card-menu.active .add-card-popup,
.popup-overlay.active .withdraw-container {
  transform: scale(1);
  opacity: 1;
}

.funds-container .close-button {
  border: none;
  border-radius: 8px;
  padding: 0px 8px;
  background-color: transparent;
  cursor: pointer;
  font-size: larger;
}

.withdraw-container .close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.funds-container .header-wrapper {
  display: flex;
  justify-content: space-between;
}

.funds-container .funds-balance {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.funds-container .wallet-info {
  display: flex;
  align-items: center;
  gap: 4px;
}

.funds-balance .funds-input {
  font-weight: 700;
  font-size: 2rem;
  width: 80%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 0px 12px;
}

.funds-input.focused {
  border: none;
}

.funds-balance h1 {
  font-weight: 700;
  font-size: 36px;
}

.funds-container .currency-dropdown select {
  border-radius: 8px;
  border: 1px solid #ccc;
  padding: 8px 12px;
  gap: 8px;
  background-color: transparent;
  display: flex;
  border-radius: 8px;
  align-items: center;
}

.from-account .from-account-info {
  flex: 1;
}

.currency-dropdown span {
  font-size: 1rem;
}

.funds-container .currency-dropdown .dropdown-btn {
  background-color: transparent;
  border: none;
}

.funds-container .from-account select {
  border: 1px solid #ccc;
  display: flex;
  gap: 1rem;
  align-items: center;
  background-color: transparent;
  border-radius: 8px;
  padding: 12px;
  margin: 24px 0px;
}

.funds-container .quick-amounts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 24px 0px;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

/* notifications styles */
.payment-nofication {
  position: fixed;
  top: 20px;
  right: -100%; /* Start off-screen */
  z-index: 1000;
  transition: right 0.3s ease-in-out;
}

.payment-nofication.show {
  right: 20px; /* Slide in from right */
}

.notification-container.success {
  background-color: #4caf50;
  color: white;
}

.notification-container.withdraw {
  background-color: #2563eb;
  color: white;
}

.notification-container.update {
  background-color: #2196f3;
  color: white;
}

.notification-container.error {
  background-color: #f44336;
  color: white;
}

.notification-container {
  background: #ffffff;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.notification-container i {
  font-size: 20px;
}

.amount-text,
.error-text {
  margin: 0;
  color: white;
}

/* Optional animation for check icon */
@keyframes checkmark {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.notification-container i {
  animation: checkmark 0.3s ease-in-out forwards;
}

.quick-amounts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.amount-btn {
  padding: 8px;
  font-size: 14px;
  border: none;
  border-radius: 8px;
  background: #f3f4f6;
  color: black;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amount-btn:hover {
  background: #e5e7eb;
}

.confirm-withdraw-btn {
  width: 100%;
  padding: 14px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.confirm-withdraw-btn:hover {
  background: #2563eb;
}

.amount-input:focus {
  outline: none;
  border-color: #2563eb;
}

.currency-indicator {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.confirm-withdraw-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.popup-overlay.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.5);
}

.amount-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 24px;
  font-weight: 500;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  transition: border-color 0.2s ease;
}

.amount-input:focus {
  outline: none;
  border-color: #2563eb;
}

.amount-label {
  font-size: 16px;
  font-weight: 500;
  color: black;
  margin: 8px 0 8px 0;
}

.available-balance {
  font-size: 14px;
  color: #666;
  margin: 8px 0 16px 0;
}

.amount-input-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.withdraw-container {
  position: relative;
  width: 100%;
  max-width: 450px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 24px;
  border: 1px solid #e5e5e5;
  font-family: Arial, sans-serif;
  transform: scale(0.7);
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.quick-amounts .amount-btn {
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.3s;
  padding: 10px;
}

.amount-btn:hover {
  /* color: white; */
  background-color: #f0f0f0;
}

#add-funds-btn {
  padding: 12px;
  width: 100%;
  border: none;
  background: green;
  color: white;
  border-radius: 8px;
}

#add-funds-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.add-funds-menu,
.view-details-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  display: flex; /* intially set to none */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.add-funds-menu.active,
.add-card-menu.active,
.view-details-menu.active,
.bank-modal-overlay.active,
.edit-bank-overlay.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
}

.no-scroll {
  overflow: hidden;
}

.funds-container .quick-amounts-title {
  font-weight: 600;
}

.funds-container .fa-solid {
  font-size: larger;
}

/* View Card Details  */

#card-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 1.5rem 0;
}

#view-details .label {
  font-size: 1.1rem;
  margin: 0;
}

#view-details .fee-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

#view-details .details-container {
  background-color: white;
  border: 1px solid #d6d6d6;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 32rem;
  width: 100%;
  margin: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: calc(100vh - 4rem); /* Prevent overflow on small screens */
  overflow-y: auto;
  /* Custom scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

#view-details .details-container::-webkit-scrollbar {
  width: 8px;
}

#view-details .details-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#view-details .details-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
  transition: background 0.3s ease-in-out;
}

#view-details .details-container::-webkit-scrollbar-thumb:hover {
  background: #666;
}

#view-details .processing-fees-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

#view-details .processing-fees {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem 0;
}

#view-details .r-trans {
  margin-bottom: 1.5rem 0;
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
}

#view-details .recent-trans-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#view-details .trans {
  display: flex;
  justify-content: space-between;
  padding: 0, 5rem 0;
}

#view-details .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1.5rem;
}

#view-details .close-button {
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 8px;
  transition: background-color 0.2s;
}

#view-details .close-button:hover {
  background-color: #f3f4f6;
}

#view-details .details-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#view-detail .details-label {
  font-weight: 500 !important;
  font-size: 0.875rem !important;
  color: #6b7280 !important;
}

.details-item i {
  font-size: 1.25rem;
}

#view-details .details-item p:first-child {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

#view-details .details-item p:last-child {
  font-weight: 500;
}

#view-details #card-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 24px;
}

#view-details #card-info h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

#view-details .card-details-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

#view-details .control-button {
  border-radius: 8px;
  background-color: transparent;
  border: 1px solid #d1d5d1;
  padding: 0.75rem;
  gap: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.875rem;
  flex: 1;
}

#view-details .control-button:hover {
  background-color: #f3f4f6;
  border-color: #9ca3af;
}

#view-details #remove-card,
#remove-card p {
  color: #dc2626; /* Red color for delete button */
}

#view-details #remove-card:hover {
  background-color: #fef2f2; /* Light red background on hover */
  border-color: #dc2626;
}

#view-details #recent-trans {
  margin: 1.5rem 0;
}

#view-details .trans:last-child {
  border-bottom: none;
}

#view-details .trans {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.bank-details .details-item p {
  font-weight: 500;
}

.bank-details .activity-item-wrapper {
  font-weight: 500;
  font-size: 13px;
}

.primary-card {
  font-weight: 500;
  font-size: 13px;
  width: 50%;
  margin-bottom: 1.5rem;
  padding: 4px 12px;
  border-radius: 9999px;
  background: #ecfdf5;
  color: #065f46;
}

.primary-card::before {
  content: "•";
  color: #059669;
  font-size: 18px;
  margin-right: 4px;
}

/* Edit Bank Form */
.edit-bank-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

#edit-bank-details .edit-bank-container {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  max-width: 480px;
  width: 100%;
  max-width: 28rem;
  max-height: 100vh;
}

/* View All Activity Popup Modal */

.view-all-activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.close-view-all-activity {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.close-view-all-activity:hover {
  color: #373737;
  background-color: #f3f4f6;
  border-radius: 8px;
  padding: 0.5rem;
  transition: all 0.2s;
}

.view-all-activity-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.view-all-activity-overlay.active {
  opacity: 1;
  visibility: visible;
}

.view-all-activity-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
}

.view-all-activity {
  background-color: #fff;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  max-width: 480px;
  width: 100%;
  max-height: 100vh;
  overflow-y: auto;
}

.view-all-activity .activity-item {
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  align-items: center;
}

/* Edit Bank Form */
#edit-bank-details .form-section {
  margin-bottom: 1rem;
}

#edit-bank-details .section-title {
  font-weight: 500;
  font-size: 0.875rem;
}

#edit-bank-details .account-type-buttons {
  display: flex;
  gap: 1rem;
}

#edit-bank-details .account-type-buttons .account-type-button {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background-color: transparent;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
}

/* Active Button */
.account-type-buttons .account-type-button.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

/* Hover */
.account-type-buttons .account-type-button:hover {
  background-color: var(--primary-light);
  color: #fff;
}

#edit-bank-details .edit-bank-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

#edit-bank-details .form-group {
  margin-bottom: 1rem;
}

#edit-bank-details .form-group label {
  font-weight: 500;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  display: block;
}

#edit-bank-details .form-input {
  width: 100%;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  font-size: 0.875rem;
}

#edit-bank-details .form-input:focus {
  outline: transparent;
  border-color: var(--primary-color);
}

#edit-bank-details .edit-bank-alert {
  font-size: 0.875rem;
  color: #6b7280;
  gap: 0.5rem;
  padding: 0.75rem;
  border-radius: 8px;
  display: flex;
  margin-bottom: 1rem;
  border: 1px solid #d1d5db;
}

#edit-bank-details .bank-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  background-color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

#edit-bank-details .bank-info {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

#edit-bank-details .close-button {
  padding: 0px 8px;
  background-color: transparent;
  border: none;
  border-radius: 8px;
  font-size: 1.25rem;
  transition: background-color 0.2s;
  cursor: pointer;
}

#edit-bank-details .edit-bank-header {
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

#edit-bank-details .edit-bank-title {
  font-weight: 600;
  font-size: 1.5rem;
}

#edit-bank-details .close-button:hover {
  color: #373737;
  background-color: #f3f4f6;
}

#edit-bank-details .bank-icon-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

#edit-bank-details .edit-bank-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

#edit-bank-details .address-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

#bio-section .btn-wrapper #remove-btn:hover {
  box-shadow: rgba(0, 0, 0, 0.03) 0px 4px 4px 0px;
  background-color: #202124;
  color: #fff;
  transition: 0.2s ease-in-out;
  border: transparent;
}

#remove-btn {
  border: 2px solid #d7d7d7;
  color: #707070;
}

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

#bio-section textarea {
  padding: 10px;
  line-height: 1.5;
  border-radius: 5px;
  border: 1px solid #ccc;
  box-shadow: 1px 1px 1px #999;
  height: 105px;
  max-width: 100%;
  border-radius: 8px;
  width: 100%;
}

#bio-section textarea:focus {
  border: 2px solid grey;
  outline: transparent;
}

.spacing {
  padding: 10px 0px;
}

.spacing-1 {
  padding: 0px 10px;
}

.timestamp {
  font-size: 1rem;
  margin: 0;
}

.timestamp,
.share-btn i {
  color: #707070;
}

/* Reviews Section */

.like-btn.active {
  color: #e52d27 !important;
  font-weight: 500;
}

.like-btn.active i {
  color: #e52d27 !important;
}

.review-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-controls button {
  background-color: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #374151;
  transition: 0.3s ease-in-out;
}

.review-controls button:hover {
  color: #373737;
}

.review-controls button i {
  margin-right: 2px;
}

.reply-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* .reply-dropdown-content {
  position: relative;
} */

.reply-dropdown-btn {
  position: relative;
  background-color: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: #374151;
  transition: 0.3s ease-in-out;
}

.reply-dropdown-btn:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.reply-dropdown-content {
  position: absolute;
  right: -1rem;
  top: 100%;
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  min-width: 150px;
  z-index: 10;
}

.reply-dropdown-content.hidden {
  display: none;
}

.reply-dropdown-content button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
}

.reply-dropdown-content button:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.edit-form-wrapper {
  margin-top: 1rem;
}

.edit-form textarea {
  width: 100%;
  min-height: 100px;
  background-color: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  resize: none;
}

.edit-btn-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.edit-btn-wrapper button {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

.edit-btn-wrapper button:nth-child(2) {
  background-color: #2563eb;
  color: white;
}

.delete-reply-btn {
  color: #e52d27;
}

.view-all-replies {
  color: #374151;
  font-size: 0.875rem;
  cursor: pointer;
  display: flex;
  transition: 0.3s ease-in-out;
}

.view-all-replies:hover {
  color: #373737;
}

.review-controls-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.username-and-rating {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.5rem;
}

.username-wrapper {
  font-size: 1rem;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.username-wrapper .username {
  font-weight: 500;
  font-size: 1rem;
  color: #374151;
}

.review-card {
  display: none;
  border-bottom: 1px solid #e5e7eb;
}

.review-replies {
  margin-left: 40px;
  border-left: 2px solid #e5e7eb;
  padding-left: 24px;
}

.hide-replies.hidden {
  display: none;
}

.reply-card {
  border-bottom: none;
  margin-left: 2rem;
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review-header h2 {
  font-weight: 600;
  font-size: 1.5rem;
}

.review-header .review-close {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #000;
  transition: 0.3s ease-in-out;
}

.review-header .review-close:hover {
  color: #373737;
}

.review-wrapper {
  display: flex;
  gap: 2rem;
}

.review-details {
  /* padding-bottom: 1rem; */
  color: #374151;
}

.review-card .rating-display {
  gap: 1rem;
  display: flex;
  align-items: center;
  font-size: 1rem;
}

.review-card .user-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.review-card .user-review {
  padding: 32px 0px 4px;
}

.review-card .user-info .user-review-img {
  border-radius: 32px;
}

.user-review {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

/* Animation class */
.animate-slide-down {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-10px);
  }
}

/* All Reviews */

.review__controls {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
  cursor: pointer;
}

.view__all__replies {
  color: var(--review-text-secondary);
  font-weight: 500;
}

.review__item {
  border-bottom: 1px solid var(--review-border-color);
  padding: var(--review-spacing-base) 0px;
}

.review__item .review__header {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
}

.review__item .review__avatar {
  border-radius: 50%;
  width: var(--review-avatar-size);
  height: var(--review-avatar-size);
  object-fit: cover;
}

.review__item .review__username {
  font-weight: 500;
  font-size: var(--review-font-size);
  color: currentColor;
  margin: 0;
}

.review__item .review__subheader {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.review__item .review__rating {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
}

.review__item .review__rating-value {
  font-weight: 500;
  margin: 0;
  font-size: var(--review-font-size);
}

.review__item .review__stars {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-small);
  font-size: var(--review-font-size);
  color: var(--review-star-color);
}

/* Reply Form */

.reply-form-wrapper {
  display: none;
  flex-direction: column;
  gap: var(--review-spacing-base);
}

.reply-form-wrapper.active {
  display: flex;
}

.reply-content .reply-avatar {
  border-radius: 50%;
  width: 32px;
  height: 32px;
  object-fit: cover;
}

.reply-wrapper {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
}

.seller-tag {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
  font-size: var(--review-font-size);
  color: var(--review-star-color);
  background-color: #f9fafb;
  padding: 4px 8px;
  border-radius: 8px;
}

/* Seller Badge Styles */
.seller-badge {
  background-color: #2563eb;
  padding: 2px 8px;
  border-radius: 4px;
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
}

.seller-text {
  margin: 0;
}

.reply-header {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
  border-bottom: none;
}

.reply-content .reply-user {
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
  margin-bottom: var(--review-spacing-base);
}

.reply-content .reply-username,
.reply-content .reply-timestamp {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--review-text-secondary);
  margin: 0;
}

.reply-form {
  display: flex;
  gap: var(--review-spacing-base);
  flex-direction: column;
  margin-top: var(--review-spacing-base);
}

.reply-form textarea {
  width: 100%;
  min-height: 100px;
  resize: none;
  background-color: white;
  border: 1px solid var(--review-border-color);
  border-radius: var(--review-border-radius);
  transition: border-color 0.2s ease-in-out;
  padding: var(--review-spacing-base);
}

.replying-to__text {
  font-weight: 500;
  margin: 0;
}

.replay__and__timestamp {
  display: flex;
  flex-direction: column;
  font-size: var(--review-font-size);
}

.replying-to__timestamp {
  color: var(--review-text-secondary);
  margin: 0;
}

.reply-form textarea:focus {
  outline: none;
  border-color: var(--review-primary-color);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Reply form Buttons */

.reply-btn-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: var(--review-spacing-base);
  margin-bottom: var(--review-spacing-base);
}

.reply-btn-wrapper .cancel-reply {
  background-color: transparent;
  border: none;
  font-size: var(--review-font-size);
  cursor: pointer;
  color: var(--review-text-secondary);
  transition: 0.3s ease-in-out;
}

.reply-btn-wrapper .reply-btn {
  background-color: var(--review-primary-color);
  border: none;
  font-size: var(--review-font-size);
  cursor: pointer;
  color: white;
  transition: 0.3s ease-in-out;
  padding: 8px 16px;
  border-radius: 8px;
}

.reply-btn-wrapper .cancel-reply:hover {
  color: var(--review-text-secondary);
}

.reply-btn-wrapper .reply-btn:hover {
  background-color: var(--review-primary-color-dark);
  transform: translateY(-1px);
}

.review__reply.active {
  display: block;
}

.reply-actions {
  display: flex;
  gap: var(--review-spacing-base);
}

.reply-actions .edit-reply,
.reply-actions .delete-reply {
  background-color: transparent;
  border: none;
  font-size: var(--review-font-size);
  cursor: pointer;
  color: var(--review-text-secondary);
  transition: 0.3s ease-in-out;
}

.new-reply {
  box-shadow: 0 0 0 1px var(--review-border-color);
}

.replying-to {
  border-bottom: 1px solid var(--review-border-color);
  color: var(--review-text-secondary);
  display: flex;
  align-items: center;
  gap: var(--review-spacing-base);
  padding-bottom: var(--review-spacing-base);
}
.replying-to .replying-to__avatar {
  border-radius: 50%;
  width: var(--review-avatar-size);
  height: var(--review-avatar-size);
  object-fit: cover;
  border: 2px solid white; /* Add border to avatar */
  box-shadow: 0 0 0 1px var(--review-border-color);
}

.review__reply {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.website-link {
  color: black;
  text-decoration: none;
  padding: var(--review-spacing-base);
  transition: 0.3s ease-in-out;
}

.rating-timestamp {
  color: var(--review-text-secondary);
  margin: 0;
}

.website-link:hover {
  color: red;
}

.user-info p,
.rating-display {
  font-weight: 500;
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.rating-feedback {
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Payment Method Popup */
.payment-method-popup {
  position: fixed;
  width: 100%;
  display: flex;
  top: 0;
  left: 0;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.payment-method-popup.active {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
}

.select-method-card {
  position: relative;
  background-color: white;
  width: 90%;
  max-width: 480px;
  margin: 0 auto;
  border-radius: 12px;
  padding: 24px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Add smooth scrollbar for webkit browsers */
.select-method-card::-webkit-scrollbar {
  width: 6px;
}

.select-method-card::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.select-method-card::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.select-method-card::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* error message styles */
.error-msg {
  color: red;
}

.input-error {
  outline: 1px solid red;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
  background-color: #fef6f6 !important;
}

.feedback {
  background-color: #f8f7f7;
  padding: 10px;
  justify-content: center;
  align-items: center;
  width: auto;
  color: #000;
  font-weight: 500;
  border-radius: 8px;
}

#feedback {
  text-align: center;
  text-transform: capitalize;
}

#feedback.error {
  color: red;
}

#feedback i,
#website-feedback i {
  padding: 5px;
}

.rating-feedback .rating-style {
  font-size: large;
  font-weight: 700;
  padding: 0px 6px;
  color: #14ae12;
}
.rating-container {
  flex: 1;
  display: flex;
  align-items: center;
  /* gap: 1rem; */
  flex-direction: column;
  justify-content: center;
}

.rating-container .rating-details {
  text-align: center;
}

.rating-container .rating-overall h2 {
  font-weight: 700;
  font-size: 2.5rem;
}

.rating-breakdown {
  flex: 2;
  padding: 24px 0px;
}

.rating-breakdown p {
  margin: 0;
}

.rating-breakdown .rating-process {
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-breakdown .rating-process .rating-bar {
  border: none;
  background-color: #f3f4f6;
  /* max-width: 357px; */
  position: relative;
  width: 336px;
  height: 12px;
  border-radius: 12px;
  overflow: hidden;
}

.rating-bar .rating-bar-fill {
  width: 70%;
  height: 100%;
  background-color: var(--review-star-color);
  transition: background-color 0.3s ease;
}

.rating-stars i {
  color: var(--review-star-color);
}

.rating-display i {
  color: var(--review-star-color);
}

.rating-breakdown .rating-process .review-overall {
  font-weight: 700;
}

.rating-breakdown .rating-process .review-counter {
  font-weight: 500;
  color: #6b7280;
}

.see-all-reviews {
  padding: 20px 0px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.see-all-reviews i {
  font-size: 18px;
}

.see-all-reviews a {
  color: #000;
  text-decoration: none;
}

.lf-wrapper li {
  text-decoration: none;
  list-style: none;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

.lf-wrapper li:hover {
  transform: scale(1.1);
  background-color: #d5d5d5;
}

#left-nav-wrapper i {
  color: black;
}

#left-nav-wrapper {
  width: 260px;
  height: 100%;
  padding: 1rem;
  background-color: #F2F2F2;
}
.lf-wrapper li a {
  padding: 10px 20px;
}

.profile-section {
  align-items: center;
}

#user-stats {
  align-items: center;
  padding: 16px 10px;
  display: flex;
  justify-content: center;
  font-weight: 600;
  text-transform: capitalize;
  gap: 5rem;
  margin-top: 1rem;
}

/* Payment Method Selection Card */

#payment-information.container {
  max-width: 480px;
  margin: 40px auto;
}
.select-method-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.card-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
}

.payment-options {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.payment-option:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-option.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}

.option-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#methodSelection .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 0px 8px;
  color: #212529;
  border-radius: 4px;
  transition: all 0.2s ease;
}

#methodSelection .option-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

#methodSelection .option-details {
  flex: 1;
}

#methodSelection .option-title {
  font-weight: 500;
  color: #111827;
  margin-bottom: 4px;
}

#methodSelection .option-description {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Form Styles */
.form-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  display: none;
}

.form-card.active {
  display: block;
}

.back-button {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 24px;
  cursor: pointer;
  border: none;
  background: none;
  padding: 8px 12px;
  border-radius: 6px;
}

.back-button:hover {
  background: #f3f4f6;
}

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

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #e54646;
  box-shadow: 0 0 0 3px rgba(230, 70, 70, 0.1);
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-hint {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 4px;
}

.secure-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: #fff5f5;
  border-radius: 6px;
  margin-bottom: 24px;
}

.secure-badge i {
  color: #e54646;
}

.secure-text {
  font-size: 0.875rem;
  color: red;
  font-weight: 500;
}

.button {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 0.875rem;
}

.button-primary {
  background: var(--primary);
  color: var(--white);
}

.button-primary:hover {
  background: var(--primary-dark);
}

/* Bank Account Form Specific */
.bank-info {
  background: #f9fafb;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
}

.bank-info-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 12px;
}

.bank-detail {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--gray-200);
}

.bank-detail-label {
  color: #6b7280;
}

.bank-detail-value {
  color: #111827;
  font-weight: 500;
}

/* Success State */
.success-card {
  text-align: center;
  padding: 40px 24px;
  display: none;
}

.success-card.active {
  display: block;
}

.success-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.success-icon i {
  font-size: 2rem;
  color: var(--primary);
}

.success-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 8px;
}

.success-message {
  color: #6b7280;
  margin-bottom: 24px;
}

.profile-section label {
  font-weight: 500;
  font-size: 22px;
}

#user-stats > div {
  font-size: 1rem;
}

#user-stats #stats-counter {
  opacity: 0.7;
}

#user-stats h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

#timestamp-container {
  display: flex;
  align-items: center;
  justify-content: center;
}
#follower {
  display: flex;
  flex-direction: column;
}

#timestamp-container i {
  padding: 0px 6px;
  color: #707070;
  font-size: 1.2rem;
}

/* Profile Rating */
.rating-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rating-counter i {
  color: #ffb400;
}

.section-p1 {
  padding: 0px 16px 0px 0px !important;
}
.lf-wrapper li {
  display: flex;
  align-items: center;
  text-decoration: none;
  list-style: none;
  padding: 10px 0px;
  font-size: 14px;
  color: #606060;
  border-radius: 12px;
}

.tab {
  gap: 10px;
  width: 100%;
  max-width: 100%;
  /* .nav-wrapper is display:flex (sidebar + this column side by side) --
     flex items default to min-width:auto, so width/max-width:100% alone
     don't stop this column growing past its share of the row when content
     inside (the product table, the header button row) has a wider
     intrinsic size. min-width:0 lets it actually shrink to fit, which is
     what lets .table-responsive's own overflow-x:auto finally take over
     instead of the whole column (and everything in it) stretching past
     the viewport. */
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 1rem !important;
}

.tab:nth-of-type(3) {
  padding: 0;
}

/* Payment tab holds Wallet Balance + Cards on File; the shared .tab rule
   centers content vertically (justify-content: center), which pushes this
   section down the page instead of letting it sit under the header. */
#payment-information {
  justify-content: flex-start;
}

#profile-inner-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

#profile-wrapper {
  flex-wrap: wrap;
  gap: 24px;
  /* justify-content: space-between; */
  width: 100%;
}

.pfp {
  position: relative;
  padding: 20px;
}

.profile-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 235px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px 8px 0 0;
  z-index: 0;
}

.profile-background-overlay {
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 235px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.1)
  );
  z-index: 1;
}

.background-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

.background-actions button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  transition: background 0.2s;
  color: var(--color-text-primary);
}

.background-actions button:hover {
  background: white;
}

#pfp-section-1 {
  position: relative;
  z-index: 2;
  padding-top: 9rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.pfp-img {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

#profile-picture {
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100px; /* Fixed width */
  height: 100px; /* Fixed height to maintain perfect circle */
  object-fit: cover;
  position: relative;
  z-index: 2; /* Ensures profile picture appears above background */
  top: 10rem;
}

/* Profile header skeletons (background/avatar/follower stats) -- shown
   while loadProfileData() awaits checkUserStatus() (see profile.js).
   .skeleton (shimmer/color) comes from components/skeleton.css; these two
   classes are just the sizing/position to match the real elements they
   stand in for, so swapping them in causes no layout jump. */
.avatar-skeleton {
  width: 100px;
  height: 100px;
  position: relative;
  top: 10rem;
  z-index: 2;
}

.stat-skeleton {
  width: 44px;
  height: 1.5rem;
  margin: 0.15rem auto 0;
}

/* .skeleton (components/skeleton.css) sets border-radius: 4px and loads
   after this file, so it wins over a plain .avatar-skeleton/.profile-background
   rule at equal specificity -- combined selectors here to guarantee these
   two win regardless of link order. */
.avatar-skeleton.skeleton {
  border-radius: 50%;
}

.profile-background.skeleton {
  border-radius: 8px 8px 0 0;
}

/* Same cascade-order problem, different property: .skeleton sets
   display: inline-block, which also loads after .hidden's display: none
   (both this file) -- so adding .hidden alone never actually hid these two,
   confirmed via getComputedStyle while verifying the skeleton->real swap
   (classList showed "hidden" present, but display stayed inline-block/block).
   Combined selectors here, same fix as the border-radius one above. */
.avatar-skeleton.hidden,
.stat-skeleton.hidden {
  display: none;
}

.payment-wrapper {
  display: none;
  max-width: 96%;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  padding: 10px 24px;
}

.inner-wrapper {
  max-width: 100%;
  width: 100%;
}

.inner-wrapper #payouts {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.share-btn {
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  background-color: #000;
  align-items: center;
  padding: 10px 1rem;
  border-radius: 12px;
}

.share-btn button {
  background: transparent;
  border: none;
  color: white;
}

.share-btn button i {
  color: #fff;
}

#name-infor {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 1rem;
}

#payments-reports {
  position: relative;
}

#payouts-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#waller-balance {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#waller-balance h4 {
  text-align: center !important;
}

#waller-balance .usd .usd-wrapper {
  padding: 12px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

#waller-balance .usd h1 {
  font-size: 3.5rem;
}

#payment-section-1 {
  width: 95%;
  max-width: 630px;
  position: relative;
  margin: 8px 12px;
  padding: 20px;
  border: transparent;
  background-color: #1a1a1a;
  transition: box-shadow 0.3s ease; /* Smooth transition */
}

#payment-section-1 .card-text h5 {
  color: #fff;
}

#payment-section-1 .card-info .card-name-number h5,
h6 {
  color: #fff;
}

#payment-section-1 .card-info .valid-date h5 {
  color: #fff;
}

#payment-section-1:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4),
    /* Slightly deeper on hover */ 0 8px 30px rgba(0, 0, 0, 0.35);
}

/* No All Payouts Modal */

/* No payouts UI */
.p-container {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.no-payout-icons {
  padding: 12px 1rem;
  background: #f3f4f6;
  border-radius: 24px;
}

.no-payouts-inner-circle {
  color: #9ca3af;
}

.no-payout-description {
  font-weight: 500;
}

.card-info h6 {
  color: #d82c2f;
}

.card-text,
.logo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-text .logo h5 {
  font-size: 1.5rem;
  font-weight: 600;
  padding: 5px;
}

.card-text img,
.chip img {
  width: 45px;
}

.card-info {
  margin-top: 3rem;
  display: flex;
  justify-content: space-between;
}

.card-name-number {
  display: flex;
  flex-direction: column;
}

.card-name-number .number {
  letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.5rem;
}

.card-name-number .name {
  font-size: 1.5rem;
  font-size: 700;
}

.valid-date {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.valid-date h5 {
  font-size: 1.5rem;
  font-weight: 700;
}

.valid-date h6 {
  font-weight: 600;
}

.payment-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.payment-section label {
  flex-basis: 100%;
  margin-bottom: 5px;
}

.card-wrapper {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05), 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background-color: white;
  padding: 20px;
  margin: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 500px;
  min-width: 90%;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.card-wrapper.add-card {
  box-shadow: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 500px;
  min-width: 90%;
  cursor: pointer;
  gap: 1rem;
  border-radius: 4px;
  border-width: 3px;
  border-style: dashed;
  border-color: rgb(217, 217, 217);
  border-image: initial;
  padding: 10px;
  margin: 20px;
  transition: 0.2s ease-in-out;
}

.card-wrapper:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 10px 25px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.card-wrapper p {
  font-weight: 500;
}

.card-wrapper .card-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #1f2937;
}

.card-wrapper .card-expiry {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  margin: 0 !important;
}

.card-wrapper .card-options {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.card-wrapper div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.card-wrapper .card-icon {
  font-size: 24px;
}

.card-wrapper .bank-icon i {
  font-size: 1.5rem;
}

.card-wrapper .bank-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #1f2937;
}

.card-wrapper .account-type {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
  color: #6b7280;
}

.card-wrapper .card-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
}

.card-options {
  display: none;
}

.card-options:hover {
  display: flex;
}

.card-options i {
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s ease-in-out;
}
.card-options i:hover {
  transform: scale(1.1);
}

.card-options button {
  padding: 0px 8px;
  color: #b02a2e;
  font-weight: 500;
  border-radius: 4px;
  background-color: transparent;
  border: none;
}

.card-options button:hover {
  background-color: #c05558;
  color: white;
  transition: 0.2s ease-in-out;
}

/* Security Verification Modal */

.modal-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  justify-content: center;
}

.modal-overlay:not(.hidden) {
  opacity: 1;
  visibility: visible;
}

.modal-overlay:not(.hidden) .modal-container {
  transform: translateY(0);
  opacity: 1;
}

#securityVerification1 .modal-container,
#securityVerification2 .modal-container,
#securityVerification3 .modal-container {
  padding: 1rem;
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  overflow: hidden;
  background-color: #fefefe;
}

.modal-container {
  opacity: 0;
  transform: translateY(20px);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#securityVerification3 .modal-container {
  overflow: auto;
  height: 90vh;
  scrollbar-width: thin;
  scrollbar-color: #6b7280 #e5e7eb;
}

#securityVerification3 .modal-container::-webkit-scrollbar {
  width: 12px;
}

#securityVerification3 .modal-container::-webkit-scrollbar-thumb {
  background-color: #6b7280;
  border-radius: 12px;
}

#securityVerification1 .modal-header,
#securityVerification2 .modal-header,
#securityVerification3 .modal-header {
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e5e7eb;
}

#securityVerification1 .modal-header h2,
#securityVerification2 .modal-header h2,
#securityVerification3 .modal-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

#securityVerification1 .security-message,
#securityVerification2 .security-message,
#securityVerification3 .security-message {
  border: 1px solid #fee2e2;
  border-radius: 8px;
  background-color: #fef3f2;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

#securityVerification1 .security-icon i,
#securityVerification2 .security-icon i,
#securityVerification3 .security-icon i {
  margin-top: 3px;
  color: #dc262e;
}

#securityVerification1 .security-text p,
#securityVerification2 .security-text p,
#securityVerification3 .security-text p {
  font-size: 14px;
  color: #6b7280;
}

#securityVerification1 .security-process-status,
#securityVerification2 .security-process-status,
#securityVerification3 .security-process-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  margin: 32px 0;
}

.security-process-status {
  --progress-width: 0%;
}

#securityVerification1 .security-process-status::before,
#securityVerification2 .security-process-status::before,
#securityVerification3 .security-process-status::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 40px;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  z-index: 1;
}

#securityVerification1 .security-process-status::after,
#securityVerification2 .security-process-status::after,
#securityVerification3 .security-process-status::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 40px;
  right: 0;
  height: 2px;
  background-color: #e5e7eb;
  z-index: 1;
}

.security-process-status.active::after {
  width: var(--progress-width);
  transition: width 0.5s ease;
}

#securityVerification1 .security-status-text,
#securityVerification2 .security-status-text,
#securityVerification3 .security-status-text {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  white-space: nowrap;
}

#securityVerification1 .status-icon-circle,
#securityVerification2 .status-icon-circle,
#securityVerification3 .status-icon-circle {
  z-index: 2;
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #e5e7eb;
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
}

#securityVerification1 .status-icon-circle.active,
#securityVerification2 .status-icon-circle.active,
#securityVerification3 .status-icon-circle.active {
  background-color: #ef4444;
  border-color: #ef4444;
  color: white;
}

#securityVerification1 .security-controls,
#securityVerification2 .security-controls,
#securityVerification3 .security-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 20px 0px;
  border-top: 1px solid #e5e7eb;
}

#securityVerification1 .security-password,
#securityVerification2 .security-password,
#securityVerification3 .security-password {
  margin-bottom: 1rem;
}

#securityVerification1 .security-password .form-input,
#securityVerification2 .security-password .form-input,
#securityVerification3 .security-password .form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 0.875rem;
}

#securityVerification1 .security-password .form-input:focus,
#securityVerification2 .security-password .form-input:focus,
#securityVerification3 .security-password .form-input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

#securityVerification1 .btn-cancel,
#securityVerification2 .btn-cancel,
#securityVerification3 .btn-cancel {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #374151;
  cursor: pointer;
}

#securityVerification1 .btn-cancel:hover,
#securityVerification2 .btn-cancel:hover,
#securityVerification3 .btn-cancel:hover {
  background-color: #f3f4f6;
}

#securityVerification1 .card-number,
#securityVerification2 .card-number,
#securityVerification3 .card-number {
  color: #6b7280;
  font-size: 0.875rem;
}

#securityVerification1 .card-type,
#securityVerification2 .card-type,
#securityVerification3 .card-type {
  font-weight: 500;
  color: #111827;
}

#securityVerification1 .current-card-update,
#securityVerification2 .current-card-update,
#securityVerification3 .current-card-update {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 1rem;
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 8px;
}

#securityVerification1 .input-note,
#securityVerification2 .input-note,
#securityVerification3 .input-note {
  font-size: 0.875rem;
  color: #6b7280;
}

#securityVerification1 .form-group,
#securityVerification2 .form-group,
#securityVerification3 .form-group {
  margin-bottom: 24px;
}

#securityVerification1 .form-controls,
#securityVerification2 .form-controls,
#securityVerification3 .form-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 20px 0px;
  border-top: 1px solid #e5e7eb;
}

#securityVerification1 .security-code,
#securityVerification2 .security-code,
#securityVerification3 .security-code {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1rem;
}

#securityVerification1 .security-code .otp-input,
#securityVerification2 .security-code .otp-input,
#securityVerification3 .security-code .otp-input {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1.25rem;
  text-align: center;
}

#securityVerification1 .security-code .otp-input:focus,
#securityVerification2 .security-code .otp-input:focus,
#securityVerification3 .security-code .otp-input:focus {
  outline: none;
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Bank Details Popup Styles */

.bank-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

#view-bank-details .details-container {
  background-color: white;
  border: 1px solid #d6d6d6;
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 32rem;
  width: 100%;
  margin: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

#view-bank-details .header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  border-bottom: 1px solid #d6d6d6;
}

#view-bank-details .bank-info {
  margin-bottom: 1rem;
  align-items: center;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

#view-bank-details .bank-details {
  margin-bottom: 1rem;
  padding: 1rem;
  border-radius: 12px;
  background-color: #f9fafb;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

#view-bank-details .security-info {
  margin-bottom: 1rem;
  display: flex;
  gap: 1rem;
  border-radius: 12px;
  border: 1px solid #d6d6d6;
  padding: 1rem;
  flex-direction: column;
}

#view-bank-details .recent-activity {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#view-bank-details .security-info .security-info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

#view-bank-details .activity-item {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 12px;
}

#view-bank-details .activity-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.2rem;
}

#view-bank-details .detail-date {
  font-size: 400 !important;
  color: #6b7280 !important;
}

#view-bank-details .view-all-activity {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  font-size: 14px;
  border-radius: 8px;
  background-color: #f9fafb;
  padding: 1rem;
  flex-wrap: wrap;
}

#view-bank-details .view-all-activity a {
  color: #000000;
  font-weight: 500;
  text-decoration: none;
}

#view-bank-details .bank-details-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

#view-bank-details .close-button {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  border-radius: 8px;
  padding: 0 8px;
}

#view-bank-details .close-button:hover {
  background-color: #f5f5f5;
  transform: scale(1.1);
  transition: all 0.2s ease;
}

/* Payouts Styles */

.view-all-payouts {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.view-all-payouts a {
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}

.view-all-payouts a:hover {
  text-decoration: underline;
}

#payouts .inner-wrapper {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#payouts-container h4 {
  color: #374151;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 8px;
}

#payouts-container h1 {
  color: #111827;
  font-size: 2.25rem;
  font-weight: 600;
  margin: 8px 0;
}

#payouts-container p {
  color: #6b7280;
  font-size: 0.875rem;
}

#payouts-container {
  margin-bottom: 24px;
}
/* Filters */
#payouts-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

#payouts-filter {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 0.875rem;
  color: #374151;
  min-width: 120px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#payouts-filter:hover {
  border-color: #d1d5db;
}

#payouts-filter:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

#payouts-filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: white;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

#payouts-filter-btn:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

#payouts-filter-btn i {
  font-size: 1rem;
  color: #6b7280;
}

/* Payouts List */

#payouts-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 24px;
}

.payouts-item {
  background: #f9fafb;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.payouts-item:hover {
  background: white;
  border-color: #d1d5db;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.payouts-item-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payouts-item-wrapper.space-between {
  align-items: flex-end;
}

.payouts-item .default-paragraph {
  color: #374151;
  font-size: 0.875rem;
  margin: 0;
}

.payouts-item .status {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 8px !important;
  border-radius: 9999px;
}

/* dashboard filter styles */

.filter-opt {
  position: relative;
  display: inline-block;
}

.filter-opt .filter-data-container {
  position: relative;
}

.filter-opt .filter-section h4 {
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
}

.filter-opt .filter-section {
  flex: 1;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eeeff2;
}

.filter-opt .filter-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.filter-opt .filter-group label {
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-group > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.filter-group input[type="checkbox"] {
  cursor: pointer;
}

.filter-actions {
  padding-top: 0.5rem;
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.filter-opt .filter-dropdown-content {
  display: none;
  flex-direction: row;
  flex-wrap: wrap;
  position: absolute;
  right: 0;
  margin-top: 5px;
  /* Was min-width: 54vw -- 54% of the full browser viewport regardless of
     where this panel is actually anchored, which pushed it (and the page's
     scrollable width) past the viewport edge on anything but a very wide
     screen. A capped, non-viewport-relative width fits this panel's actual
     content (four filter sections) and can never itself exceed the
     viewport. */
  width: min(560px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  background-color: #fff;
  border-radius: 8px;
  padding: 1rem;
  gap: 0.5rem;
  border: 1px solid #eeeff2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.filter-opt .filter-dropdown-content.show {
  display: flex;
}

.filter-opt .filter-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

/* filter action buttons */
.filter-actions .btn.primary {
  color: white;
  background-color: #ef4444;
  border: none;
}

/* Status styles */

.status-badge {
  text-transform:capitalize;
  border-radius: 9999px;
  padding: 4px 8px;
  font-weight: 500;
  white-space: nowrap;
}

.status-badge.completed {
  background: #def7ec;
  color: #03543f;
}

.status-badge.pending {

  background: #fef3c7;
  color: #92400e;
}

.status-badge.processing {
  background: #eff6ff;
  color: #2563eb;
}

.status-badge.processing i {
  color: #2563eb;
}

.status-badge.delivered {
  background: #f0fdf4;
  color: #15803d;
}

.status-badge.delivered i {
  color: #22c55e;
}

.status-badge.shipped {
  background: #fff7ed;
  color: #c2410c;
}

.status-badge.shipped i {
  color: #f97316;
}

.status-badge.in-stock {
  background: #dbeafe;
  color: #1e40af;
}

.status-badge.under-review {
  background: #fef3c7;
  color: #E86B2A;
}

.status-badge.needs-info {
  background: #eff6ff;
  color: #2563eb;
}

.status-badge.needs-info i {
  color: #2563eb;
}

.status-badge.approved {
  background: #def7ec;
  color: #03543f;
}

.status-badge.rejected {
  background: #fee2e2;
  color: #b91c1c;
}

.status-badge.rejected i {
  color: #dc2626;
}

.status.completed {
  background: #def7ec;
  color: #03543f !important;
}

.status.pending {
  background: #fef3c7;
  color: #92400e !important;
}

:root {
  --primary-blue-dark: #0056b3;
  --primary-blue-light: #007bff;
  --primary-blue: #0096ff;
  --primary-blue-lighter: #00bfff;
  --primary-blue-lightest: #00e1ff;
}

/* Trade Request Styles */

.trade-request-modal {
  background-color: white;
  border-radius: 0.75rem;
  padding: 1rem;
  width: 80%;
  max-width: 37.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.product-value {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.store-credit-positive {
  color: #15803d;
}

.store-credit-negative {
  color: #b91c1c;
}

.trade-request-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background-color: var(--color-black-alpha);
  z-index: 999;
}

.additional-notes {
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 1rem;
}

.additional-notes textarea {
  width: 100%;
  resize: none;
  font-size: 0.875rem;
  color: var(--color-gray-700);
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  background: var(--color-gray-50);
}

.additional-notes-title {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.additional-notes textarea::placeholder {
  color: #6b7280;
}

.additional-notes textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: var(--shadow-focus);
}

.trade-request-modal h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.trade-request-modal .close-trade-request {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.trade-request-modal .close-trade-request:hover {
  color: #6b7280;
}

/* Trade Section */
.trade-items-value {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  padding: 1rem;
  border-radius: 8px;
  background: var(--color-gray-50);
}

.trade-items-value-amount {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gray-700);
  margin: 0;
}

.value-diff {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
  color: #6b7280;
}

.value-diff i {
  font-size: 1rem;
}

.trade-section .product-card {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.trade-section .product-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
}

.trade-section .product-card .product-card-title {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.trade-section .product-name,
.trade-section .product-price,
.trade-section .product-quantity,
.trade-section .product-total,
.trade-section .product-shipping,
.trade-section .product-condition,
.trade-section .product-sku {
  margin: 0;
}

.trade-section .product-card .product-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-700);
  margin: 0;
}

.trade-value-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.their-items-value .trade-items-value-amount {
  font-size: 1.5rem;
  color: #000;
  font-weight: 600;
  margin: 0;
}

.their-items-value .trade-section-title {
  font-size: 1rem;
  color: #6b7280;
  font-weight: 500;
  margin: 0;
}

.trade-section-title {
  margin: 0;
}

.your-items-value .trade-items-value-amount {
  font-size: 1.5rem;
  color: #000;
  font-weight: 600;
  margin: 0;
}

.trade-section-title i {
  font-size: 1rem;
  color: #6b7280;
}

.search-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  position: relative;
}

.search-wrapper input {
  width: 12.5rem;
  padding: 0.5rem 2.25rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-gray);
  background: var(--color-gray-50);
  font-size: 0.875rem;
  color: var(--color-gray-700);
}

.search-wrapper input::placeholder {
  color: #6b7280;
}

.search-wrapper input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

.search-wrapper i {
  font-size: 1rem;
  color: #6b7280;
  margin-left: 8px;
  position: absolute;
  /* right: 13rem; */
  top: 50%;
  transform: translateY(-50%);
}

.trade-section {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
  border-radius: 0.5rem;
}

.trade-request-content {
  display: flex;
  flex-direction: column;
}

.close-trade-request {
  background-color: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notice-text {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  border-radius: 8px;
  padding: 1rem;
  background: var(--color-gray-50);
}

.notice-text,
.notice-text-content {
  font-size: 0.875rem;
  color: var(--text-gray);
  margin: 0;
}

.close-trade-request:hover {
  color: var(--text-gray-dark);
  transform: scale(1.1);
}

.trade-request-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trade-section .your-items-value {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trade-section .their-items-value {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trade-request-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  gap: 8px;
}

.trade-request-actions button {
  background-color: transparent;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--primary-blue);
  color: white;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trade-request-actions #trade-request-btn {
  background: var(--primary-blue);
  color: white;
  font-weight: 500;
  border: none;
  transition: all 0.2s ease;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.trade-request-actions #trade-request-cancel-btn {
  background: transparent;
  color: var(--text-gray-dark);
  border: 1px solid var(--border-gray);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.trade-request-actions button:hover {
  background: var(--primary-blue-dark);
}

/* Tooltip Section */
#payouts-tooltip {
  justify-content: center;
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: 0.875rem;
}

#payouts-tooltip i {
  font-size: 1rem;
}

/* Orders Section */
.orders-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}
#orders-filters select {
  background-color: #F30C1E;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
  cursor: pointer;
}

#orders-filters select:hover {
  background-color: #F63747;
  color: white;
}

/* #orders-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
} */

.orders-wrapper {
  background-color: white;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.orders-wrapper h2 {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 0.5rem;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
  .payouts-item {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .payouts-item-wrapper.space-between {
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  #payouts-filters {
    flex-direction: column;
    align-items: stretch;
  }

  #payouts-filter-btn {
    justify-content: center;
  }
}

/* Animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.payouts-item {
  animation: slideIn 0.3s ease-out;
}

.payment-section input {
  flex-basis: 48%;
  padding: 8px 8px;
  box-sizing: border-box;
  border-radius: 10px;
}
#payment-section-1 form {
  background-color: transparent;
  display: block;
}

.payment-section input #card-name-2 {
  flex-basis: 100%; /* Full-width input for the second row */
}

.filter-container {
  padding-bottom: 14px;
  display: flex;
  justify-content: space-between;
}

.filter-container .filter-2 div i {
  align-items: center;
}

.statement-container {
  display: flex;
  flex-direction: column;
}

.nav-wrapper {
  display: flex;
  /* gap: 24px; */
}

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

.usd-wrapper p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #374151;
  margin: 0;
}

/* Style for the social media icon */
.close-icon {
  font-size: 22px;
  cursor: pointer;
  color: #000;
  padding: 5px 8px;
  transition: 0.3s ease-in-out;
  border-radius: 25px;
}

/* Disable body scroll */
.no-scroll {
  overflow: hidden;
}

.review-menu {
  align-items: center;
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0px;
  width: 100vw;
  height: 100vh;
  overflow-y: hidden;
  background-color: rgba(0, 0, 0, 0.7);
}

.review-menu.active {
  display: flex;
}

.review-menu h2 {
  text-align: center;
  font-size: 20px;
}

.review-content::-webkit-scrollbar {
  width: 6px;
}

.review-content::-webkit-scrollbar-track {
  background-color: #f1f1f1;
}

.review-content::-webkit-scrollbar-thumb {
  min-height: 10px;
}

.review-content::-webkit-scrollbar-thumb:hover {
  background-color: #555;
}

.review-content {
  max-height: 685px;
  border-radius: 12px;
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  overflow-y: auto;
  border: 1px solid #fefefe;
  width: 80%;
  max-width: 600px;
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

.review-menu .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  /* padding: 10px; */
  /* background-color: #000; */
  font-weight: bold;
}

/* Add Card Popup Styles */

.delete-card i {
  font-size: 24px;
}

.delete-card i:hover {
  color: red;
}
.addCard-btn {
  background-color: #007bff;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.addCard-btn:hover {
  background-color: #0056b3;
}

.margin-right {
  flex: 1;
  min-width: 0;
}

.margin-right label {
  display: block;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: 0.9rem;
}

.add-card-menu.hidden {
  display: none;
}

.add-card-menu.active #add-card-popup {
  transform: translateY(0);
  animation: slideIn 0.3s ease-in-out;
}

.add-card-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

/* Product Actions Menu */

.actions-menu {
  --menu-width: 195px;
  --text-color: #333;
  --icon-color: #707070;
  --divider-color: #707070;
  --hover-bg: #f5f5f5;
  --transition-speed: 0.2s;

  position: absolute;
  z-index: 100;
  right: 3rem;
  top: 65%;
  margin-top: 5px;
  width: var(--menu-width);
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  display: none;
}

.actions-menu.active {
  display: block;
}

.product-row td:last-child {
  position: relative;
}

/* List reset and spacing */
.actions-menu ul {
  padding: 5px 0;
  margin: 0;
}

.actions-menu ul li {
  list-style: none;
  gap: 2rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background-color var((var(--transition-speed)));
}

.actions-icon {
  color: var(--icon-color);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.actions-menu ul li:hover {
  background-color: var(--hover-bg);
}

.actions-menu .action-divider {
  margin: 0.5rem 0;
  height: 1px;
  background: var(--divider-color);
  width: 100%;
  opacity: 0.3;
}

.actions-menu ul li > div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Form Styles */
#add-card {
  gap: 1rem;
  width: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

#add-card-popup {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  width: 100%;
  max-width: 500px;
  position: relative;
  transform: translateY(-20px);
  transition: 0.3s ease-in-out;
}

.underline {
  text-decoration: underline;
}

#add-card-popup .addCardOptions {
  padding: 1rem 0 0;
  margin-top: 1rem;
  border-top: 1px solid #eee;
}

/* Header Styles */
.addCardHeader {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.header-wrapper h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.header-wrapper p {
  color: #666;
  font-size: 0.9rem;
}

.payment-method-popup .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  padding: 0px 8px;
  color: #212529;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

#add-card .input-group {
  padding: 0.5rem 0;
  gap: 1rem;
  display: flex;
}

#add-card input[type="text"],
#add-card input[type="number"],
#add-card input[type="month"] {
  padding: 0.75rem;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #d6d6d6;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

#add-card input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

#add-card input::placeholder {
  color: #999;
}

.close:hover,
#methodSelection .close:hover {
  background-color: #f5f5f5;
  color: #333;
  transform: scale(1.1);
}

/* Error States */
.error {
  border-color: #dc3545 !important;
}

.error-message {
  color: #dc3545;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

#successCard .success-message {
  color: #28a745;
  background-color: #e8f5e9;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Animation for popup appearance */
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Utility Classes */

.border-bottom {
  border-bottom: 1px solid #e5e7eb;
}

.font-15 {
  font-size: 1.5rem;
}

.warning {
  color: orange;
}

.received {
  color: #0ab80a;
}

.inner-wrapper-div {
  padding: 12px 24px;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
  width: 100%;
  border-radius: 12px;
  transition: 0.2s ease-in-out;
}

.margin-bottom-0 {
  margin-bottom: 0;
}

.mb-24 {
  margin-bottom: 24px;
}

.mg-1 {
  margin: 1rem 0;
}

.font-15 {
  font-size: 1, px;
}

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

.hidden {
  display: none;
}

/* Bank Activites Status */

.status-indicator {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0 !important;
}

.status-completed {
  background-color: #e8f5e9;
  color: #4caf50;
}

.status-pending {
  background-color: #fff4e5;
  color: #ff9800;
}

.status-failed {
  background-color: #ffebee;
  color: #f44336;
}

.deposit {
  color: var(--success-green-600);
}

.withdraw {
  color: var(--alert-red-600);
}

.inline {
  display: flex !important;
  align-items: center;
}

.font-500 {
  font-weight: 500;
}

.rotate {
  transform: rotate(0deg);
}

.dropdown-section {
  position: relative;
  display: inline;
  /* width: 100%; */
}

.dropdown-menu {
  position: relative;
  border: 2px solid #e1e1e1;
  display: none;
  justify-content: center;
  padding: 0px 16px;
  border-radius: 8px;
  flex-direction: column;
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

/* Profile profile  page */
.header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-info h3 {
  font-size: 24px;
}

.header-info .edit-info {
  gap: 8px;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: 0.5s ease;
  padding: 10px;
  border-radius: 8px;
}

.edit-info-header .edit-info p {
  padding: 0 !important;
  margin: 0 !important;
}

.header-info .edit-info:hover {
  transform: scale(1.1);
}

/* Dropdown Header for Statements */

#payments-reports .card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 20px;
}

#payments-reports .filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  border-bottom: 1px solid #f0f0f0;
}

#payments-reports .dropdown {
  position: relative;
}

#payments-reports .btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  border: none;
  transition: background-color 0.2s;
}

#payments-reports .filter-btn {
  background-color: #f5f5f5;
  color: #555;
}

#payments-reports .filter-btn:hover {
  background-color: #e9e9e9;
}

#payments-reports .year-btn {
  background-color: white;
  border: 1px solid #e0e0e0;
  color: #555;
}

#payments-reports .year-btn:hover {
  background-color: #f9f9f9;
}

#payments-reports .filter-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 180px;
  border: 1px solid #e0e0e0;
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: none;
}

#payments-reports .year-dropdown {
  left: auto;
  right: 0;
  min-width: 120px;
}

#payments-reports .filter-dropdown-menu ul {
  list-style: none;
  padding: 0;
}

#payments-reports .filter-dropdown-menu li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.2s;
}

#payments-reports .filter-dropdown-menu li:hover {
  background-color: #f5f5f5;
}

/* Section header */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}

.section-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.section-header .icon {
  /* transition: transform 0.3s !important; */
  font-size: 14px;
  height: 0;
  width: 0;
}

.section-header.active .icon {
  transform: rotate(180deg) !important;
}

/* Statement items */
.statement-list {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.statement-list.active {
  /* display: block; */
  max-height: 500px;
  opacity: 1;
}

.statement-item {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s;
}

.statement-item:hover {
  background-color: #f9f9f9;
}

.statement-item:last-child {
  border-bottom: none;
}

.statement-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-container {
  width: 36px;
  height: 36px;
  background-color: #f5f5f5;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
}

.statement-text p {
  line-height: 1.4;
  font-size: 14px;
}

.statement-text .title {
  font-weight: 500;
  margin: 0;
}

.statement-text .subtitle {
  font-size: 14px;
  color: #777;
  margin: 0;
}

.statement-action {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-red);
  font-size: 14px;
  text-decoration: none;
}

.statement-action:hover {
  text-decoration: underline;
}

/* Tax Navigation Styles */
.tax-nav .tax-nav-tabs {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding-bottom: 0;
  padding-left: 0 !important;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

.tax-nav .tax-nav-tabs li {
  font-weight: 600;
  color: #707684;
  padding-bottom: 12px;
  cursor: pointer;
}

.tax-warning-box {
  align-items: baseline;
  display: flex;
  border-radius: 12px;
  background-color: #e53f4717;
  padding: 1rem;
  margin-bottom: 1rem;
}

.tax-warning-box i {
  padding: 12px;
  color: var(--primary-red);
  font-size: 1rem;
}

.tax-tab-content {
  margin-top: 0;
  border-top: 1px solid #e4e4e7;
  position: relative;
  z-index: 1;
  display: none;
}

.tax-tab-content.active {
  display: block;
}

.tax-nav-item.active {
  color: var(--primary-red) !important;
  position: relative;
}

.tax-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: -1px; /* Position it at the exact bottom */
  left: 0;
  width: 100%;
  height: 2px; /* Slightly thicker line looks better */
  background-color: var(--primary-red);
  z-index: 3;
}

.tax-year-selector {
  margin-top: 1rem;
  display: none;
  flex-direction: column;
}

.tax-nav {
  margin-top: 1rem;
  position: relative;
  padding-bottom: 0;
  margin-bottom: 0;
}

.tax-warning-box .tax-description {
  color: #1d40af;
}

.tax-date-info {
  display: flex;
  flex-direction: column;
}

.tax-warning-box .tax-warning-text p {
  color: var(--primary-red);
  margin: 0;
}

.tax-date-month {
  padding: 0.5rem;
  background-color: #e4e7eb;
  border-radius: 8px;
  text-align: center;
  min-width: 3rem;
}

.tax-date-description {
  margin: 0;
  font-size: 14px;
  color: #6b7280;
}

.tax-dates-list {
  padding: 1rem;
  border-radius: 12px;
  background-color: #f9fafb;
  margin-bottom: 1rem;
}

.tax-date-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.5rem;
}

.tax-year-dropdown {
  border-radius: 6px;
  border: 1px solid #d1d5da;
  padding: 6px;
}

.tax-dates-title {
  font-size: 20px;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.form-title {
  font-weight: 500;
  color: #000 !important;
}

.form-description {
  font-size: 12px;
}

.tax-form-details p {
  margin: 0;
}

.tax-forms-container {
  padding-bottom: 1rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #f3f4f6;
  width: 100%;
}

.tax-form-item {
  margin-top: 1rem;
  justify-content: space-between;
  display: flex;
  align-items: center;
  width: 100%;
}

.tax-form-download {
  color: var(--primary-red);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  margin-left: auto;
  text-decoration: none;
}

.tax-form-info {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.tax-information {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tax-information-preview h2,
.tax-information-form h2 {
  font-size: 20px;
}

.form-info p {
  font-size: 16px;
  margin: 0;
}

.tax-content {
  padding: 16px;
  font-weight: 500;
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.tax-content.active {
  max-height: 2000px;
  opacity: 1;
  height: auto;
}

/* Tax Information Section */

.tax-information-preview {
  margin-top: 1rem;
  padding: 16px;
  border-radius: 12px;
  background-color: #f9fafb;
  display: block;
}

.tax-information-preview.remove {
  display: none;
}

.tax-information-preview.show {
  display: block;
}

/* Buttons */

.tax-form-controls .save-changes-btn,
.tax-actions .update-tax-info-btn {
  background-color: var(--primary-red);
  color: var(--bg-white);
}

.tax-form-controls .save-changes-btn:hover,
.tax-actions .update-tax-info-btn:hover {
  background-color: var(--black);
  color: var(--bg-white);
}

.sales-tax-nexus {
  margin-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.sales-tax-nexus h2 {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
  font-size: 20px;
}

.sales-tax-link {
  text-decoration: none;
  color: var(--primary-red);
}

.sales-tax-link:hover {
  text-decoration: underline;
  color: var(--black);
}

.sales-tax-link i {
  font-size: 12px;
}

.tax-info-field {
  padding: 6px;
  margin-bottom: 16px;
}

.tax-info-field .field-label {
  color: #6a7280;
}

.tax-information-preview .button-primary {
  background-color: var(--primary-red);
}

.tax-info-field .field-value {
  font-weight: 500;
  color: #000;
  font-size: 1rem;
  margin-top: 4px;
}

.tax-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.btn-outline {
  border: 1px solid #d1d5da !important;
  background-color: white;
  color: #333;
}

/* Statements */

.no-form-1099k-modal-content {
  display: none; /* until testing is done */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.no-statement-modal-content {
  display: flex; /* until testing is done */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem;
}

.no-statement-modal-content .no-statement-icon,
.no-form-1099k-icon {
  padding: 10px 16px;
  background-color: #f3f4f6;
  border-radius: 25px;
}

.no-statement-icon i,
.no-form-1099k-icon i {
  color: #9ca3af;
}

.no-statement-description,
.no-form-1099k-description {
  font-weight: 500;
  text-align: center;
  margin: 0;
}

.statements {
  border: 1px solid #e4e4e7;
}

.statement-text-wrapper {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Tax Information Form */
.tax-information-form {
  margin-top: 1rem;
  border-radius: 12px;
  padding: 1rem;
  display: none; /* initial show form until styling done */
  background-color: #f9fafb;
}

.tax-information-form.show {
  display: block;
}

.tax-information-form .tax-fields {
  width: 100%;
  flex-direction: column;
  display: flex;
  padding: 0.5rem;
}

.tax-information-form label {
  color: #6a7280;
}

.tax-information-form input {
  width: 100%;
  border-radius: 8px;
  padding: 10px;
  border: 2px solid #d5d5d5;
  margin: 4px auto;
  transition: border-color 0.2s;
}

.tax-information-form input:focus {
  border-color: var(--primary-red-hover);
}

.tax-information-form select {
  border-radius: 8px;
  padding: 14px;
  border: 2px solid #d5d5d5;
  transition: border-color 0.2s;
}

.tax-information-form select:focus {
  border-color: var(--primary-red);
}

.tax-information-form .tax-form-controls {
  display: flex;
  margin-top: 1rem;
  gap: 1rem;
}

.tax-information-form .input-wrapper {
  position: relative;
}

.toggle-visibility {
  position: absolute;
  border: none;
  background: none;
  font-size: 2rem;
  right: 1rem;
  top: 0;
  color: var(--primary-red);
}

.tax-withholding-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.tax-withholding-container {
  width: 90px !important;
  padding-right: 30px !important;
}

.tax-withholding-container input {
  border-radius: 6px !important;
}

.percentage-icon {
  position: absolute;
  left: 71px;
  top: 16px;
  color: #6a7280;
  font-size: 16px;
  font-weight: 500;
  pointer-events: none;
}

.dropdown-header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-header {
  cursor: pointer;
  border-bottom: none !important;
}

.dropdown-header:hover,
.tax-header:hover {
  color: #666;
}
.dropdown-header .dropdown-icon i,
.tax-header .dropdown-icon i {
  transform: rotate(180deg);
  font-size: 24px;
  transition: 0.2s ease-in-out;
}

.dropdown-header h4 {
  color: "#3a3a3a";
}

.dropdown-menu div {
  text-align: center;
  padding: 6px 10px;
  font-weight: 500;
  font-size: 16px;
}

.dropdown-menu a {
  text-wrap: nowrap;
  font-weight: 500;
  color: #ffff;
  border-radius: 10px;
  text-decoration: none;
  background-color: #d82c2f;
  padding: 8px 12px;
  transition: 0.2s ease-in-out;
}
.dropdown-menu a:hover {
  background-color: #b02a2e;
  color: #ffffff;
}

.dropdown-menu .stmt-wrapper {
  display: flex;
  align-items: center;
}

.stmt-wrapper p {
  margin: 0;
  padding: 0;
}

.card-list {
  display: flex;
  align-items: center;
  width: 100%;
  flex-direction: column;
}
.filter-container .filter-1 {
  border: none;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
  padding: 5px 5px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.filter-container .filter-1:hover {
  background-color: #f0f0f0;
}
.usd {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 10px;
  gap: 20px;
}

.usd .btn-wrapper .add-funds,
.usd .btn-wrapper .withdraw {
  font-weight: 600;
  border-radius: 12px;
  font-size: 0.85rem;
  cursor: pointer;
  background-color: transparent;
  border: 2px solid green;
  color: green;
  transition: 0.2s ease-in;
}

.usd .btn-wrapper .add-funds:hover {
  background-color: #f0fdf4;
  transform: translateY(-1px);
}

.usd .btn-wrapper .add-funds:active {
  transform: translateY(0);
}

.usd .btn-wrapper .withdraw {
  border-radius: 12px;
  font-weight: 600;
  border: none;
  color: white;
  background-color: #2563eb;
  transition: 0.2s ease-out;
}

.usd .btn-wrapper .withdraw:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-wrapper .withdraw:active {
  transform: translateY(0);
}

/* Order Details */

.order-details-menu.active {
  opacity: 1;
  visibility: visible;
}

.order-item-info h3 {
  font-size: var(--font-size-lg) !important;
  font-weight: 600 !important;
  color: var(--color-text-primary) !important;
  margin: 0 !important;
}
.order-item-info p {
  color: var(--color-gray-500) !important;
}

.order-details-subheader {
  font-weight: 500;
  font-size: var(--font-size-md);
  color: var(--color-text-primary);
  margin: 0;
  border-radius: var(--border-radius-sm);
}

/* Modal Overlay */

.order-details-menu {
  position: fixed;
  inset: 0;
  background-color: var(--color-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  border-radius: var(--border-radius-md);
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.order-shipping-info-container {
  border-bottom: 1px solid var(--border-gray);
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--border-gray);
  padding-top: var(--spacing-md);
}

.track-order-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--border-radius-sm);
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  margin-top: var(--spacing-md);
}

.order-details-container {
  background-color: var(--bg-white);
  width: 100%;
  max-width: 700px;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-md);
  max-height: 90vh;
  overflow-y: auto;
}

.order-details-container .order-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-primary);
}

.order-details-header h2 {
  color: var(--color-text-primary);
  margin: 0;
}

.order-details-header button {
  padding: var(--spacing-sm);
  border: none;
  font-size: var(--font-size-lg);
  background: transparent;
  cursor: pointer;
  border-radius: var(--border-radius-sm);
}

.order-details-header button:hover {
  background-color: var(--color-gray-100);
}

.order-details-header button i {
  font-size: var(--font-size-lg);
}

/* Seller Order Action Popup -- reuses .order-details-menu/.order-details-container
   for modal chrome, these classes are just the inner form/buttons */
.seller-order-action-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
}

.seller-order-action-item-name {
  font-weight: 600;
  color: var(--color-text-primary);
}

.seller-order-action-status {
  color: var(--color-gray-500);
  text-transform: capitalize;
}

.order-action-error {
  color: #dc2626;
  display: none;
}

.order-action-error.visible {
  display: block;
}

.seller-order-action-ship-fields,
.seller-order-action-auth-fields {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.seller-order-action-prepaid-info {
  display: none;
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
}

.seller-auth-photos-error {
  color: var(--color-danger, #c0392b) !important;
  font-size: var(--font-size-sm);
}

.seller-auth-photos-error:empty {
  display: none;
}

.seller-order-action-ship-fields label,
.seller-order-action-auth-fields label {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
}

.seller-order-action-ship-fields input,
.seller-order-action-auth-fields input {
  padding: var(--spacing-sm);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-md);
}

.order-action-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--border-radius-sm);
  color: var(--color-white);
  cursor: pointer;
  font-size: var(--font-size-md);
  transition: 0.3s ease-in-out;
}
a
.order-action-btn.secondary {
  
}

.order-action-btn.primary {
  background-color: var(--color-primary);
}

.order-action-btn.primary:hover {
  background-color: var(--color-primary-hover);
}

.order-action-btn:hover {
  opacity: 0.9;
}

.order-action-btn.danger {
  background-color: #dc2626;
}

.order-action-btn.cancel {
  background-color: #f0f0f0;
  color: #444;
}

.order-action-btn.certificate {
  background-color: rgba(42, 232, 122, 0.08);
  font-weight: 600;
  color: #2AE87A;
  border: 1.5px solid #2AE87A;
  border-radius: 8px; /* Added for a modern touch */
  padding: 10px 18px; /* Ensures a balanced shape */
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-action-btn.certificate:hover {
  background-color: #2AE87A;
  color: #04130a;
  box-shadow: 0 4px 14px rgba(42, 232, 122, 0.35); /* Soft glowing elevation */
  transform: translateY(-1px); /* Micro-interaction lift */
}

.order-details-cancel {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border-primary);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.order-action-btn.secondary {
  background-color: transparent;
  color: var(--color-text-primary);
  border: 1px solid var(--color-border-primary);
}

.order-delivery-confirmation {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border-primary);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.order-mark-received {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border-primary);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.mark-received-subtext {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin: 0;
}

.delivery-confirmation-header h3 {
  font-size: var(--font-size-lg);
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.delivery-confirmation-subtext {
  font-size: var(--font-size-sm);
  color: var(--color-gray-500);
  margin: 0;
}

.delivery-confirmation-rating {
  display: flex;
  gap: var(--spacing-sm);
  font-size: 1.5rem;
}

.delivery-confirmation-rating i {
  cursor: pointer;
}

.delivery-confirmation-rating i.fa-solid {
  color: #f5b400;
}

.delivery-confirmation-rating i.fa-regular {
  color: #d0d0d0;
}

.delivery-confirmation-comment {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.delivery-confirmation-comment label {
  font-size: var(--font-size-sm);
  color: var(--color-text-primary);
}

.delivery-confirmation-comment textarea {
  padding: var(--spacing-sm);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-md);
  min-height: 4rem;
  resize: vertical;
  font-family: inherit;
}

.delivery-confirmation-upload-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  border: 1px solid var(--color-border-primary);
  border-radius: var(--border-radius-sm);
  background-color: transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  font-size: var(--font-size-sm);
}

.delivery-confirmation-upload-btn:hover {
  background-color: var(--color-gray-100);
}

.delivery-confirmation-upload-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.delivery-confirmation-photo-previews {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.delivery-confirmation-photo-thumb {
  position: relative;
  width: 72px;
  height: 72px;
}

.delivery-confirmation-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.delivery-confirmation-photo-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: none;
  background-color: #dc2626;
  color: var(--color-white);
  font-size: 0.65rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delivery-confirmation-success {
  color: #16a34a;
  display: none;
  margin: 0;
}

.delivery-confirmation-success:not(:empty) {
  display: block;
}

.delivery-confirmation-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.order-details-subheader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--spacing-md);
  background-color: var(--color-gray-100);
  padding: var(--spacing-md);
  border-radius: var(--border-radius-md);
}

.order-details-subheader-title {
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
  margin: 0;
}

.order-products-container {
  margin-top: var(--spacing-md);
  display: flex;
  padding: var(--spacing-md);
  gap: var(--spacing-md);
  border-radius: var(--border-radius-md);
}

.order-shipping-info-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-lg);
  color: #111827;
  margin-top: var(--spacing-md);
}

.order-shipping-info-content {
  display: flex;
  flex-direction: column;
  margin-top: var(--spacing-md);
}

.order-shipping-info-content p {
  font-size: var(--font-size-md);
  color: #4b5563;
  margin: 0;
}

.order-shipping-info-header i {
  font-size: var(--font-size-lg);
}

.order-shipping-info-header h3 {
  font-size: var(--font-size-lg);
  color: #111827;
  margin: 0;
}

.order-payment-details {
  margin-top: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.order-payment-details-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: var(--font-size-lg);
  color: #111827;
  margin: 0;
}

.order-payment-details-header h3 {
  font-size: var(--font-size-lg);
  color: #111827;
  margin: 0;
}

.order-payment-details-content p {
  font-size: var(--font-size-md);
  color: #4b5563;
  margin: 0;
}

.order-payment-details-header i {
  font-size: var(--font-size-lg);
}

.order-pricing {
  border-bottom: 1px solid #e5e7eb;
}

.order-total {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

/* Settings Styles */

.settings {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.settings__title i {
  font-size: 1.75rem;
}

.settings__title {
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-primary);
}

.settings__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.settings__section {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.settings__section-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.settings__section-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0;
}

.settings__section-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.settings__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.settings__item:last-child {
  border-bottom: none;
}

.settings__item-info {
  flex: 1;
  margin-right: 1.5rem;
}

.settings__item-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem 0;
}

.settings__item-description {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  margin: 0;
}

.settings__item-control {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.settings__item-control select {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
  cursor: pointer;
}

/* Toggle Switch Styles */
.toggle {
  position: relative;
  display: inline-block;
  width: 3rem;
  height: 1.5rem;
  cursor: pointer;
}

.toggle__input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle__slider {
  position: absolute;
  inset: 0;
  background-color: #e5e7eb;
  border-radius: 1.5rem;
  transition: 0.2s;
}

.toggle__slider:before {
  content: "";
  position: absolute;
  height: 1.25rem;
  width: 1.25rem;
  left: 0.125rem;
  bottom: 0.125rem;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s;
}

.toggle__input:checked + .toggle__slider {
  background-color: var(--color-primary);
}

.toggle__input:checked + .toggle__slider:before {
  transform: translateX(1.5rem);
}

/* Button Styles */
.button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  border: none;
}

.button--primary {
  background-color: var(--color-primary);
  color: white;
}

.button--primary:hover {
  background-color: var(--color-primary-dark) !important;
}
/* Payouts */
.view-all-payouts-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.view-all-payouts-container {
  background-color: #fff;
  border-radius: 12px;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Header Styles */
.view-all-payouts-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.view-all-payouts-header h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.view-all-payouts-header .close-button {
  padding: 0.5rem;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.close-button:hover {
  background-color: #f3f4f6;
}

/* Summary Stats Grid */
.view-all-payouts-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem;
}

.total-amount,
.completed-payouts,
.pending-payouts,
.processing-payouts {
  background-color: #f9fafb;
  padding: 1rem;
  border-radius: 0.5rem;
}

.default-paragraph:first-child {
  margin-bottom: 0.5rem;
  color: #6b7280;
}

.default-paragraph:last-child {
  font-weight: 600;
  color: #111827;
  /* font-size: 1.5rem; */
}

.filter-payouts {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.search-bar {
  /* display: flex;
  align-items: center; */
  position: relative;
  flex: 1;
}

.search-bar input {
  width: 100%;
  padding: 0.5rem 0px 0.5rem 47px;
  border-radius: 0.375rem;
  border: 1px solid #e5e7eb;
}

.search-bar input::placeholder {
  color: #9ca3af;
}

.search-bar i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.filter-dropdown select,
.sort-dropdown select {
  padding: 0.5rem 2rem 0.5rem 1rem;
  border-radius: 0.375rem;
  border-radius: 0.375rem;
  background-color: white;
  cursor: pointer;
}

#export-payouts-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background-color: white;
  cursor: pointer;
  transition: background-color 0.2s;
}

#export-payouts-btn:hover {
  background-color: #f3f4f6;
}

.filter-payouts-header {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
}

.filter-payout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}

.filter-payout-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4b5563;
  font-weight: 500;
}

/* Payouts Table */
.filter-payout-list .filter-payout-item {
  display: grid;
  gap: 6rem;
  grid-template-columns: repeat(6, 9.5%);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-payout-list .filter-payout-item:hover {
  background-color: #f9fafb;
}

/* Out of Stock styles */
.empty-state {
  text-align: center;
  padding: 24px 20px;
  width: 100%;
  margin: 0 auto;
}

/* Footer Tooltip */
.payouts-tooltip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.tooltip-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
}

.tooltip-close button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  background-color: #e5e7eb;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tooltip-close button:hover {
  background-color: #d1d5db;
}

/* Search Bar */

/* Modal Styles */
.modal {
  display: none !important;
  position: fixed !important;
  z-index: 1000 !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: rgb(0 0 0 / 5%) !important;
  overflow: auto !important;
}

.modal.active {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: fadeIn 0.3s ease-out !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f9f9f9;
  border-radius: 8px 8px 0 0;
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.modal .close-button {
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
  color: #777;
  transition: color 0.2s;
}

.modal .close-button:hover {
  color: #333;
}

.modal .product-info-container,
.modal-product-info-container {
  background-color: #f9f9f9;
  border-radius: 6px;
  margin-bottom: 20px;
  padding: 15px;
  flex-direction: column;
  display: flex;
  gap: 20px;
}

.modal .product-image-container {
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  width: 80px;
  height: 80px;
  align-items: center;
  margin-right: 12px;
  justify-content: center;
}

/* Message Modal */

#messageModal .close-button {
  border: none;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.2s;
  font-size: 24px;
}

#messageModal .close-button:hover {
  color: #ef4444;
}

#messageModal .btn-primary {
  background-color: var(--alert-red-600);
  color: var(--bg-white);
}

#messageModal .modal-body {
  padding: 1rem 1.5rem;
}

.trader-image-wrapper img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
}

.trader-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-identity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-identity .username {
  font-size: 1rem;
  margin: 0;
  padding: 0;
}

.user-identity .user-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-identity .user-rating i {
  font-size: 14px;
  color: orange;
}

.trade-item--summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.item-details .detail-label {
  font-weight: 600;
}

#messageModal .modal-footer .btn i {
  font-size: 1rem;
  padding-right: 0.5rem;
}

.message-info {
  display: flex;
  align-content: center;
  font-size: 14px;
  justify-content: space-between;
  margin-top: 4px;
}

.message-attachments {
  position: absolute;
  left: 34rem;
  top: 15rem;
  background-color: transparent;
  padding: 2px;
  border-radius: 4px;
}

.message-attachments i {
  font-size: 1rem;
  color: #000;
}

.message-attachments:hover {
  background-color: #eaeaea;
  opacity: 0.5;
}

/* Reject Modal */

#rejectModal .product-image-container {
  flex: 0 0 auto;
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

#rejectModal .product-image-container img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* product info */
#rejectModal .product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  align-items: normal;
}

#rejectModal .sell-product-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
}

#rejectModal .sell-product-category {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 10px;
}

#rejectModal .offer-row {
  display: flex;
  /* flex-direction: column; */
  justify-content: space-between;
  gap: 5rem;
  margin-bottom: 0.5rem;
}

#rejectModal .offer-label {
  font-size: 0.875rem;
  color: #666;
  min-width: 140px;
  font-weight: 500;
}

#rejectModal .offer-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #333;
}

#rejectModal .confirmation-message p {
  margin: 0;
  padding: 0;
  color: #6c5815;
}

/* Trade Modal Styles */

#tradeModal .trade-content-container {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  margin: 1rem 1.5rem;
  background-color: #f9fafb;
  border: none;
  border-radius: 8px;
  justify-content: center;
}

#tradeModal .trade-group {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
}

.product-condition {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.trade-status-value {
  font-size: 14px;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 0.375rem;
}

.trade-status-value.pending {
  background-color: #fdf9c3;
  color: #9e4e47;
}

.trade-status-value.approved {
  color: #4caf50;
}

.trade-group.approved {
  color: #4caf50;
}

.trade-group.approved {
  color: #4caf50;
}

#tradeModal .item-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
}

.item-group label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

#tradeModal .trade-item-container {
  border: 1px solid #dbdbdb;
  padding: 1rem;
  border-radius: 8px;
}

#tradeModal .requesting-item-image {
  width: 80px;
  height: 80px;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
}

#tradeModal .requesting-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tradeModal .your-trade-image {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 80px;
  margin-bottom: 0.5rem;
  height: 80px;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
}

#tradeModal .your-trade-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal .product-image {
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
}

.modal .product-info {
  flex: 1;
}

.modal .product-size,
.modal .product-name {
  font-weight: 600;
  font-size: 16px;
  color: #333;
  margin-bottom: 5px;
}

.modal .product-sku,
.product-category {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.modal .product-status {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 12px;
  background-color: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 500;
}

#acceptModal .product-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

/* Confirmation Styles */
.confirmation-message {
  background-color: #e7f5e9;
  border-left: 4px solid green;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.confirmation-message.warning {
  background-color: #fefce8;
  border-left: 4px solid #facc30;
}

/* For collections checkbox */
.collection-list {
  margin-bottom: 1rem;
}
.collection-item {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.collection-item input[type="checkbox"] {
  margin-right: 10px;
}

#promoteModal .modal-body .input-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#promoteModal .modal .input-group input {
  width: 85%;
  border-radius: 8px;
  padding-right: 10px;
}

/* Form elements styling */
.modal .form-group {
  margin-bottom: 20px;
}

.modal .label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #555;
}

.modal input[type="text"],
.modal input[type="number"],
.modal select,
.modal textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  transition: border 0.2s;
}

.modal input[type="text"]:focus,
.modal input[type="number"]:focus,
.modal select:focus,
.modal textarea:focus {
  border-color: #ff6550;
  outline: none;
  box-shadow: 0px 0px 3px 0px rgba(255, 100, 100, 0.75);
}

.modal textarea {
  min-height: 100px;
  resize: vertical;
}

/* Tab styling for the edit modal */
.modal .tabs {
  display: flex;
  border-bottom: 1px solid #e0e0e0;

  padding: 0;
  list-style: none;
}

.modal .tab {
  display: flex;
  cursor: pointer;
  color: #777;
  font-weight: 500;
  padding: 10px 15px;
  position: relative;
  transition: color 0.2s;
}

.modal .tab:hover {
  color: #ef4444;
}

.modal .tab.active {
  color: #ef4444;
}

.modal .tab.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ef4444;
}

.modal .tab-content {
  display: none;
  padding: 0 20px;
}

.modal .tab-content.active {
  display: block;
}

/* Modal Footer Styling */
#tradeModal .modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 3rem;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

#tradeModal .modal-body {
  padding: 0;
}

.modal-footer .btn {
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.modal-footer .save-edit {
  background-color: #ef4444;
  transition: background-color 0.3s;
  color: var(--bg-white);
}

.modal-footer .save-edit:hover {
  background-color: var(--primary-light) !important;
}

.modal-footer .btn-secondary {
  background-color: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

#tradeModal .modal-footer .btn-secondary:hover {
  background-color: #000;
  color: white;
}

#tradeModal .modal-footer .btn-primary {
  background-color: var(--primary-red);
  color: white;
}

.modal-footer .btn-primary:hover {
  background-color: #2a63e0;
}

.modal-footer .btn-success {
  background-color: #4caf50;
  color: white;
}

.modal-footer .btn-success:hover {
  background-color: #43a047;
}

.modal-footer .btn-danger {
  background-color: #f44336;
  color: white;
}

.modal-footer .btn-danger:hover {
  background-color: #e53935;
}

/* Modal Accept Offer */
#acceptModal .offer-details {
  margin-bottom: 1rem;
}
#acceptModal .offer-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

#acceptModal .offer-row.highlight {
  font-weight: 600;
  font-size: 1rem;
  color: red;
}
#acceptModal .offer-value,
.offer-label {
  font-size: 1rem;
  font-weight: 500;
}

/* Product Deletion Modal */
#trashModal .modal-content .modal-header {
  display: flex !important;
  justify-content: flex-start !important;
  gap: 1rem !important;
}

#trashModal .modal-icon {
  display: flex;
  background: #fee2e2;
  border-radius: 100%;
  padding: 0.875rem;
  align-items: center;
  justify-content: center;
}

#trashModal .modal-icon i {
  color: var(--alert-red-600);
  font-size: 1.5rem;
}

#trashModal .modal-title {
  font-size: larger;
  font-weight: 700;
}

/* Unlike #messageModal/#tradeModal/#publishModal, .modal-body/.modal-footer
   never got their own padding here -- the delete-confirmation text and the
   action buttons were sitting flush against the modal's edges. Same values
   the other modals already use. */
#trashModal .modal-body {
  padding: 1rem 1.5rem;
}

#trashModal .modal-footer {
  padding: 15px 20px;
  border-top: 1px solid #e0e0e0;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  background-color: #f9f9f9;
  border-radius: 0 0 8px 8px;
}

#trashModal .modal-footer .delete-btn {
  color: var(--white);
  background-color: #000;
}

#trashModal .modal-footer .cancel-btn {
  border: 1px solid #d9d9d9;
}

#trashModal .modal-footer i {
  padding-right: 0.5rem;
  font-size: 1rem;
}

/* Publish Draft Product */
#publishModal .modal-content .modal-header {
  display: flex;
  align-items: center;
}

#publishModal .modal-content .modal-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#publishModal .modal-content .modal-title .header-icon {
  justify-content: center;
  padding: 4px 13px;
  background-color: #dbeafe;
  border-radius: 50%;
}

#publishModal .modal-content .modal-title .header-icon i {
  font-size: 1rem;
  color: blue;
}

#publishModal .modal-content .modal-title .modal-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0056b3;
  padding: 4px 0.5rem;
  border-radius: 100%;
}

#publishModal .modal-content .modal-title .modal-icon i {
  font-size: 1rem;
  color: #0056b3;
}

#publishModal .modal-body .completion-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.completion-status h3 {
  font-size: 18px;
}

#publishModal .modal-body .status {
  border-radius: 18px;
  background-color: var(--color-gray-300);
  padding: 4px 11px;
}

#publishModal .modal-body .status.half {
  background-color: yellow;
  color: yellow;
}

#publishModal .modal-body .status-percentage {
  font-weight: 600;
}

#publishModal .missing-info-container {
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  padding: 1rem;
}

#publishModal .missing-info-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#publishModal .missing-info-header .header-icon {
  border: 2px solid #000;
  padding: 3px 14px;
  border-radius: 50%;
}

#publishModal .missing-info-header .header-icon i {
  font-weight: 800;
  font-size: 16px;
}

#publishModal .missing-info-header h3 {
  font-size: 18px;
}

#publishModal .missing-items {
  padding: 0 5rem !important;
}

#publishModal .modal-footer .required-fields {
  color: var(--white);
  /* padding: 0.5rem; */
  background-color: #438ef0;
}

#publishModal .modal-footer .required-fields:hover {
  background-color: #3a81de;
  transition: background-color 0.3s ease-out;
}

#publishModal .modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: var(--border-radius-sm);
  background-color: transparent;
  transition: background-color 0.3s ease-out;
}

#publishModal .modal-close:hover {
  background-color: var(--border-gray);
}

#publishModal .modal-footer .cancel-btn {
  border: 1px solid #d6d6d6;
}

#publishModal .modal-footer .cancel-btn:hover {
  background-color: #f5f5f5;
  transition: all 0.5s;
}

#publishModal .modal-footer .required-fields i {
  font-size: 1rem;
  padding-right: 0.5rem;
}

/* Balance Display */

#act-wallet-balance {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
  position: relative;
}

#wallet-balance .header-wrapper {
  gap: 7rem;
  display: flex;
  align-items: center;
}

.wallet-activity p:nth-child(1),
.pending-activity p:nth-child(1) {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

.wallet-info {
  width: 100%;
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  display: flex;
  gap: 9rem;
}

.balance-label {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
}

#act-wallet-balance:hover {
  color: #2563eb;
}

.usd-img img {
  /* border: 2px solid rgb(15, 15, 15); */
  width: 80px;
  height: 80px;
  border-radius: 100%;
  object-fit: cover;
}

/* Favorites */
.favorite-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* the `hidden` attribute's UA-stylesheet `display: none` loses to this
   rule's author-stylesheet `display: grid` regardless of specificity, so
   favorites.js's grid.hidden = true (showEmptyState/renderSkeletons) is a
   no-op without this override -- same fix as .carousel-modal[hidden] in
   admin-review.css. */
.favorite-grid[hidden] {
  display: none;
}

/* .pro's own width: 320px (product-card.css) is meant for the horizontally
   scrolling .pro-container carousel elsewhere on the site -- inside this
   grid it needs to fill its column instead, same override product-card.css
   already does for .product-grid .pro. */
.favorite-grid .pro {
  width: 100%;
}

/* Current Balance */
.currency-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.currency-status {
  gap: 4px;
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #059669;
  padding: 8px 12px;
  border-radius: 12px;
  background-color: #def7ec;
}

.currency-status i {
  font-size: 16px;
}

.add-funds {
  border: 2px solid #059669 !important  ;
  color: #059669 !important;
  background-color: white !important;
}

.pfp {
  display: block;
  width: 70%;
  max-width: 100%;
  margin-bottom: 1rem;
  /* height: 544px; */
}

#pfp-section {
  padding: 10px;
  display: flex;
  align-items: center;
  /* justify-content: center; */
}

#pfp-section img {
  height: 100px;
  border-radius: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

#bio-section {
  display: flex;
  flex-direction: column;
}

#bio-section #bio button {
  width: 100%;
  background-color: #000;
  padding: 10px;
  font-size: 1rem;
  color: #fff;
  border-radius: 12px;
}

.pfp-1 form {
  background-color: transparent;
  width: 100%;
  display: block;
}

.stmt {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stmt p {
  font-size: 16px;
  font-weight: 500;
  text-wrap: nowrap;
}

.stmt i {
  font-size: 24px;
}

.stmt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border-radius: 12px;
  background-color: #d6d6d661;
}

.tab {
  display: none;
}

.tab.active {
  display: flex;
  justify-content: flex-start;
}

.tab-btn.active {
  background-color: #d6d6d6;
}

.input-disabled {
  background-color: "#e0e0e0";
  border: "#b0b0b0";
  padding: "12px 20px";
}

.input-enabled {
  background-color: "transparent";
  border: "none";
  box-shadow: "none";
  padding: "0px 0px";
}

.profile-section {
  width: 100%;
  max-width: 100%;
  align-items: center;
}

/* Skeleton loading state -- hidden by default, swapped in for the real
   .pfp-1 form while loadProfileData() fetches (see profile.js). */
#profile-data .skeleton-item,
#shipping-data .skeleton-item {
  display: none;
}

#profile-data.is-loading > .skeleton-item,
#shipping-data.is-loading > .skeleton-item {
  display: block;
}

#profile-data.is-loading > .pfp-1:not(.skeleton-item),
#shipping-data.is-loading > .pfp-1:not(.skeleton-item) {
  display: none;
}

.pfp-1 input[type="text"],
.pfp-1 input[type="email"],
.pfp-1 input[type="tel"],
.pfp-1 input[type="number"] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  background-color: transparent;
  display: inline-block;
  border: transparent;
  /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06); */
  border-radius: 4px;
  box-sizing: border-box;
}

.default-card {
  border: none;
  font-size: 16px;
  font-weight: 600;
  background: #e1e1e1;
  padding: 5px;
  border-radius: 8px;
}

.divider {
  height: 40px;
  border: 1px solid #d9d9d9;
}

#left-navigation ul {
  padding-left: 1px;
}

.dropdown-menu.active {
  border: none;
  box-shadow: rgba(136, 165, 191, 0.48) 6px 2px 16px 0px,
    rgba(255, 255, 255, 0.8) -6px -2px 16px 0px;
  position: relative;
  display: flex;
  opacity: 1;
  z-index: 0;
  max-height: 500px; /* Set to a value larger than the dropdown content */
  visibility: visible;
}

.hover-scale {
  transition: transform 0.3s ease;
  cursor: pointer;
}

.hover-scale:hover {
  transform: scale(2);
}

/* Selling Styles */



.recent-activity-icon {
  border-radius: 100%;
  padding: 10px;
}

.recent-activity-icon.received {
  background-color: var(--success-green-50);
}

.recent-activity-icon.received i {
  color: var(--success-green-600);
}

.recent-acivity-alert span.warning {
  color: var(--alert-red-600);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  justify-content: space-between;
  background: var(--bg-white);
}

.activity-header {
  display: flex;
  align-items: center;
  gap: 9rem;
  justify-content: space-between;
}

.recent-activity-header .view-all {
  color: var(--alert-red-600);
}

.inner-wrapper p {
  color: #4b5563;
}

.selling-section .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selling-section .title-wrapper i {
  color: var(--text-gray-500) !important;
}

.selling-section .title-wrapper h2 {
  color: var(--text-gray-500);
  font-size: 1.1rem;
}

.rating {
  color: orange;
}

.green {
  color: #4dc44d !important;
}

.blue {
  color: #438fff !important;
}

.selling-section .title-wrapper h1 {
  font-weight: 700;
}

.selling-section {
  margin-top: 1rem;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

.selling-tabs {
  display: flex;
  gap: 1rem;
  border-radius: 8px;
  background-color: #d6d6d661;
  padding: 12px;
  align-items: center;
}

.selling-label {
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  color: #4b5563;
}

.selling-label.active {
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
}

/* Recent Activity Styles */

.activity-content {
  flex: 1;
}

.activity-time {
  font-size: 12px;
  color: var(--text-gray-500);
}

.activity-title {
  font-weight: 600;
  color: #000;
  margin-bottom: 0.25rem;
}

.activity-detail {
  font-size: 14px;
  color: var(--text-gray-500);
  margin-bottom: 0.25rem;
}

.warning-text {
  color: var(--alert-red-600);
  font-weight: 500;
}

.icon {
  width: 40px;
  height: 40px;
}

/* Favorites Styles */

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
}

.favorites-section {
  width: 100%;
}

.favorites-header h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem !important;
  color: #1a1a1a;
}

.favorites-header p {
  font-size: 1rem;
  color: var(--text-gray-500);
}



.empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
}

.empty-message {
  font-size: 1rem;
  color: var(--text-gray-500);
}

.no-favorites {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
}

.icon-background {
  width: 64px;
  height: 64px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z' fill='none' stroke='currentColor' stroke-width='2'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

/* Purchase Items */
.purchases-list {
  padding: 1rem;
}

.purchase-item {
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: white;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease;
  padding: 1rem;
}

.purchase-item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Mobile View */
.desktop-view {
  display: none;
}

/* .mobile-view {
  padding: 1rem;
} */

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 0.75rem;
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: fit-content;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  justify-content: center;
}

.product-info {
  display: flex;
  gap: 0.75rem;
}

.product-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.details p {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0;
}

details h3 {
  margin: 0;
}

.expected-date {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.view-details-btn {
  border: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  border-top: 1px solid #e5e7eb;
  color: #2563eb;
  background: none;
  font-size: 0.875rem;
}

.view-all-link {
  color: 007EFA;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
}

/* Extra small devices (phones, <576px) */
@media (max-width: 575.98px) {

  .view-all-activity {
    max-width: 350px;
  }

  .orders-container {
    grid-template-columns: 1fr;
  }

  .order-details-container {
    max-width: 360px;
  }

  /* dashboards styles */
  .search-wrapper {
    width: 100%;
    min-width: 100%;
  }

  .products-header .action-buttons,
  .products-header {
    flex-direction: column;
    width: 100%;
  }

  /* filter products */
  .filter-opt .filter-data-container {
    min-width: 100%;
    width: 100%;
  }

  .filter-opt .filter-dropdown-content {
    left: 0;
    right: 0;
    min-width: unset;
    max-width: 100%;
    width: 100vw;
    position: fixed;
    top: auto;
    bottom: 0;
    border: 12px 12px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    gap: 1rem;
  }
  .filter-list {
    overflow-x: scroll;
  }

  /* Reviews Modal Styles */

  .review-card .user-info .user-review-img img {
    width: 32px;
    height: 32px;
  }

  /* Reply Card */
  .reply-card .user-info .user-review-img {
    width: 32px;
    height: 32px;
  }

  .seller-badge {
    font-size: 12px;
  }

  .reply-card .username-wrapper {
    margin: 0;
    gap: 1rem;
  }

  .reply-card .reply-actions {
    justify-content: space-between;
  }

  .reply-card .username-wrapper .username {
    font-size: 12px;
    margin-bottom: 0;
  }

  /* .reply-card .reply-actions .reply-dropdown-content {
    right: 32px;
  } */

  .review-card .user-info .username-wrapper {
    font-size: 12px;
  }

  .review-card .user-info .review-details {
    font-size: 12px;
  }

  .review-card .user-info .rating-stars {
    font-size: 12px;
  }

  .review-card .user-info .rating-timestamp {
    font-size: 12px;
  }

  .review-content {
    max-height: 430px;
  }

  .reply-card {
    padding: 1rem;
    margin-left: 0;
  }

  .reply-card .review-card .user-review {
    padding: 0;
  }

  .reply-card .user-review {
    gap: 0.5rem;
    flex-direction: column;
    margin-bottom: 0.5rem;
  }

  .reply-card .username-wrapper {
    font-size: 12px;
  }

  .reply-card .review-details {
    font-size: 12px;
  }

  .reply-card .rating-stars {
    font-size: 12px;
  }

  .reply-card .user-review-img img {
    width: 32px;
    height: 32px;
  }

  .reply-card .review-controls button {
    font-size: 12px;
  }

  .reply-card .rating-timestamp {
    font-size: 12px;
  }

  /* Purchases */

  /* Profile Tab */
  .tab {
    max-width: 100%;
  }

  #user-stats {
    gap: 1rem;
  }

  #user-stats .stat-grid {
    gap: 1rem;
  }

  .verified-tag {
    font-size: 12px;
  }

  .verified-tag.verified {
    font-size: 12px;
  }

  .share-btn {
    font-size: 1.5rem;
  }

  .selling-section {
    grid-template-columns: repeat(1, 1fr);
    gap: 0.5rem;
  }

  .selling-tabs {
    margin-bottom: 1rem;
  }

  .primary-card {
    padding: 4px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Wallet Balance */
  #wallet-balance .header-wrapper {
    gap: 4rem;
  }

  .wallet-info {
    gap: 2rem;
  }

  #wallet-balance-wrapper {
    display: flex;
    gap: 5rem;
    align-items: center;
  }

  /* Withdraw Funds Popup */
  #withdraw-funds .withdraw-container {
    width: 90%;
  }

  /* Add Card Form */
  .form-card form {
    width: 100%;
  }

  .form-card {
    width: 90%;
    padding: 1rem;
  }

  #wallet-balance {
    height: 100% !important;
    max-height: 80% !important;
  }

  /* Wallet Balance */
  #wallet-balance .usd h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
  }

  /* Card on file */
  .card-wrapper.add-card {
    min-width: 100%;
    width: 100%;
  }

  .header-info h3 {
    font-size: 18px;
  }
  #bio-section form,
  #bio-section textarea {
    width: 100%;
  }
  .section-p1 {
    padding: 0px !important;
  }

  #profile-inner-wrapper {
    padding: 16px 0px;
    justify-content: center;
  }

  .pfp,
  #review-content {
    width: 100%;
  }

  #review-content {
    order: 1;
    height: auto;
  }

  #review-content h1 {
    font-size: 24px;
  }

  .review-wrapper {
    flex-direction: column;
    gap: 0rem;
  }

  .review-wrapper .rating-container {
    align-items: center;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
  }

  .review-wrapper .rating-container h2 {
    font-size: 3rem;
  }

  .rating-container .rating-details {
    text-align: left;
  }

  .rating-breakdown {
    padding: 24px 0px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .rating-breakdown .rating-process .rating-bar {
    width: 54% !important;
    height: 10px;
    background-color: #f8f7f7;
  }

  #profile-data {
    order: 2;
  }

  #shipping-data {
    order: 3;
  }

  #newsletter .form {
    padding: var(--padding-medium);
  }

  #newsletter .newstext {
    padding: var(--padding-medium);
  }

  .tab {
    width: 100%;
  }

  .usd .btn-wrapper button {
    padding: 12px 24px;
    width: 100%;
  }

  .nav-wrapper {
    flex-direction: column;
  }

  #left-navigation {
    width: 100%;
  }

  #left-nav-wrapper {
    width: 100%;
    height: auto;
    padding: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #left-nav-wrapper::-webkit-scrollbar {
    display: none;
  }

  #left-nav-wrapper .tabs {
    display: flex;
    gap: 0.5rem;
  }

  .lf-wrapper li {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .profile-section {
    flex-direction: column;
    max-width: 100%;
    padding: 10px;
  }

  .stmt {
    gap: none;
  }

  .stmt p {
    font-size: 16px;
  }

  .dropdown-menu {
    align-items: center;
    padding: 16px 16px;
  }

  .dropdown-menu .stmt-wrapper {
    flex-direction: column;
  }

  .dropdown-menu a {
    padding: 12px 82px;
  }

  #timestamp-container {
    justify-content: center;
    padding: 10px 0px;
  }
  textarea {
    width: 100%;
  }

  .payment-wrapper {
    width: 100%;
    flex-direction: column;
  }
  .inner-wrapper {
    width: 100%;
  }
  .card-wrapper {
    flex-direction: column;
    min-width: 317px;
    width: 100%;
  }

  .card-wrapper .card-options {
    font-size: 16px;
  }

  .card-wrapper .card-options i {
    font-size: 24px;
  }

  .payment-wrapper .inner-wrapper {
    width: 90%;
  }

  #add-card-popup {
    width: 95%;
    padding: 1rem;
    max-height: 90vh;
    overflow-y: auto;
  }

  .addCardHeader {
    margin-bottom: 1rem;
  }

  .header-wrapper h2 {
    font-size: 1.1rem;
  }

  .header-wrapper p {
    font-size: 0.8rem;
  }

  #add-card input[type="text"],
  #add-card input[type="number"],
  #add-card input[type="month"] {
    padding: 0.5rem;
    font-size: 0.9rem;
  }

  .close {
    font-size: 1.25rem;
    padding: 0.25rem;
  }

  .margin-right label {
    font-size: 0.85rem;
  }

  .purchase-type-list {
    overflow-x: auto;
    gap: 0.5rem;
  }

  .purchase-type-list::-webkit-scrollbar {
    display: none;
  }

  .purchases-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* Filter Menu */
.filter-list {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style-type: none;
  padding: 0;
  color: #6b7280;
  margin-bottom: 0;
}

.filter-nav {
  margin-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.filter-tab {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: var(--gray-600);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.products-header button i {
  font-size: 1rem;
}

.filter-btn:hover {
  color: #374151;
  border-bottom-color: #e5e7eb;
}

.filter-list .filter-btn.active {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

.filter-btn {
  padding: 1rem 0.25rem;
  background-color: transparent;
  border: none;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Navigation container */
.tax-nav-tabs-container {
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.5rem;
  /* margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background-color: #fff; */
}



.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* .chart-section {
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
} */

.chart-section {
  margin-bottom: 1.5rem;
}

.chart-section .chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.chart-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chart-title {
  color: var(--black);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}

.chart-tooltip {
  color: var(--text-gray-500);
  font-size: 0.875rem;
}

.chart-filters select {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
  background-color: var(--bg-white);
  color: var(--text-gray-500);
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  background-image: none;
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
}

.chart-container {
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
  background-color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dashboard-nav-container .nav-menu {
  display: flex;
  gap: 2rem;
  list-style-type: none;
  margin: 0;
  overflow-x: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 1rem;
}

.dashboard-nav-container .nav-menu::-webkit-scrollbar {
  display: none;
}

.content-section.active {
  display: block;
  justify-content: center;
}

.content-section {
  display: none;
}

/* Navigation buttons */
.nav-button {
  padding: 1rem 0.25rem;
  background-color: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  color: #374151;
  border-bottom-color: #e5e7eb;
}

.nav-button.active {
  color: var(--primary-red);
  border-bottom-color: var(--primary-red);
}

/* Products Section */

#draft-products-table .progress-bar {
  border-radius: var(--border-radius-md);
  background-color: var(--border-gray);
}

#draft-products-table .progress-bar .progress {
  background: #4caf50;
}

.products-overview {
  margin-bottom: 1rem;
  display: grid;
  /* minmax(240px, 1fr) alone never shrinks a track below 240px even when
     the container itself is narrower -- overflows at >=992px specifically,
     the one range none of the responsive overrides below cover. min(240px,
     100%) caps that floor at the container's own width so it can't force
     an overflow at any viewport size. */
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.5rem;
}



.payout-setup-card {
  border-left: 4px solid #f5b400;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.payout-setup-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin: 0 0 0.25rem 0;
}

.payout-setup-content p {
  color: var(--text-gray-500);
  font-size: 0.9rem;
  margin: 0;
}

.payout-setup-card #payout-setup-btn {
  white-space: nowrap;
  background-color: var(--primary-red);
}



.stat-label {
  font-size:18px;
  font-weight: 600 !important;
  color: var(--color-text-primary);
  margin-bottom: 1rem !important;
}

.stat-value {
  color: var(--color-text-primary) !important;
  font-size: var(--fs-h2) !important;
  font-weight: 500 !important;
}

.products-overview div {
  flex: 1;
}

.products-overview .title-wrapper h2 {
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
}

.products-overview .title-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.products-overview p {
  font-size: 2rem;
  font-weight: 500;
  color: #111827;
}

.products-overview .active-listings i {
  color: #0ab80a;
}

.products-overview .trade-offers i {
  color: #007bff;
}

.products-overview .sell-to-us-requests i {
  color: #db0c7a;
}

.products-overview .total-sales i {
  color: #0ab80a;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.action-buttons{
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s;
}

.action-buttons button:hover {
  background-color: #f3f4f6;
  border-color: #e5e7eb;
}

.products-header button {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  font-weight: 500;
  color: #6b7280;
  border-radius: 8px;
  padding: 8px 16px;
}

.products-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  /* scrollbar-width: none;
  overflow-x: auto; */
}

/* Products Table */

.balance-due.positive {
  color: var(--success-green-600);
}

.price-trend.positive {
  color: var(--success-green-600);
}

.product-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive {
  overflow-x: auto;
  background-color: var(--bg-white);
  border-radius: 0.5rem;
  min-height: 0.01%;
  box-shadow: var(--shadow);
}

.order-table,
.product-table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, sans-serif;
  white-space: nowrap;
}

.order-table th,
.product-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 500;
  color: #4b5563;
  background: var(--gray-50);
  border-bottom: 1px solid #e5e7eb;
}

.product-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-700);
}

.product-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-add {
  background-color: var(--primary-red) !important;
  color: #fff !important;
  border: none !important;
}

.product-info img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.search-wrapper {
  position: relative;
  flex-grow: 1;
  /* max-width: 300px; */
}

.search-wrapper input {
  width: 100%;
  padding-right: 2.5rem;
}

.search-wrapper button {
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.trend-arrow.up {
  color: var(--success-green-600);
}

.view-trend.positive {
  color: var(--success-green-600);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-family: system-ui, -apple-system, sans-serif;
}

.product-table th {
  padding: 1rem;
  text-align: left;
  font-weight: 500;
  color: #4b5563;
  background-color: #f9fafb;
}

.product-table td {
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.product-row:hover {
  background-color: #f9fafb;
}

.product-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-info .product-image {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.product-details {
  display: flex;
  flex-direction: column;
}

.product-info .product-name {
  font-weight: 500;
  margin: 0;
  white-space: nowrap;
}

.product-type {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.listing-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  border-radius: 9999px;
  text-transform: capitalize;
  background-color: #def7ec;
  color: #03543f;
}

.listing-badge.out-of-stock {
  background-color: #fde8e8;
  color: #9b1c1c;
}

.listing-badge.draft {
  background-color: #f3f4f6;
  color: #374151;
}

.action-button {
  padding: 0.5rem;
  border: none;
  background: transparent;
  border-radius: 9999px;
  cursor: pointer;
}

.action-button:hover {
  background-color: #f3f4f6;
}

.action-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
}

/* Orders Section */
.orders-wrapper h2 {
  font-size: 1rem;
  color: #4b5563;
}

.orders-wrapper h1 {
  font-size: 1.5rem;
  margin: 0;
  color: #111827;
}

#orders-filter-btn {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 16px;
  white-space: nowrap;
}

#orders-filter-btn:hover {
  background-color: #f3f4f6;
}
#orders-filter-btn i {
  margin-right: 0.5rem;
  font-size: 1rem;
}

.total-orders-info,
.pending-orders-info,
.average-orders-info,
.total-revenue-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.orders-wrapper p {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* Analytics Section */
#analytics .analytics-header {
  margin-bottom: 1.5rem;
  margin-top: 1rem;
}

#analytics .analytics-header .analytics-title-group {
  display: flex;
  flex-direction: column;
}

#analytics .analytics-header h2 {
  font-size: 1.5rem;
  color: #111827;
}

#analytics .analytics-heading {
  font-size: 1.5rem;
  color: #111827;
  margin: 0;
  font-weight: 600;
}

#analytics .analytics-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

#analytics .analytics-header .analytics-tooltip {
  font-size: 0.875rem;
  color: #6b7280;
}

#analytics .analytics-select select {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.375rem;
  background-color: var(--bg-white);
  color: var(--text-gray-500);
  font-size: 0.875rem;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1.5em 1.5em;
}

.analytics-select select:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.export-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: var(--primary-red);
  color: #fff;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.category-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
  margin-top: 1rem;
}

.category-legend .category-color {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.category-legend .category-name {
  flex: 1;
  font-size: 0.875rem;
  color: var(--text-gray-500);
}

.category-color:nth-child(1) {
  background-color: #007bff;
}

.category-color:nth-child(2) {
  background-color: #00ff00;
}

.category-color:nth-child(3) {
  background-color: #ff0000;
}
.category-color:nth-child(4) {
  background-color: #0000ff;
}

.category-legend .category-percentage {
  font-size: 0.875rem;
  color: var(--black);
  font-weight: 500;
}

/* Notification Settings */

/* Root Variables */
:root {
  --primary-red: #ef4444;
  --gray-200: #e5e7eb;
  --white: #ffffff;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
}

/* Notification Settings Container */

/* Settings Header */
.settings-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.settings-header h1 {
  font-size: 1.5rem;
  margin: 0;
}

/* Content Header */
.content-header {
  margin-bottom: var(--spacing-lg);
}

.content-header h2 {
  margin: 0 0 var(--spacing-sm);
  font-size: 1.25rem;
}

/* Common Styles */
.description {
  color: #6b7280;
  margin: 0;
  font-size: 0.875rem;
}

.border-bottom {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

/* Icon Wrapper */
.icon-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--gray-200);
  border-radius: 9999px;
}

.settings-header .icon-wrapper {
  padding: var(--spacing-sm);
  background-color: var(--gray-200);
}

/* Notification Options */
.notification-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.notification-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
}

.item-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.text-content h3 {
  margin: 0 0 var(--spacing-sm);
  font-size: 1rem;
}

/* Frequency Section */
.notification-frequency,
.delivery-methods {
  margin-top: var(--spacing-xl);
}

.frequency-options {
  display: flex;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-lg);
}

.frequency-option {
  flex: 1;
}

.frequency-button,
.frequency-option button {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: 4px;
  background-color: var(--gray-200);
  color: var(--black);
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.frequency-button:active,
.frequency-option button:active {
  background-color: var(--primary-red);
  color: var(--white);
}

/* Delivery Methods */
.delivery-options {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.delivery-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) 0;
}

.delivery-option .icon-wrapper {
  background-color: transparent;
  padding: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-200);
  transition: 0.2s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.2s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-red);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Purchases Section */

.purchase-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.price-and-quantity {
  display: flex;
  color: var(--text-gray-500);
  gap: var(--spacing-sm);
}

.price-and-quantity p {
  margin: 0 !important;
  font-size: var(--font-size-sm) !important;
  font-weight: 500 !important;
  color: var(--text-gray-500) !important;
}

.purchases-section {
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
}

/* Purchases Header */
.purchases-header {
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.purchases-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-gray-900);
  margin: 0;
}

/* Purchases Controls */
.purchases-header .purchases-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.purchase-type-button {
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-base);
  font-weight: 500;
}

.purchases-search {
  position: relative;
  display: flex;
  align-items: center;
}

.purchases-search input {
  min-width: 250px;
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  padding-left: 3rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
}

.purchases-search input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 2px rgba(var(--primary-red-rgb), 0.2);
}

.purchases-search i {
  position: absolute;
  left: var(--spacing-sm);
  color: var(--text-gray-700);
}

.filter-button {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--gray-200);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  color: var(--text-gray-700);
  transition: var(--transition-base);
}

.filter-button:hover {
  background-color: var(--color-gray-50);
  border-color: var(--color-gray-300);
}

.purchase-type-nav {
  display: flex;
  gap: var(--spacing-sm);
  border-bottom: 1px solid var(--gray-200);
  flex-wrap: wrap;
  margin-bottom: var(--spacing-md);
}

.purchase-type-list {
  display: flex;
  gap: var(--spacing-sm);
  list-style: none;
}

.purchases-content-section {
  display: none;
}

.purchases-content-section.active {
  display: block;
}

.purchase-type-item {
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--text-gray-500);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-base);
  font-size: var(--font-size-base);
}

.purchase-type-item.active {
  border-bottom: 2px solid var(--primary-red);
  color: var(--primary-red);
}

.purchase-type-item:hover {
  border-bottom: 2px solid var(--gray-100);
  cursor: pointer;
}

#purchases {
  justify-content: flex-start;
  padding: 0;
}

.order-item-info .product-name {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-gray-900);
}

.purchase-status .status-icon-circle {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  align-items: center;
}

.purchase-status .status-icon {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex-direction: column;
}

.purchase-status .status-icon-circle .status-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.status-text.processing {
  background-color: var(--color-status-processing-bg);
  color: var(--color-status-processing-text);
}

.status-text.shipped {
  background-color: var(--color-status-shipped-bg);
  color: var(--color-status-shipped-text);
}

.status-text.delivered {
  background-color: var(--color-status-delivered-bg);
  color: var(--color-status-delivered-text);
}

.product-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  background-color: var(--gray-200);
}

.purchase-status {
  display: flex;
  align-items: flex-end;
  gap: var(--spacing-md);
  flex-direction: column;
}

.purchase-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.purchase-controls {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  border: 1px solid var(--gray-200);
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.purchase-controls:hover {
  opacity: 0.8;
  cursor: pointer;
}

.purchase-status .expected-date {
  color: var(--text-gray-500) !important;
  font-size: var(--font-size-sm) !important;
  font-weight: 500 !important;
}

.purchase-controls a {
  color: var(--primary-red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 500;
  transition: var(--transition-base);
}

.purchase-item-container {
  display: flex;
  gap: 1rem;
}

.purchase-item .product-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.content-header {
  margin-bottom: 1rem;
}

.content-header .description {
  margin: 0 !important;
  color: var(--text-gray-500) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

.content-header h2 {
  margin: 0 !important;
  font-size: 1.5rem !important;
  color: #111827 !important;
}

.settings-header .icon-wrapper {
  width: 2rem;
  height: 2rem;
}

.notification-settings {
  width: 100%;
}

.share-btn-text {
  margin: 0;
}

.small-screen-status {
  display: none;
}

.order-number {
  margin: 0;
  font-size: 14px;
  color: #6b7280 !important;
}

.expected-date-text {
  font-size: var(--font-size-sm);
  margin: 0;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .favorite-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  /* dashboards styles */
  .search-wrapper {
    width: 100%;
    min-width: 100%;
  }

  .modal-content {
    max-width: 90% !important;
    width: 90% !important;
  }

  .dashboard-nav-container .nav-menu {
    gap: 1rem;
    padding: 0 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .nav-button {
    flex-shrink: 0;
  }

  .products-header .action-buttons,
  .products-header {
    flex-direction: column;
    width: 100%;
  }

  .filter-list {
    overflow-x: scroll;
  }

  /* product filter styles */
  .filter-opt .filter-group {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-opt .filter-dropdown-content {
    left: 0;
    right: 0;
    min-width: unset;
    max-width: 100%;
    width: 100vw;
    position: fixed;
    top: auto;
    bottom: 0;
    border: 12px 12px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    gap: 1rem;
  }

  .filter-group > div {
    gap: 0.5rem;
  }

  .filter-section {
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
  }

  .rating-breakdown .rating-process .rating-bar {
    width: 61%;
  }

  .purchase-item-container {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .purchase-status .status-icon {
    flex-direction: row-reverse;
    align-items: center;
    gap: 5rem;
  }

  .status-text i {
    padding: 2px;
  }

  .expected-date-text {
    font-size: 12px;
    color: #6b7280 !important;
  }

  .purchase-status {
    display: none;
  }

  .purchase-status-container {
    width: 100%;
  }

  .purchase-controls {
    justify-content: center;
  }

  .purchase-item .product-container {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
  }

  .small-screen-status {
    display: flex;
    width: 100%;
  }

  .product-container-inner {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1rem;
  }

  .share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 4px;
  }

  .profile-section {
    max-width: 100% !important;
    width: 100%;
  }

  .profile-section label {
    font-size: 12px;
  }

  #name-infor {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .wrapper-row {
    gap: 3rem;
  }

  .share-btn i {
    font-size: 1.2rem;
  }

  /* Review */

  .review-wrapper .rating-container {
    gap: 0.5rem;
  }

  .trade-request,
  .sell-to-us,
  .list-products,
  .filter-dropdown,
  .search-bar {
    width: 100%;
  }

  .products-overview {
    grid-template-columns: repeat(1, 1fr);
  }

  .filter-list {
    gap: 1rem;
    overflow-x: auto;
  }

  .products-header button {
    width: 100%;
  }

  .products-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .purchases-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .purchases-header .purchases-controls {
    flex-direction: column;
    width: 100%;
  }

  .filter-controls {
    width: 100%;
  }

  .filter-button {
    width: 100%;
    justify-content: center;
  }

  .purchase-type-list {
    overflow-x: auto;
    gap: 0.5rem;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .filter-opt .filter-dropdown-content {
    left: 0;
    right: 0;
    min-width: unset;
    max-width: 100%;
    width: 100vw;
    position: fixed;
    top: auto;
    bottom: 0;
    border: 12px 12px 0 0;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    gap: 1rem;
  }


  .modal-content {
    max-width: 90% !important;
    width: 90% !important;
  }

  /* Reply Card */
  .reply-card .user-info .user-review-img {
    width: 32px;
    height: 32px;
  }

  .reply-card {
    margin-left: 1rem;
  }

  .reply-card .user-info .username {
    margin-bottom: 0;
    font-size: 12px;
  }

  .seller-badge {
    font-size: 12px;
  }

  .reply-card .rating-timestamp {
    font-size: 12px;
  }

  .reply-card .reply-dropdown-content {
    right: 15rem;
  }

  .mobile-view {
    display: none;
  }

  .desktop-view {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
  }

  .product-section {
    display: flex;
    gap: 1rem;
  }

  .product-section img {
    width: 6rem;
    height: 6rem;
  }

  .status-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
  }

  .purchase-type-list {
    overflow-x: auto;
    gap: 0.5rem;
  }

  #name-infor {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Recent Activity */
  .view-all-activity {
    max-width: 350px;
    max-height: 35vh;
  }

  .activity-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Reply Form */
  .review__reply {
    margin-left: var(--review-spacing-base); /* Less indent on mobile */
  }

  .reply-controls {
    flex-direction: column-reverse; /* Stack buttons on mobile */
    width: 100%;
  }

  .reply-controls button {
    width: 100%; /* Full width buttons on mobile */
  }
  /* Purchases */

  .purchase-status {
    align-items: flex-start;
    border-top: 1px solid var(--gray-200);
    padding-top: var(--spacing-md);
    margin-top: var(--spacing-md);
  }

  .purchases-header {
    flex-direction: column;
    align-items: stretch;
    gap: var(--spacing-md);
  }

  .purchases-header .purchases-controls {
    flex-direction: column;
    width: 100%;
  }

  .purchases-search {
    width: 100%;
  }

  .purchases-search input {
    width: 100%;
    min-width: 0;
  }

  .filter-button {
    width: 100%;
    justify-content: center;
  }

  .purchase-type {
    overflow-x: auto;
    padding-bottom: var(--spacing-md);
  }

  .frequency-options {
    flex-direction: column;
    gap: var(--spacing-md);
  }

  .notification-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-md);
  }

  .item-content {
    width: 100%;
  }
  .filter-list {
    gap: 1rem;
    overflow-x: auto;
  }

  .products-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  .w-100 {
    width: 100%;
  }

  .products-header {
    flex-direction: column;
  }

  .nav-menu {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }

  .products-overview {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Selling Styles */

  .selling-section {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Edit Bank Details */
  #edit-bank-details .edit-bank-container {
    padding: 1rem;
    max-width: 28rem;
    max-height: 100vh;
    border-radius: 0;
  }

  #edit-bank-details .edit-bank-overlay {
    padding: 0;
  }

  .card-wrapper.add-card {
    width: 100%;
    min-width: 70%;
    flex-direction: row;
  }

  .view-details-menu .details-container {
    margin: 1rem;
    padding: 1rem;
  }

  .view-details-menu .card-details {
    grid-template-columns: 1fr;
  }

  #add-card-popup {
    width: 85%; /* Reduced from 90% */
    padding: 1.25rem;
    max-height: 80vh; /* Control maximum height */
    /* overflow-y: auto; */
  }

  /* Reduce spacing */
  #add-card .input-group {
    padding: 0.3rem 0; /* Reduced from 0.5rem */
    gap: 0.5rem; /* Reduced from 1rem */
    flex-direction: row;
  }

  /* Make inputs more compact */
  #add-card input[type="text"],
  #add-card input[type="number"],
  #add-card input[type="month"] {
    padding: 0.5rem; /* Reduced from 0.75rem */
  }

  .input-group {
    flex-direction: column;
    gap: 1rem;
  }

  .margin-right {
    margin-right: 0;
  }

  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* View details popup */

  .edit-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    margin: 4px 0;
  }

  .edit-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
  }

  .expiry-inputs select {
    width: calc(50% - 5px);
  }

  textarea.edit-input {
    resize: vertical;
    min-height: 60px;
  }

  .control-button.cancel-edit {
    background-color: #dc3545;
    color: white;
  }

  .control-button.cancel-edit:hover {
    background-color: #c82333;
  }

  #view-details .details-container {
    padding: 1rem;
    margin: 1rem;
  }

  #view-details .card-details-controls {
    flex-direction: column;
  }

  #view-details .control-button {
    width: 100%;
  }

  .inner-wrapper {
    margin: 15px;
  }

  #newsletter .newstext,
  #newsletter .form {
    padding: var(--padding-medium);
  }

  #profile-inner-wrapper {
    justify-content: center;
  }

  .review-card .user-review {
    padding: 32px 0px 12px;
  }

  .rating-breakdown .rating-process .rating-bar {
    width: 273px;
  }

  .user-review {
    gap: 3.5rem;
  }

  #review-content,
  .pfp {
    width: 588px !important;
  }

  .tab {
    width: 100% !important;
    flex-direction: column;
    gap: 16px;
    padding: 30px 50px;
  }

  .nav-wrapper {
    flex-direction: column;
  }

  #left-navigation {
    width: 100%;
  }

  #left-nav-wrapper {
    width: 100%;
    height: auto;
    padding: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  #left-nav-wrapper::-webkit-scrollbar {
    display: none;
  }

  #left-nav-wrapper .tabs {
    display: flex;
    gap: 0.5rem;
  }

  .lf-wrapper li {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .profile-section {
    flex-direction: column;
    max-width: 100%;
  }

  #payments-reports,
  #cards-on-file {
    width: 450px;
  }

  #payouts,
  #wallet-balance {
    max-width: 425px;
    width: 90%;
  }

  .card-wrapper {
    width: 290px;
    flex-direction: column;
  }

  #bio-section textarea {
    width: 100%;
  }

  .dropdown-menu .stmt-wrapper {
    flex-direction: column;
  }

  .dropdown-menu a {
    padding: 8px 8rem;
  }

  .nav-wrapper {
    gap: 5rem;
  }

  .payment-wrapper {
    flex-direction: column;
    width: 450px;
  }

  .trade-request,
  .sell-to-us,
  .list-products {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Shipping Information */
  #shippingInformation .form-row {
    display: block;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .favorite-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* product filter dropdown */
  .filter-opt .filter-dropdown-content {
    left: 0;
    width: 100%;
    min-width: 60vw;
  }

  /* Reply Card */
  .reply-card .user-info .user-review-img {
    width: 32px;
    height: 32px;
  }

  .reply-card {
    margin-left: 1rem;
    padding: 1rem !important;
  }

  .review-card {
    padding: 1rem !important;
  }

  .reply-card .user-info .username {
    margin-bottom: 0;
    font-size: 12px;
  }

  .seller-badge {
    font-size: 12px;
  }

  .reply-card .rating-timestamp {
    font-size: 12px;
  }

  /* .reply-card .reply-dropdown-content {
    right: 4rem;
  } */

  /* Orders */
  .orders-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .mx-width-100 {
    max-width: 100%;
    margin: 20px 0px;
  }

  .filter-list {
    gap: 1rem;
    overflow-x: auto;
  }

  .filter-btn,
  #trade-request-btn,
  #sell-to-us-btn,
  #list-products-btn {
    width: 100%;
  }

  /* Seller Dashboard Styles */
  .dashboard {
    width: 100%;
    max-width: 95%;
  }

  /* Products Section */
  .products-overview {
    grid-template-columns: repeat(1, 1fr);
  }

  .products-header {
    flex-direction: column;
  }

  .actions-buttons button {
    width: 100%;
    justify-content: center;
  }

  .products-header .search-bar {
    width: 100%;
    flex: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Payout Modal Styles */

  .filter-payout-list .filter-payout-item {
    grid-template-columns: repeat(6, 3%);
  }

  .filter-payout-item .default-paragraph,
  .filter-payout-header {
    font-size: 12px !important;
  }

  #pfp-data,
  #profile-data,
  #shipping-data,
  #review-content {
    width: 100%;
  }

  #wallet-balance .header-wrapper {
    gap: 9rem;
  }

  .wallet-info {
    width: 100%;
    gap: 6rem;
  }

  #bio-section {
    align-items: center;
  }

  #bio-section form {
    width: 100%;
  }

  /* Review Section */

  .review-card .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .review-card .user-review {
    display: flex;
    gap: 4rem;
  }
  .review-card {
    padding: 24px 0px;
  }

  .review-card .user-review-img {
    border-radius: 24px;
  }

  .rating-breakdown {
    padding: 10px 0px;
  }

  .rating-container {
    gap: 1rem;
    display: flex;
    align-items: center;
  }

  .rating-container .rating-count {
    font-weight: 500;
    color: #6a6a6a;
  }

  .rating-breakdown .rating-process .rating-bar {
    width: 100%;
    max-width: 130px;
  }

  #newsletter .form {
    padding: var(--padding-medium);
  }

  #newsletter .newstext {
    padding: var(--padding-medium);
  }

  #left-nav-wrapper {
    min-width: 260px;
  }

  .profile-section {
    flex-direction: column;
    gap: 5px;
    max-width: 100%;
    /* margin: 10px; */
  }

  #user-stats {
    padding: 16px 10px;
    justify-content: center;
  }

  .lf-wrapper li {
    font-size: 16px;
  }

  .lf-wrapper li a {
    font-size: 24px;
  }

  .tab {
    flex-direction: column;
    /* gap: 16px; */
    padding: 14px;
    flex: 1;
  }

  #pfp-section {
    align-items: flex-start !important;
  }

  #profile-inner-wrapper {
    flex: 1;
    justify-content: center;
  }

  .section-p1 {
    padding: 0px 0px !important;
  }

  ul {
    padding: 0 !important;
  }

  .btn-wrapper {
    gap: 12px;
    display: flex;
    margin-top: 8px;
  }

  .nav-wrapper {
    gap: 1px;
  }

  .usd h1 {
    font-size: 3rem;
  }

  .payment-wrapper .inner-wrapper {
    width: 95%;
  }

  #cards-on-file {
    width: 100%;
  }

  .tab {
    width: 100%;
    min-width: 65%;
  }

  .card-wrapper.add-card {
    width: 100%;
  }

  #payments-reports {
    width: 500px;
    max-width: 100%;
  }

  .card-wrapper {
    width: 100%;
  }

  .stmt p {
    font-size: 16px;
  }

  .payment-wrapper {
    align-items: center;
    width: 100%;
    display: none;
    flex-direction: column;
  }

  #payments-reports {
    max-width: 975px;
    width: 100%;
  }

  .dropdown-menu .stmt-wrapper {
    flex-direction: column;
  }

  .dropdown-menu a {
    padding: 10px 6rem;
  }

  #bio-section textarea {
    width: 100%;
  }

  #add-card-popup {
    width: 90%;
    padding: 1.5rem;
    margin: 1rem;
  }

  .header-wrapper h2 {
    font-size: 1.25rem;
  }

  .header-wrapper p {
    font-size: 0.85rem;
  }

  #add-card .input-group {
    flex-direction: column;
    gap: 0.5rem;
  }

  #add-card input[type="text"],
  #add-card input[type="number"],
  #add-card input[type="month"] {
    padding: 0.6rem;
    font-size: 0.95rem;
  }

  .addCard-btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.95rem;
  }

  /* Search bar */
  .search-wrapper {
    width: 100%;
    min-width: 100%;
  }

  /* Tax Information */
  .tax-withholding-input {
    width: 70px !important;
  }

  .percentage-icon {
    left: 55px;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* dashboard styles */
  .search-wrapper {
    min-width: 660px;
    width: 100%;
  }

  .products-header .action-buttons {
    width: 100%;
  }

  /* product filter dropdown */
  .filter-opt .filter-dropdown-content {
    left: 0;
    width: 100%;
    min-width: 50vw;
  }

  .orders-container {
    grid-template-columns: repeat(2, 1fr);
  }

  #user-stats {
    gap: 8rem;
  }

  .profile-section {
    max-width: 100%;
  }

  .products-header {
    flex-direction: column;
  }

  #trade-request-btn,
  #sell-to-us-btn,
  #list-products-btn {
    width: 100%;
  }

  /* Selling Styles */
  .selling-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  #wallet-balance .header-wrapper {
    gap: 4rem;
  }

  .section-p1 {
    padding: 0px 0px !important;
  }

  .payment-wrapper {
    width: 100%;
  }
  .inner-wrapper {
    width: 100%;
  }

  .tab {
    width: 75%;
  }

  #bio-section {
    align-items: center;
  }

  #bio-section textarea,
  #review-content,
  .pfp {
    width: 100%;
  }
}
/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .selling-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .rating-breakdown .rating-process .rating-bar {
    width: 70%;
  }

  .profile-section label {
    font-size: 18px;
  }

  #wallet-balance .header-wrapper {
    gap: 7rem;
  }

  .wallet-info {
    gap: 15rem;
  }
}
/* ---------- Seller dashboard: products toolbar (Filter + List an item) ----------
   Kept last so it wins over the older stacked-column rules for
   .products-header / .action-buttons / .list-products in the media queries
   above. Root bug: #list-products-btn was laid out inline, so its padding
   spilled out of its 20px-tall wrapper and overlapped the Filter button on
   phones. Both buttons now share one height and are true flex boxes. */

.products-header .action-buttons {
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 12px;
}

.products-header .filter-btn,
#list-products-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.products-header .filter-btn {
  color: var(--color-text-primary, #070707);
}

#list-products-btn {
  /* Brand red from global.css; --primary-red is redefined to #ef4444
     further up this file. */
  background-color: var(--color-button-primary, #f30c1e) !important;
  text-decoration: none;
  transition: background-color 0.2s;
}

#list-products-btn:hover {
  background-color: #b91c1c !important;
}

#list-products-btn:focus-visible,
.products-header .filter-btn:focus-visible {
  outline: 2px solid var(--color-text-primary, #070707);
  outline-offset: 2px;
}

/* Phones: one row -- Filter on the left, the primary action filling the rest
   of the row on the right (thumb side). */
@media (max-width: 767.98px) {
  .products-header .action-buttons {
    flex-direction: row;
    width: 100%;
  }

  .products-header .filter-opt,
  .products-header .filter-data-container {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
  }

  .products-header .filter-btn {
    width: auto;
  }

  .products-header .list-products {
    display: flex;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }

  #list-products-btn {
    width: 100%;
  }
}
