/* Trade Up Frontend Styles */
:root {
    --tradeup-yellow: #ff6900;
    --tradeup-green: #32CD32;
    --tradeup-purple: #9932CC;
    --tradeup-dark: #000000;
    --tradeup-light: #f8f9fa;
	--header-font-family: "OPTIChampionBold", helvetica, arial, sans-serif;



  --yellow: #ff6900;
  --pink: #ff3cbe;
  --grey-light: #f2f2f8;
  --grey-mid: #aaaab4;
  --red: #ff8c73;
  --critical: #ff8c73;
  --green: #8ce6a0;
  --success: #8ce6a0;
  /* --green: #003746; */
  --white: #fff;
  --black: #000;
  --charcoal: #000;
  --spacer: 24px;
  --spacer-mobile: 16px;
  --gutter-mobile: 16px;
  --gutter-tablet-desktop: 24px;
  --z-index-bottom: 1;
  --z-index-low: 300;
  --z-index-medium: 500;
  --z-index-high: 700;
  --z-index-top: 900;
  /** Transitions **/
  --lazy-load-in: 0.2s ease all;
  --lazy-load-out: 0.2s ease all;
  
  --mobile: 600px;
  --mobile-xl: 1024px;
  --tablet: 122.222rem;
  --laptop: 122.222rem;
  --desktop: 1584px;
  --max-width: 1280px;
  --tile-image: 282/182;
  
  /** Fonts **/

  --primary-font-family: 'Union', helvetica, arial, sans-serif;
  --header-font-family: 'OPTIChampionBold', helvetica, arial, sans-serif;
  --header-font-family-alt: 'LC-Display', helvetica, arial, sans-serif;
  --header-font-family-serif: 'LC-Serif Condensed', helvetica, arial, sans-serif;

  /* Font/text values */
  --text-transform-uppercase: uppercase;
  --body-font-size: 1rem/1.375rem;
  --footer-font-size: 0.777rem/1.111rem;
}

@font-face {
  font-family: LC-Display;
  src: url(/app/themes/citb-trade-up/dist/fonts/LC-Display-Bold_f492cc21.eot);
  src: url(/app/themes/citb-trade-up/dist/fonts/LC-Display-Bold_f492cc21.eot?#iefix)
      format('embedded-opentype'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Display-Bold_5d2a71b7.woff2)
      format('woff2'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Display-Bold_e77b7d22.woff)
      format('woff'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Display-Bold_8db067f9.ttf)
      format('truetype'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Display-Bold_a7aa02fa.svg#LC-Display-Bold)
      format('svg');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: LC-Serif Condensed;
  src: url(/app/themes/citb-trade-up/dist/fonts/LC-Serif-Condensed_620f1625.eot);
  src: url(/app/themes/citb-trade-up/dist/fonts/LC-Serif-Condensed_620f1625.eot?#iefix)
      format('embedded-opentype'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Serif-Condensed_c33ba04f.woff2)
      format('woff2'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Serif-Condensed_9f4d1318.woff)
      format('woff'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Serif-Condensed_d4c1515b.ttf)
      format('truetype'),
    url(/app/themes/citb-trade-up/dist/fonts/LC-Serif-Condensed_fefa6eba.svg#LC-Serif-Condensed)
      format('svg');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'OPTIChampionBold';
  src: url('/wp-content/plugins/trade-up/assets/fonts/OPTIChampionBold.woff2') format('woff2'),
       url('/wp-content/plugins/trade-up/assets/fonts/OPTIChampionBold.woff') format('woff');
       /* url('/fonts/OPTIChampionBold.otf') format('opentype'); */
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Union Font Family - Body Text */
@font-face {
  font-family: Union;
  src: url('/wp-content/plugins/trade-up/assets/fonts/Union-Regular.woff2') format('woff2'),
       url('/wp-content/plugins/trade-up/assets/fonts/Union-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Union;
  src: url('/wp-content/plugins/trade-up/assets/fonts/Union-Bold.woff2') format('woff2'),
       url('/wp-content/plugins/trade-up/assets/fonts/Union-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Character Styles */
h1 {
  font-family: var(--header-font-family);
  font-weight: 400;
  font-size: 2.444rem;
  line-height: 2.666rem;
  color: var(--black);
  text-transform: uppercase;
}

@media (max-width: 1024px) {
  h1 {
    font-size: 1.888rem;
    line-height: 2.111rem;
  }
}

h2 {
  font-family: var(--header-font-family);
  font-weight: 400;
  font-size: 2rem;
  line-height: 2.222rem;
  text-transform: uppercase;
  color: var(--black);
}

@media (max-width: 1024px) {
  h2 {
    font-size: 1.777rem;
    line-height: 2.111rem;
  }
}

h3 {
  font-family: var(--header-font-family);
  font-weight: 400;
  font-size: 1.777rem;
  line-height: 2.222rem;
  text-transform: uppercase;
  color: var(--black);
}

@media (max-width: 1024px) {
  h3 {
    font-size: 1.555rem;
    line-height: 1.777rem;
  }
}

h4 {
  font-family: var(--header-font-family);
  font-weight: 700;
  font-size: 1.444rem;
  line-height: 1.555rem;
  text-transform: uppercase;
  color: var(--black);
}

@media (max-width: 1024px) {
  h4 {
    font-size: 1.222rem;
    line-height: 1.333rem;
  }
}

h5 {
  font-family: var(--primary-font-family);
  font-weight: 600;
  color: var(--black);
}

h6 {
  font-family: var(--primary-font-family);
  font-weight: 600;
  color: var(--black);
  text-transform: uppercase;
}

.subheading {
  font-family: var(--header-font-family-serif);
  font-size: 2.666rem;
  line-height: 2.666rem;
}

@media (max-width: 1024px) {
  .subheading {
    font-size: 1.888rem;
    line-height: 2.111rem;
  }
}

.subtitle {
  font-family: var(--primary-font-family);
  font-size: 0.888rem;
  line-height: 1.222rem;
  color: var(--black);
}

.body {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.333rem;
  color: var(--black);
}

.caption {
  font-family: var(--primary-font-family);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.111rem;
  color: var(--black);
  margin-bottom: 1rem;
}

* {
  font-family: var(--primary-font-family);
  font-size: var(--font-size-root);
  line-height: 1.375rem;
}

.top_section {
	display: flex;
	flex-direction: column;
}

/* Button Styles */
.site_button,
.site_button_secondary {
  display: inline-flex;
  padding: 5px 12px;
  transition: 0.2s ease all;
  text-decoration: none;
  text-transform: uppercase;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  background: var(--yellow);
  border-radius: 24px;
  border: 1.5px solid var(--yellow);
  box-shadow: none;
  text-shadow: none;
  margin-bottom: 0;
  font-weight: 600;
}

.site_button:hover,
.site_button_secondary:hover {
  transition: 0.2s ease all;
  cursor: pointer;
}

.site_button:disabled,
.site_button_secondary:disabled {
  opacity: 0.5;
}

.site_button span,
.site_button_secondary span {
  font: normal normal 600 14px/18px var(--primary-font-family);
  text-transform: uppercase;
  transition: 0.2s ease all;
  margin-right: 0;
  position: relative;
  z-index: 10;
  margin-top: 2px;
}

.site_button svg,
.site_button_secondary svg {
  margin-left: 8px;
  width: 20px;
}

/* Light Button Variant */
.site_button.light span,
.site_button_secondary.light span {
  color: var(--black);
}

.site_button.light svg line,
.site_button_secondary.light svg line {
  stroke: var(--black);
}

.site_button.light svg.download path,
.site_button_secondary.light svg.download path {
  fill: var(--black);
}

.site_button.light #Play_icon path,
.site_button_secondary.light #Play_icon path {
  stroke: none;
}

@media (hover: hover) {
  .site_button.light:hover,
  .site_button.light:focus,
  .site_button.light:active,
  .site_button_secondary.light:hover,
  .site_button_secondary.light:focus,
  .site_button_secondary.light:active {
    background: var(--black);
    border: 1.5px solid var(--black);
  }

  .site_button.light:hover span,
  .site_button.light:focus span,
  .site_button.light:active span,
  .site_button_secondary.light:hover span,
  .site_button_secondary.light:focus span,
  .site_button_secondary.light:active span {
    color: var(--white);
  }

  .site_button.light:hover svg g,
  .site_button.light:focus svg g,
  .site_button.light:active svg g,
  .site_button_secondary.light:hover svg g,
  .site_button_secondary.light:focus svg g,
  .site_button_secondary.light:active svg g {
    stroke: var(--white);
  }

  .site_button.light:hover svg path,
  .site_button.light:focus svg path,
  .site_button.light:active svg path,
  .site_button_secondary.light:hover svg path,
  .site_button_secondary.light:focus svg path,
  .site_button_secondary.light:active svg path {
    stroke: var(--white);
  }

  .site_button.light:hover svg line,
  .site_button.light:focus svg line,
  .site_button.light:active svg line,
  .site_button_secondary.light:hover svg line,
  .site_button_secondary.light:focus svg line,
  .site_button_secondary.light:active svg line {
    stroke: var(--white);
  }

  .site_button.light:hover svg.download path,
  .site_button.light:focus svg.download path,
  .site_button.light:active svg.download path,
  .site_button_secondary.light:hover svg.download path,
  .site_button_secondary.light:focus svg.download path,
  .site_button_secondary.light:active svg.download path {
    fill: var(--white);
  }

  .site_button.light:hover #Play_icon path,
  .site_button.light:focus #Play_icon path,
  .site_button.light:active #Play_icon path,
  .site_button_secondary.light:hover #Play_icon path,
  .site_button_secondary.light:focus #Play_icon path,
  .site_button_secondary.light:active #Play_icon path {
    stroke: var(--white);
  }
}

/* Dark Button Variant */
.site_button.dark,
.site_button_secondary.dark {
  border: 1.5px solid var(--yellow);
  background-color: var(--black);
}

.site_button.dark span,
.site_button_secondary.dark span {
  color: var(--yellow);
}

.site_button.dark svg path,
.site_button_secondary.dark svg path {
  stroke: var(--yellow);
}

.site_button.dark svg line,
.site_button_secondary.dark svg line {
  stroke: var(--yellow);
}

.site_button.dark svg.download path,
.site_button_secondary.dark svg.download path {
  fill: var(--yellow);
}

@media (hover: hover) {
  .site_button.dark:hover,
  .site_button.dark:focus,
  .site_button.dark:active,
  .site_button_secondary.dark:hover,
  .site_button_secondary.dark:focus,
  .site_button_secondary.dark:active {
    background: var(--yellow);
    border: 1.5px solid var(--black);
  }

  .site_button.dark:hover span,
  .site_button.dark:focus span,
  .site_button.dark:active span,
  .site_button_secondary.dark:hover span,
  .site_button_secondary.dark:focus span,
  .site_button_secondary.dark:active span {
    color: var(--black);
  }

  .site_button.dark:hover svg path,
  .site_button.dark:focus svg path,
  .site_button.dark:active svg path,
  .site_button_secondary.dark:hover svg path,
  .site_button_secondary.dark:focus svg path,
  .site_button_secondary.dark:active svg path {
    stroke: var(--black);
  }

  .site_button.dark:hover svg line,
  .site_button.dark:focus svg line,
  .site_button.dark:active svg line,
  .site_button_secondary.dark:hover svg line,
  .site_button_secondary.dark:focus svg line,
  .site_button_secondary.dark:active svg line {
    stroke: var(--black);
  }

  .site_button.dark:hover svg.download path,
  .site_button.dark:focus svg.download path,
  .site_button.dark:active svg.download path,
  .site_button_secondary.dark:hover svg.download path,
  .site_button_secondary.dark:focus svg.download path,
  .site_button_secondary.dark:active svg.download path {
    fill: var(--black);
  }
}

/* Secondary Button Override */
.site_button_secondary {
  border: 1.5px solid var(--black);
  background: transparent;
}

.site_button_secondary:hover {
  background: var(--black);
  color: white;
}

/* High-specificity overrides for TradeUp plugin buttons to prevent theme conflicts */
.trade-up-account-manager .site_button_secondary.light,
#password-form .site_button_secondary.light,
.trade-up-opportunities .site_button_secondary.light,
#trade-up-filter-reset.site_button_secondary.light,
#trade-up-load-more.site_button_secondary.light {
    background: transparent !important;
    background-color: transparent !important;
    border: 1.5px solid var(--black) !important;
    border-color: var(--black) !important;
    border-radius: 24px !important;
    color: var(--black) !important;
    padding: 5px 12px !important;
    display: inline-flex !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

/* Hover, focus, and active states */
.trade-up-account-manager .site_button_secondary.light:hover,
.trade-up-account-manager .site_button_secondary.light:focus,
.trade-up-account-manager .site_button_secondary.light:active,
#password-form .site_button_secondary.light:hover,
#password-form .site_button_secondary.light:focus,
#password-form .site_button_secondary.light:active,
.trade-up-opportunities .site_button_secondary.light:hover,
.trade-up-opportunities .site_button_secondary.light:focus,
#trade-up-filter-reset.site_button_secondary.light:hover,
#trade-up-filter-reset.site_button_secondary.light:focus,
#trade-up-load-more.site_button_secondary.light:hover,
#trade-up-load-more.site_button_secondary.light:focus {
    background: var(--black) !important;
    background-color: var(--black) !important;
    border-color: var(--black) !important;
    color: var(--white) !important;
}

/* Nested span elements in buttons */
.trade-up-account-manager .site_button_secondary.light span,
#password-form .site_button_secondary.light span,
.trade-up-opportunities .site_button_secondary.light span {
    color: var(--black) !important;
}

.trade-up-account-manager .site_button_secondary.light:hover span,
.trade-up-account-manager .site_button_secondary.light:focus span,
#password-form .site_button_secondary.light:hover span,
#password-form .site_button_secondary.light:focus span,
.trade-up-opportunities .site_button_secondary.light:hover span,
.trade-up-opportunities .site_button_secondary.light:focus span {
    color: var(--white) !important;
}

/* Featured Bottom Special Case */
.featured-bottom a.site_button.dark span {
  color: var(--black);
}

.featured-bottom a.site_button.dark:hover {
  background-color: var(--black) !important;
}

.featured-bottom a.site_button.dark:hover span {
  color: var(--white);
}

.trade-up-opportunities {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}

/* Search and Region Section */
.trade-up-search-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    margin-bottom: 15px;
}

.opportunity-search {
    flex: 1;
    min-width: 200px;
}

.opportunity-search label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tradeup-dark);
    font-size: 14px;
}

.opportunity-search input[type="text"] {
    width: 100%;
    padding: 4px 6px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.opportunity-search input[type="text"]:focus {
    outline: none;
    border-color: var(--tradeup-yellow);
}

.region-inline {
    flex: 1;
    min-width: 200px;
}

.region-inline label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tradeup-dark);
    font-size: 14px;
}

.region-inline select {
    width: 100%;
    padding: 4px 6px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.region-inline select:focus {
    outline: none;
    border-color: var(--tradeup-yellow);
}


.desktop-only {
display: block;
}

.mobile-only {
display: none;
}


/* Mobile - hide grid, show dropdown */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
	margin-bottom: 15px;
  }
  
  .trades-dropdown-container {
    margin-bottom: 15px;
  }
  
  .trades-dropdown {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
    font-family: var(--primary-font-family);
  }
  
  .trades-dropdown:focus {
    outline: none;
    border-color: var(--tradeup-yellow, #ffd700);
  }
}

.region-inline select:focus {
    outline: none;
    border-color: var(--tradeup-yellow);
}

/* Filters Section */
.trade-up-filters-section {
    margin-bottom: 30px;
}

/* Creative Trades Filter */
.trades-filter-section {
    margin-bottom: 25px;
}

.trades-filter-section h4 {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: var(--tradeup-dark);
    font-size: 16px;
}

.trades-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 12px;
    background: var(--black);
    padding: 17px;
    border-radius: 12px;
	margin-bottom: 15px;
}

.trade-filter-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    font-size: 12px;
}

.trade-filter-btn:hover {
    border-color: var(--yellow);
	color: var(--yellow);
}

.trade-filter-btn.selected {
    background: transparent;
    color: var(--yellow);
    border-color: var(--yellow);
}

.trade-icon-container {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.trade-icon-container svg {
    width: 100%;
    height: 100%;
    fill: white;
    transition: fill 0.3s ease;
}

.trade-filter-btn.selected .trade-icon-container svg {
    fill: var(--tradeup-yellow);
}

.trade-name {
    text-align: left;
    line-height: 1.2;
    font-size: 14px;
}

/* Clear All Button */
.clear-all-btn {
    display: inline-flex;
    padding: 5px 12px;
    transition: 0.2s ease all;
    text-decoration: none;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--orange);
    border-radius: 24px;
    border: 1.5px solid var(--orange);
    color: white;
    cursor: pointer;
    font: normal normal 600 14px/18px var(--primary-font-family);
    box-shadow: none;
    text-shadow: none;
    margin-bottom: 0;
}

.clear-all-btn:hover {
    background: var(--red);
    border-color: var(--red);
    transition: 0.2s ease all;
}

.trade-up-main {
    width: 100%;
}

/* Sidebar Filters */
.trade-up-sidebar {
    width: 280px;
    background: transparent;
    padding: 5px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 16px;
    color: var(--tradeup-dark);
    font-weight: 600;
}

.close-sidebar {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    color: #666;
}

.sidebar-section {
    margin-bottom: 20px;
}

.sidebar-section label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--tradeup-dark);
}

.sidebar-section h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tradeup-dark);
}

.sidebar-section input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.sidebar-section input[type="text"]:focus {
    outline: none;
    border-color: var(--tradeup-orange);
}

/* Checkbox Lists */
.checkbox-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.checkbox-small {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    line-height: 1.3;
    padding: 1px 0;
    gap: 6px;
}

.checkbox-small input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 12px;
    height: 12px;
    border: 1px solid #ccc;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-small input:checked + .checkmark {
    background: var(--tradeup-yellow);
    border-color: var(--tradeup-yellow);
}

.checkbox-small input:checked + .checkmark::after {
    content: '✓';
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.label-text {
    color: #555;
    font-size: 13px;
}

.checkbox-small:hover .checkmark {
    border-color: var(--tradeup-yellow);
}

.checkbox-small:hover .label-text {
    color: var(--tradeup-dark);
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    background: var(--tradeup-yellow);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
    position: relative;
}

.filter-count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-size: 12px;
}

/* Loading state */
.trade-up-loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.trade-up-loading p {
    margin: 0;
    font-size: 18px;
}

/* Opportunities list */
.trade-up-list {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.trade-up-list.layout-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.trade-up-list.layout-list {
    grid-template-columns: 1fr;
}

/* Opportunity cards */
.opportunity-card {
    background: white;
    /* border: 1px solid var(--tradeup-yellow); */
    border-radius: 20px;
    padding: 20px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.opportunity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.opportunity-header {
    margin-bottom: 15px;
}

.opportunity-title {
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 15px;
}

.opportunity-content {
    flex-grow: 1; /* Allow content to grow and push footer to bottom */
}

/* Trade Icons Section - Inline at bottom before CTAs */
.trade-icons-section {
    padding: 15px 20px 0;
    margin: 0;
    min-height: 70px; /* Minimum height for single row */
    display: flex;
    align-items: flex-end; /* Align to bottom */
}

.trade-icons-section .trade-icons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start; /* Keep icons aligned to start of their container */
}

.trade-icon-card {
    width: 50px;
    height: 50px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: transform 0.2s ease;
}

.trade-icon-card svg {
    width: 40px;
    height: 40px;
    fill: var(--orange);
    transition: fill 0.3s ease;
}

.trade-icon-card:hover {
    transform: scale(1.05);
}

.trade-icon-card:hover svg {
    fill: var(--tradeup-purple);
}

/* Trade Icon Tooltips */
.trade-icon-card .tooltip {
    visibility: hidden;
    background-color: var(--black);
    color: white;
    text-align: center;
    border-radius: 4px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    font-family: var(--primary-font-family);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.trade-icon-card .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--black) transparent transparent transparent;
}

.trade-icon-card:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1024px) {
  .opportunity-title {
    font-size: 2rem;
    line-height: 2.3rem;
  }
}
/* 
.opportunity-header h3 {
  font-family: var(--header-font-family);
  font-weight: 700;
  text-transform: uppercase;
} */


.opportunity-footer a {
  color: var(--black);
  font: normal normal 700 14px/20px var(--primary-font-family);
  text-decoration: none;
  position: relative;
  text-transform: uppercase;
}

.opportunity-footer a::after{
  content: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24.435' height='13.435' viewBox='0 0 24.435 13.435'%3E%3Cg fill='none' stroke='%23ff6900' stroke-width='3'%3E%3Cpath d='M16.657 1.061l5.657 5.657-5.657 5.657'/%3E%3Cpath data-name='Line 238' d='M22.5 6.845H0'/%3E%3C/g%3E%3C/svg%3E");
  margin-left: 8px;
  /* position: absolute; */
  top: 1px;
}

/* Bookmark button styling - overrides site button colors */
.site_button.bookmark-btn {
    background: black !important;
    border: 2px solid black !important;
    color: white !important;
}

.site_button.bookmark-btn:hover {
    background: #333 !important;
    border-color: #333 !important;
    color: white !important;
}

.site_button.bookmark-btn.bookmarked {
    background: black !important;
    border: 2px solid var(--tradeup-yellow) !important;
    color: var(--tradeup-yellow) !important;
}

.site_button.bookmark-btn.bookmarked:hover {
    background: #333 !important;
    border-color: var(--tradeup-yellow) !important;
    color: var(--tradeup-yellow) !important;
}

.opportunity-description {
    /* color: #666; */
    /* line-height: 1.6; */
    /* margin-bottom: 15px; */

	color: var(--black);
  	margin: 0;
  	font: var(--primary-font-family);
	font-size: var(--body-font-size);

}

.opportunity-meta {
    margin-bottom: 20px;
}

.meta-item {
	display: flex;
	flex-direction: column;
    margin-bottom: 8px;
    font-size: 14px;
}

.meta-item strong {
    color: #333;
    margin-right: 5px;
}

.meta-item span {
    color: #666;
}

/* Load more */
#trade-up-load-more-container {
    text-align: center;
    margin-top: 30px;
}
.trade-up-load-more {
    display: inline-flex;
    padding: 5px 12px;
    transition: 0.2s ease all;
    text-decoration: none;
    text-transform: uppercase;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--orange);
    border-radius: 24px;
    border: 1.5px solid var(--orange);
    color: white;
    cursor: pointer;
    font: normal normal 600 14px/18px var(--primary-font-family);
    box-shadow: none;
    text-shadow: none;
    margin-bottom: 0;
}

.trade-up-load-more:hover {
    background: var(--red);
    border-color: var(--red);
    transition: 0.2s ease all;
}

/* No results */
.no-opportunities {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-opportunities p {
    font-size: 18px;
    margin: 0;
}

/* Single opportunity page */
.trade-up-single-opportunity {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.opportunity-detail {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.opportunity-detail .opportunity-header {
    background: #f8f9fa;
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.opportunity-detail .opportunity-header h1 {
    margin: 0;
    font-size: 28px;
    color: #333;
}



.opportunity-content h2 {
    color: #333;
    border-bottom: 2px solid #007cba;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.description-content {
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

.details-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 4px;
    border-left: 4px solid #007cba;
}

.detail-item strong {
    display: block;
    color: #333;
    margin-bottom: 5px;
}

.contact-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.contact-item {
    margin-bottom: 15px;
}

.contact-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-btn {
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
}

/* Contact buttons now use site_button classes */

.opportunity-navigation {
    margin-top: 30px;
    text-align: center;
}

.back-link {
    color: #007cba;
    text-decoration: none;
    font-size: 16px;
}

.back-link:hover {
    text-decoration: underline;
}

/* Dashboard */
.trade-up-dashboard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.stat-box h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #007cba;
    margin: 0;
}

.stat-status {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.stat-status.active {
    color: #28a745;
}

.dashboard-bookmarks {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-bookmarks h3 {
    margin: 0 0 20px 0;
    color: #333;
}

.bookmarks-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.bookmark-item {
    padding: 20px;
    /* border: 1px solid #e0e0e0; */
    border-radius: 8px;
    transition: box-shadow 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bookmark-item:hover {
	background-color: color-mix(in srgb, var(--yellow) 95%, black);
	/* background-color: var(--yellow); */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.bookmark-item h4 {
    margin: 0 0 10px 0;
}

.bookmark-item h4 a {
    color: #007cba;
    text-decoration: none;
}

.bookmark-item h4 a:hover {
    text-decoration: underline;
}

.bookmark-item p {
    color: #666;
    margin: 0 0 10px 0;
}

.bookmark-meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #888;
}

.helloword {
	display: flex;
	flex-direction: row;
}

.no-bookmarks {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Login and registration forms */
.trade-up-login-required,
.trade-up-terms-required {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.trade-up-registration-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.form-actions {
    margin-top: 30px;
    text-align: center;
}

.terms-content {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    text-align: left;
}

/* Responsive design */
@media (max-width: 768px) {

	.trade-up-search-section {
        flex-direction: column;
    }
    
    .opportunity-search,
    .region-inline {
        width: 100%;
        min-width: 100%;
    }

    .trade-up-opportunities {
        padding: 15px;
    }

    .trade-up-layout {
        flex-direction: column;
        gap: 0;
    }

    .trade-up-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        z-index: 1000;
        transition: left 0.3s ease;
        border-radius: 0;
        overflow-y: auto;
        padding: 20px;
        max-height: none;
    }

    .trade-up-sidebar.sidebar-open {
        left: 0;
    }

    .sidebar-header .close-sidebar {
        display: block;
    }

    .mobile-filter-toggle {
        display: inline-block;
        width: 100%;
        text-align: center;
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .trade-up-list.layout-grid {
        grid-template-columns: 1fr;
    }

    .trade-icons-section .trade-icons-row {
        grid-template-columns: repeat(auto-fill, minmax(45px, 1fr));
        gap: 10px;
    }
    
    .trade-icon-card {
        width: 45px;
        height: 45px;
    }
    
    .trade-icon-card svg {
        width: 35px;
        height: 35px;
    }

	

    /* .opportunity-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    } */

    /* .trade-icons-row {
        justify-content: center;
		fill: none;
    } */

    .contact-actions {
        flex-direction: column;
    }

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

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .bookmark-meta {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .trade-up-opportunities,
    .trade-up-single-opportunity,
    .trade-up-dashboard {
        padding: 10px;
    }

    .opportunity-detail .opportunity-header,
    .opportunity-content {
        padding: 0px;
    }

    .trade-up-search input {
        font-size: 16px; /* Prevent zoom on iOS */
    }

	.opportunity-footer {
		flex-direction: column;
		align-items: stretch;
		gap: 15px;
	}
	
}

/* Accessibility improvements */
.button:focus,
.contact-btn:focus {
    outline: 2px solid var(--tradeup-yellow);
    outline-offset: 2px;
}

.opportunity-card:focus-within {
    box-shadow: 0 0 0 2px var(--tradeup-yellow);
}

/* Full-Screen Modal Styles */
.trade-up-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;

}

.trade-up-modal.show {
    opacity: 1;
}

.trade-up-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--yellow);
    cursor: pointer;
}

.trade-up-modal-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow-y: auto;
    padding: 40px;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.trade-up-modal.show .trade-up-modal-content {
    transform: translateY(0);
}

.trade-up-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--black);
    border: 1.5px solid var(--black);
    border-radius: 50%;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-weight: bold;
}

.trade-up-modal-close:hover {
    background: var(--white);
    color: var(--black);
    transform: scale(1.1);
}

.opportunity-details {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 40px 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.opportunity-details h2 {
    font-family: var(--header-font-family);
    margin: 0 0 30px 0;
    font-size: 3rem;
    color: var(--black);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .opportunity-details h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
}

.opportunity-details .opportunity-description {
    margin-bottom: 40px;
}

.opportunity-details .opportunity-description h3 {
    font-family: var(--header-font-family);
    font-size: 1.777rem;
    color: var(--black);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.opportunity-details .opportunity-description p {
    font-family: var(--primary-font-family);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--black);
    margin-bottom: 20px;
}

.opportunity-meta {
    margin-bottom: 15px;
}

.opportunity-meta p {
    margin: 0 0 12px 0;
    font-size: 16px;
    line-height: 1.5;
}

.opportunity-meta p:last-child {
    margin-bottom: 0;
}

.opportunity-meta strong {
    color: #32373c;
    font-weight: 600;
    display: inline-block;
    min-width: 120px;
	font-size: var(--body-font-size)
}

.opportunity-description {
    margin-bottom: 30px;
}

.opportunity-description h3 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #32373c;
    font-weight: 600;
}

.opportunity-description p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 0;
}

.opportunity-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}


.opportunity-actions .btn {
    padding: 6px 12px;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
}

.opportunity-actions .btn-primary {
    background: var(--tradeup-green);
    color: white;
}

.opportunity-actions .btn-primary:hover {
    background: var(--tradeup-purple);
    color: white;
}

.opportunity-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.opportunity-actions .btn-secondary:hover {
    background: #5a6268;
    color: white;
}


/* Card Footer with Buttons */
.opportunity-footer {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    min-height: 40px;
}

.trade-icons-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trade-icon-small {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
	object-fit: contain;
	padding: 2px;
	background: transparent;
}

.trade-icon-small svg {
    width: 100%;
    height: 100%;
    /* fill: var(--orange); */
    transition: fill 0.3s ease;
}

.opportunity-footer .trade-icon-small svg {
    fill: var(--orange) !important;
}

.trade-icon-small:hover svg {
    fill: var(--tradeup-purple);
}

.trade-icon-small:hover svg {
    fill: var(--tradeup-purple);
}

/* Trade Icon Tooltips */
.trade-icon-small .tooltip {
    visibility: hidden;
    background-color: var(--green);
    color: white;
    text-align: center;
    border-radius: 4px;
    padding: 6px 10px;
    position: absolute;
    z-index: 1000;
    bottom: 100%;
    left: 50%;
    margin-left: -50px;
    width: 100px;
    font-size: 11px;
    opacity: 0;
    transition: opacity 0.3s;
}

.trade-icon-small .tooltip::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--tradeup-dark) transparent transparent transparent;
}

.trade-icon-small:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

/* Updated button styles - flat black */
.button,
.opportunity-actions .button {
    background: var(--black);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover, 
.opportunity-actions .button:hover {
    background: #222222;
    color: white;
}

/* Updated filter styles */
.trade-up-filters {
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.trade-up-search input {
    width: 100%;
    max-width: 400px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.trade-up-search input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.trade-up-filter-group select {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    min-height: 44px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.trade-up-filter-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

/* Print styles */
@media print {
    .trade-up-filters,
    /* .opportunity-actions, */
    .contact-actions,
    .opportunity-navigation,
    .trade-up-modal {
        display: none;
    }

    .opportunity-card,
    .trade-up-single-opportunity {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Responsive modal */
@media (max-width: 768px) {
    .trade-up-modal-content {
        padding: 20px;
    }

    .opportunity-details {
        padding: 40px 20px 20px;
    }
    
    .opportunity-details h2 {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 20px;
    }
    
    .opportunity-details .opportunity-description h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .opportunity-details .opportunity-description p,
    .opportunity-details .opportunity-description div {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .trade-up-modal-close {
        top: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* Prevent body scrolling when modal is open */
.modal-open {
    overflow: hidden;
}

/* Modal Button Overrides */
.trade-up-modal .site_button,
.trade-up-modal .site_button_secondary {
    margin: 0 10px 10px 0;
    display: inline-flex;
    border-radius: 24px;
}

.trade-up-modal .site_button.light,
.trade-up-modal .site_button_secondary.light {
    background: var(--yellow);
    border-color: var(--yellow);
    color: var(--black);
}

.trade-up-modal .site_button.light:hover,
.trade-up-modal .site_button_secondary.light:hover {
    background: var(--black);
    border-color: var(--black);
    color: var(--white);
}

.trade-up-modal .site_button.dark,
.trade-up-modal .site_button_secondary.dark {
    background: var(--black);
    border-color: var(--yellow);
    color: var(--yellow);
}

.trade-up-modal .site_button.dark:hover,
.trade-up-modal .site_button_secondary.dark:hover {
    background: var(--yellow);
    border-color: var(--black);
    color: var(--black);
}


/* mobile view for trade category selection */
@media (max-width: 768px) {
  .trades-dropdown-container {
    margin-bottom: 15px;
    position: relative;
  }
  
  .trades-dropdown-toggle {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    font-family: var(--primary-font-family);
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
    position: relative;
  }
  
  .trades-dropdown-toggle:focus {
    outline: none;
    border-color: var(--yellow);
  }
  
  .trades-dropdown-toggle.open {
    border-color: var(--yellow);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .dropdown-label {
    /* font-weight: 600; */
    color: var(--black);
  }
  
  .dropdown-count {
    color: #666;
    font-size: 14px;
    margin-left: 8px;
  }
  
  .dropdown-arrow {
    position: absolute;
    right: 15px;
    transition: transform 0.3s ease;
    color: var(--orange);
    font-size: 12px;
  }
  
  .trades-dropdown-toggle.open .dropdown-arrow {
    transform: rotate(180deg);
  }
  
  .trades-checkbox-dropdown {
    position: relative;
    top: 100%;
    left: 0;
    right: 0;
    /* background:; */
    border: 2px solid var(--yellow);
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 400px;
    overflow-y: auto;
  }
  
  .trades-checkbox-list {
    padding: 8px;
  }
  
  .trade-checkbox-label {
    display: flex;
    align-items: center;
    padding: 12px;
    /* background: #f8f9fa; */
    /* border-radius: 6px; */
    cursor: pointer;
    transition: background 0.2s ease;
    user-select: none;
    margin-bottom: 6px;
    position: relative;
	border-bottom: 1px solid var(--black);
  }
  
  .trade-checkbox-label:last-child {
    margin-bottom: 0;
  }
  
  .trade-checkbox-label:hover {
    background: #e9ecef;
  }
  
  .trade-checkbox-label:has(.trade-checkbox:checked) {
    background: var(--yellow);
    border: 2px solid var(--orange);
  }
  
  .trade-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
  }
  
  .checkbox-mark {
    width: 22px;
    height: 22px;
    border: 2px solid #ddd;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
    flex-shrink: 0;
  }
  
  .trade-checkbox:checked ~ .checkbox-mark {
    background: var(--orange);
    border-color: var(--orange);
  }
  
  .trade-checkbox:checked ~ .checkbox-mark::after {
    content: '✓';
    color: white;
    font-weight: bold;
    font-size: 14px;
  }
  
  .trade-checkbox-text {
    flex: 1;
    font-size: 14px;
    color: var(--black);
    font-weight: 500;
  }

  .clear-all-btn {
	margin-top: 15px;
  }
}

/* ==========================================================================
   Trade Up Plugin Inline CSS - Moved from PHP files for better management
   ========================================================================== */

/* WPForms Integration Styles */
.trade-up-submission-form {
    max-width: 800px;
    margin: 0 auto;
}

.trade-up-submission-form .wpforms-field {
    margin-bottom: 20px;
}

.trade-up-submission-form .wpforms-field-label {
    font-weight: bold;
    margin-bottom: 5px;
}

.trade-up-submission-form .wpforms-field-checkbox ul {
    columns: 2;
    column-gap: 20px;
}

.trade-up-submission-form .wpforms-field-checkbox li {
    break-inside: avoid;
    margin-bottom: 8px;
}

.trade-up-submit-btn {
    background-color: #007cba;
    border-color: #007cba;
    color: white;
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 4px;
}

.trade-up-submit-btn:hover {
    background-color: #005a87;
    border-color: #005a87;
}

@media (max-width: 600px) {
    .trade-up-submission-form .wpforms-field-checkbox ul {
        columns: 1;
    }
}

/* Registration Page Styles */
.trade-up-registration-page {
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
    background: #f1f1f1;
    margin: 0;
    padding: 20px;
    line-height: 1.4;
}

.trade-up-registration-page .container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trade-up-registration-page h1 {
    color: #23282d;
    margin-bottom: 30px;
    text-align: center;
}

.trade-up-registration-page .form-group {
    margin-bottom: 20px;
}

.trade-up-registration-page .form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #23282d;
}

.trade-up-registration-page .form-group input,
.trade-up-registration-page .form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

.trade-up-registration-page .form-group input:focus,
.trade-up-registration-page .form-group select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.trade-up-registration-page .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.trade-up-registration-page .error {
    color: #d63638;
    margin-top: 5px;
}

.trade-up-registration-page .success {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.trade-up-registration-page .form-actions {
    text-align: center;
    margin-top: 30px;
}

.trade-up-registration-page .button {
    background: #007cba;
    color: white;
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.trade-up-registration-page .button:hover {
    background: #005a87;
}

@media (max-width: 600px) {
    .trade-up-registration-page .container {
        padding: 20px;
        margin: 10px;
    }
    
    .trade-up-registration-page .form-row {
        grid-template-columns: 1fr;
    }
}

/* Terms Acceptance Styles */
.trade-up-terms-acceptance {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.trade-up-terms-acceptance h2 {
    color: #23282d;
    margin-bottom: 20px;
    text-align: center;
}

.trade-up-terms-acceptance .terms-text {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 4px;
    margin: 20px 0;
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
}

.trade-up-terms-acceptance .checkbox-wrapper {
    margin: 20px 0;
    padding: 15px;
    background: #f1f1f1;
    border-radius: 4px;
}

.trade-up-terms-acceptance .checkbox-wrapper label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.trade-up-terms-acceptance .checkbox-wrapper input[type="checkbox"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.trade-up-terms-acceptance .form-actions {
    text-align: center;
    margin-top: 20px;
}

.trade-up-terms-acceptance .button {
    background: #007cba;
    color: white;
    padding: 5px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    margin: 0 10px;
}

.trade-up-terms-acceptance .button:hover {
    background: #005a87;
}

.trade-up-terms-acceptance .button.secondary {
    background: #6c757d;
}

.trade-up-terms-acceptance .button.secondary:hover {
    background: #5a6268;
}

.trade-up-terms-acceptance .back-link {
    display: inline-block;
    margin-top: 20px;
    color: #007cba;
    text-decoration: none;
}

.trade-up-terms-acceptance .back-link:hover {
    text-decoration: underline;
}

/* Account Manager Styles */
.trade-up-account-manager {
    margin: 0 auto;
    background: none;
    border-radius: 8px;
    padding: 20px;
}

.account-header {
    text-align: center;
    font-weight: 700;
    font-family: var(--header-font-family);
    margin-bottom: 30px;
}

.trade-up-account-manager .account-info {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.trade-up-account-manager .account-info h2 {
    color: #23282d;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007cba;
}

.trade-up-account-manager .info-grid {
    display: grid;
    gap: 15px;
}

.trade-up-account-manager .info-item {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.trade-up-account-manager .info-item:last-child {
    border-bottom: none;
}

.trade-up-account-manager .info-item strong {
    color: #23282d;
    min-width: 150px;
}

.trade-up-account-manager .navigation {
    text-align: center;
    margin-top: 30px;
}

.trade-up-account-manager .nav-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.trade-up-account-manager .nav-links a {
    color: #007cba;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #007cba;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.trade-up-account-manager .nav-links a:hover {
    background: #007cba;
    color: white;
}

.account-nav {
        border-bottom: 1px solid black;
    }

    .account-tabs {
        display: flex;
        margin: 0;
        padding: 0;
    }

    .tab-link {
        flex: 1;
        padding: 15px 20px;
        text-align: center;
        text-decoration: none;
        color: #495057;
        transition: all 0.3s;
        
    }

    .tab-link bookmarks password {
        border-bottom: 1px solid var(--red);
    }

    .tab-link:hover {
        background: black;
        color: white;
        border-radius: 20px 20px 0 0;
        /* color: #007cba; */
    }

    .tab-link.active {
        background: black;
        color: white;
        border-radius: 20px 20px 0 0;
        /* border-bottom-color: ; */
    }

    .account-content {
        margin-top: 2rem;
    }

@media (max-width: 600px) {
    .trade-up-account-manager {
        padding: 10px;
    }
    
    .trade-up-account-manager .account-info {
        padding: 20px;
    }
    
    .trade-up-account-manager .info-item {
        flex-direction: column;
        gap: 5px;
    }
    
    .trade-up-account-manager .nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .trade-up-account-manager .nav-links a {
        display: block;
        text-align: center;
        width: 200px;
    }
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 5px;
    font-size: 14px;
}

.password-strength.weak { 
    color: #dc3545; 
}

.password-strength.medium { 
    color: #ffc107; 
}

.password-strength.strong { 
    color: #28a745; 
}

.password-strength.very-strong { 
    color: #007bff; 
}

/* Debug and Utility Styles */
.trade-up-debug-panel {
    background: white;
    border: 2px solid #0073aa;
    padding: 20px;
    margin: 20px;
    position: fixed;
    top: 50px;
    right: 20px;
    width: 400px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 9999;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    border-radius: 8px;
}

.trade-up-debug-panel h3 {
    margin-top: 0;
    color: #0073aa;
}

.trade-up-debug-panel .status-good {
    color: green;
}

.trade-up-debug-panel .status-bad {
    color: red;
}

.trade-up-debug-panel hr {
    margin: 15px 0;
}

.trade-up-debug-panel h4 {
    color: #0073aa;
}

.trade-up-debug-panel ul {
    margin: 10px 0;
    padding-left: 20px;
}

.trade-up-debug-panel button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 3px;
    margin-top: 10px;
}

/* Admin Dashboard Icons */
.dashicons.status-icon {
    font-size: 20px;
}

.dashicons.status-icon.status-good {
    color: green;
}

.dashicons.status-icon.status-bad {
    color: red;
}

