/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  --vplus-primary: #1c3f85;
  --vplus-accent: #4fabff;
  --bs-link-color: var(--vplus-primary);
  --bs-link-color-rgb: 28, 63, 133;
  --vplus-font-family-base: Roboto, Arial, sans-serif;
  --vplus-font-weight-normal: 400;
  --vplus-font-weight-light: 300;
  --bs-primary-rgb: 28, 63, 133;
  --bs-border-color: #dee2e6;
  --bs-border-radius: 0.375rem;
  --bs-success-rgb: 147, 201, 134;
  --bs-warning-rgb: 255, 247, 227;
  --bs-danger-rgb: 248, 215, 218;
  --gray-300: #dee2e6;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
body {
  --bs-primary: var(--vplus-primary);
  --bs-body-font-weight: var(--vplus-font-weight-normal);
  background: var(--bs-gray-100);
  font-family: var(--vplus-font-family-base);
}

strong {
  font-weight: bold;
}

p,
ul,
li {
  font-weight: 400;
}

#main {
  padding-top: 1rem;
}

/* ==========================================================================
   COMPONENTS - BUTTONS & BADGES
   ========================================================================== */
.btn {
  --bs-btn-font-weight: 400;
}

.badge {
  --bs-badge-font-size: 0.875em;
  --bs-badge-border-radius: 1rem;
  --bs-badge-font-weight: 400;
}

.badge-lighter {
  background: #e9eef6;
  color: var(--bs-gray-800);
}

.vplus-btn-badge {
  border-radius: 10rem;
  padding: 0.125rem 0.5rem;
}

.vplus-btn-badge.btn-light {
  color: var(--bs-primary);
}

.vplus-btn-badge.btn-light:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.125);
}

.btn-collapse-toggle:focus {
  outline: none;
  border-color: transparent;
  background: #f5f5f5;
}

.btn-link-toggle:focus,
.btn-link-toggle:active {
  outline: none;
  --bs-btn-active-border-color: transparent;
}

/* ==========================================================================
   COMPONENTS - CARDS
   ========================================================================== */
.card {
  --bs-card-border-color: transparent;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.05);
  margin-bottom: 1rem;
  transition:
    box-shadow 0.3s ease-in,
    border-color 0.3s ease-in;
}

.card-body .tab-content {
  border-radius: 0 0 var(--bs-border-radius) var(--bs-border-radius);
  border-top: 0;
}

.card-body .row {
  row-gap: 1rem;
}

.card-body > .tab-content {
  padding: 0;
  border: 0;
}

/* ==========================================================================
   COMPONENTS - NAVIGATION
   ========================================================================== */
.page-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.dropdown-ellipsis .dropdown-toggle:after,
.auction-nav .dropdown-toggle:after {
  content: none;
}

.auction-nav .nav-link {
  --bs-nav-link-color: var(--vplus-primary);
}

.nav-tabs:has(+ .card) {
  border-bottom: 0;
}

.nav-tabs:has(+ .card) .nav-link {
  border: 1px solid #ddd;
  box-shadow: 0 3px 7px rgba(0, 0, 0, 0.05);
  margin-bottom: 0;
}

.nav-tabs:has(+ .card) .nav-link.active {
  border-bottom-color: #fff;
  color: var(--bs-primary);
}

.nav-tabs:has(+ .card) .nav-link:not(.active) {
  background: rgba(255, 255, 255, 0.25);
  color: #a1a1a1;
}

.nav-tabs .nav-link {
  font-weight: bold;
}

.nav-tabs + .card:has(.tab-content) {
  border-bottom: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

@media (min-width: 768px) {
  li.nav-item.welcome-text {
    display: flex;
    align-items: center;
  }
  li.nav-item.welcome-text:before {
    content: "|";
    margin: 0 1rem;
    opacity: 0.2;
  }
}

/* ==========================================================================
   COMPONENTS - BREADCRUMBS
   ========================================================================== */
.vplus-breadcrumbs {
  font-size: 0.825rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.vplus-breadcrumbs > * {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: calc(100% / 3);
  overflow: hidden;
}

.vplus-breadcrumbs a {
  text-decoration: none;
  color: var(--vplus-primary);
}

.vplus-breadcrumbs .fa {
  font-size: 0.5rem;
}

/* ==========================================================================
   COMPONENTS - LOGO & BRANDING
   ========================================================================== */
.vplus-logo {
  width: 120px;
  height: auto;
  margin: 1rem 0;
}

@media (min-width: 768px) {
  .vplus-logo {
    width: 180px;
  }
}

.vplus-client-brand {
  display: flex;
  gap: 0.5rem;
  flex-direction: column;
}

.vplus-client-logo,
.vplus-powered-by-logo {
  width: 220px;
}

/* ==========================================================================
   COMPONENTS - FOOTER
   ========================================================================== */
.footer {
  margin-bottom: 2rem;
}

.powered-by {
  text-align: center;
  margin-top: 2rem;
}

.powered-by-text {
  font-size: 0.7em;
  display: inline-block;
  vertical-align: sub;
}

.powered-by a {
  opacity: 0.4;
  transition: opacity 0.2s ease;
  text-decoration: none;
}

.powered-by a:hover,
.powered-by a:active,
.wt-logo a:hover {
  opacity: 1;
}

.powered-by img {
  width: 120px;
  vertical-align: bottom;
}

.header > .container:after {
  border-bottom: 1px solid #d9d9d9;
  content: " ";
  display: block;
}

/* ==========================================================================
   COMPONENTS - LINKS & INTERACTIONS
   ========================================================================== */
.vplus-link:hover,
.vplus-link:focus,
.vplus-link:visited,
.vplus-link:active {
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
}

.vplus-link:active {
  transform: scale(1);
}

.vplus-link:hover {
  transform: scale(1.1);
}

.table-heading th [data-filter]:hover {
  transform: scale(1.1);
  color: #2272b9;
}

.vplus-sale-archive #content a:not(.btn):hover {
  --bs-link-color-rgb: 37, 177, 156;
}

.input-group.input-group div ~ button:hover {
  background: transparent;
  color: var(--bs-primary);
}

/* ==========================================================================
   COMPONENTS - TABLES
   ========================================================================== */
.table > tbody > tr.header-row > td {
  vertical-align: bottom;
}

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

.table > tbody > tr:last-child > td {
  border-bottom: 0;
}

.vplus-table-header {
  font-weight: bold;
}

.chart-legend-box {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 5px;
  opacity: 0;
  border-radius: 3px;
}

/* ==========================================================================
   COMPONENTS - LOT COLUMNS
   ========================================================================== */
.vplus-column--lot-name {
  margin-bottom: 0.5rem;
  flex-basis: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
}

.vplus-column--lot-name strong {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.vplus-column--lot-number {
  font-size: 0.85rem;
  padding-right: 0;
  display: flex;
  flex-basis: 100%;
  align-items: center;
}

.vplus-column--lot-number .fa-hashtag {
  font-size: 0.5rem;
  margin-right: 0.15rem;
}

.vplus-column--lot-info {
  flex-grow: 1;
}

.vplus-column--lot-info > div {
  flex-wrap: wrap;
}

.chlength-4 {
  max-width: 3rem;
}

.vplus-column--final-bid {
  min-width: 50%;
  text-align: right;
  font-weight: bold;
}

.vplus-column--lot-status {
  flex-basis: 90px;
  font-size: 0.825rem;
  text-align: right;
  margin-left: auto;
}

.vplus-column--reserve {
  flex-basis: 120px;
  font-size: 0.825rem;
  text-align: right;
}

.vplus-column--bids {
  flex-basis: 60px;
  display: flex;
  justify-content: flex-end;
}

.vplus-column--bids > * {
  font-size: 0.825rem;
}

.vplus-bidder-username {
  max-width: 160px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 576px) {
  .vplus-column--lot-status {
    text-align: left;
  }
  .vplus-column--bids {
    min-width: 60px;
  }
  .vplus-column--reserve {
    min-width: 7rem;
  }
  .vplus-column--final-bid {
    min-width: 9rem;
  }
}

@media (min-width: 992px) {
  .vplus-column--lot-name {
    flex-basis: 100%;
  }
  .vplus-column--lot-status {
    margin-left: auto;
  }
}

@media (min-width: 1200px) {
  .vplus-column--lot-name {
    margin-bottom: 0;
    flex-basis: 40%;
    max-width: 40%;
  }
}

/* ==========================================================================
   COMPONENTS - STATUS INDICATORS
   ========================================================================== */
.vplus-status-sold {
  color: #6ebd8a;
}

.vplus-status-pending {
  color: #f6c353;
}

.vplus-status-unsold {
  color: #ce2610;
}

/* ==========================================================================
   COMPONENTS - MEDIA OPTIONS
   ========================================================================== */
.vplus-media-option:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px;
  border-style: solid;
  border-color: #eee transparent transparent transparent;
}

.vplus-media-option:after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* ==========================================================================
   COMPONENTS - SALE META
   ========================================================================== */
.vplus-sale-meta {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.vplus-sale-meta #print {
  margin-left: auto;
}

/* ==========================================================================
   COMPONENTS - REPORT CARD
   ========================================================================== */
.vplus-report-card .card-header {
  --bs-card-cap-bg: #fafafa;
  --bs-card-cap-color: #000;
  border-bottom: 1px solid var(--bs-border-color);
}

.vplus-report-card .card-header h2 {
  font-size: 1.5rem;
  font-weight: 500;
}

.vplus-snapshot-header-info {
  align-content: space-between;
  height: 100%;
}

.vplus-snapshot-header-auction-info {
  font-size: 0.75rem;
}

/* ==========================================================================
   COMPONENTS - SELECT2 OVERRIDES
   ========================================================================== */
.select2-container
  .select2-search--inline
  .select2-search__field::-webkit-search-cancel-button,
.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:hover,
.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:focus {
  background-color: #f1f1f1;
  color: #333;
  outline: none;
}

.select2-container--classic .select2-selection--single:focus,
.select2-container--classic .select2-selection--multiple:focus {
  border: 1px solid #5897fb;
}

.select2-container--classic
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  color: #555;
  outline: none;
}

.select2-container--bootstrap
  .select2-search__field::-webkit-input-placeholder {
  color: #999;
}

.select2-container--bootstrap .select2-search__field::-moz-placeholder {
  color: #999;
  opacity: 1;
}

.select2-container--bootstrap .select2-selection__clear:hover,
.select2-container--bootstrap
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  color: #333;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes pulsate {
  0%,
  100% {
    box-shadow: none;
  }
  50% {
    box-shadow: 0 0 10px var(--vplus-accent);
  }
}

.table-loading:before {
  content: "";
  position: absolute;
  border: 3px dotted #2272b9;
  z-index: 1000;
  margin-left: -15px;
  margin-top: -15px;
  height: 30px;
  width: 30px;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  animation: dashicons-spin 5s linear infinite;
}

@keyframes dashicons-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

/* ==========================================================================
   SNAPSHOT BODY LAYOUT
   ========================================================================== */
.vplus-snapshot-body {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .vplus-snapshot-body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.vplus-snapshot-body-col-1,
.vplus-snapshot-body-col-2,
.vplus-snapshot-body-col-3 {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.vplus-snapshot-body-total {
  width: 100%;
  margin-bottom: 0;
}

.vplus-snapshot-body-col-1 .vplus-snapshot-body-total:first-child {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.5rem;
}

.vplus-snapshot-body-total.d-flex {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.vplus-snapshot-body-total.d-flex .vplus-icon-xl {
  flex-shrink: 0;
  width: 4rem;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--vplus-primary);
}

.vplus-snapshot-body-total.d-flex > div:last-child {
  flex: 1;
  min-width: 0;
}

.vplus-snapshot-body-total > div[style*="height"] {
  margin-top: 0.5rem;
}

#vplus_bids_per_chart {
  max-width: 100%;
  max-height: 200px;
}

#vplus_report_charts .nav-tabs .nav-item button {
  width: 100%;
}

@media (max-width: 420px) {
  #vplus_report_charts .nav-tabs {
    display: flex;
    flex-direction: column;
  }
  #vplus_report_charts .nav-tabs .nav-link {
    border-bottom: 0;
    border-left-color: #eee;
    border-right-color: #eee;
  }
}

/* ==========================================================================
   TYPOGRAPHY - CONSOLIDATED
   ========================================================================== */
.font-xs,
.vendorplus-snapshot .font-xs {
  font-size: 1.4rem !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

.font-md,
.vendorplus-snapshot .font-md {
  font-size: 2.5rem !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

.font-lg,
.vendorplus-snapshot .font-lg {
  font-size: 2.75rem !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

.font-xl,
.vendorplus-snapshot .font-xl {
  font-size: 4.9rem !important;
  line-height: 1.1 !important;
  font-weight: 400 !important;
}

.vplus-snapshot-label,
.vendorplus-snapshot .vplus-snapshot-label {
  font-size: 1.3rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  color: #000000 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   SNAPSHOT BLOCKS
   ========================================================================== */
.vplus-snaptshot-blocks {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-top: 0 !important;
}

.vplus-snaptshot-blocks-item {
  display: grid !important;
  align-items: center !important;
  gap: 1rem !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 0.75rem !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  transition: box-shadow 0.2s ease !important;
}

.vplus-snaptshot-blocks-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.vplus-snaptshot-blocks-item-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  min-width: 0 !important;
}

.vplus-bidder-by-state .vplus-snaptshot-blocks-item,
.vplus-top-lots-with-most-bids .vplus-snaptshot-blocks-item {
  grid-template-columns: auto 1fr !important;
  padding: 0.875rem 1rem !important;
}

.vplus-bidder-by-state .vplus-snaptshot-blocks-item > span:first-child,
.vplus-top-lots-with-most-bids .vplus-snaptshot-blocks-item > span:first-child {
  min-width: 3rem !important;
  text-align: center !important;
}

.vplus-top-lots-with-highest-value .vplus-snaptshot-blocks-item {
  grid-template-columns: 100px 1fr !important;
  padding: 0 !important;
}

.vplus-top-lots-with-highest-value .vplus-snaptshot-blocks-item img {
  width: 100px !important;
  height: 100% !important;
  min-height: 80px !important;
  object-fit: cover !important;
  border-radius: 5px 0 0 5px !important;
}

.vplus-top-lots-with-highest-value .vplus-snaptshot-blocks-item-content {
  padding: 0.75rem 1rem !important;
}

/* ==========================================================================
   DYNAMIC TEMPLATE CONTROLS
   ========================================================================== */
.vplus-dynamic-controls {
  margin-bottom: 20px !important;
  padding: 12px 16px !important;
  background: #f8f9fa !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 6px !important;
}

.vplus-template-buttons {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  margin-bottom: 12px !important;
}

.vplus-template-btn {
  padding: 6px 14px !important;
  background: #ffffff !important;
  color: #495057 !important;
  border: 1px solid #ced4da !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.vplus-template-btn:hover {
  background: #e9ecef !important;
  border-color: #adb5bd !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.vplus-template-btn.active {
  background: #0073aa !important;
  color: #ffffff !important;
  border-color: #0073aa !important;
  box-shadow: 0 2px 4px rgba(0, 115, 170, 0.3) !important;
}

.vplus-template-btn:active {
  transform: translateY(0) !important;
}

.vplus-template-btn i {
  margin-right: 6px !important;
}

.vplus-country-selector {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.vplus-country-selector label {
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #495057 !important;
  margin: 0 !important;
}

.vplus-country-select {
  padding: 6px 12px !important;
  border: 1px solid #ced4da !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  background: #ffffff !important;
  cursor: pointer !important;
  transition: border-color 0.2s ease !important;
}

.vplus-country-select:hover {
  border-color: #adb5bd !important;
}

.vplus-country-select:focus {
  outline: none !important;
  border-color: #0073aa !important;
  box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1) !important;
}

.vplus-loading {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 20px 40px !important;
  border-radius: 6px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  z-index: 1000 !important;
}

.vplus-loading p {
  margin: 0 !important;
  font-weight: 600 !important;
  color: #495057 !important;
}

.vplus-snapshot-content {
  position: relative;
  transition: opacity 0.3s ease;
}

.vplus-dynamic-controls .vplus-template-buttons:only-child,
.vplus-dynamic-controls .vplus-country-selector:only-child {
  margin-bottom: 0 !important;
}

.vplus-dynamic-controls .vplus-template-buttons:not(:only-child) {
  margin-bottom: 12px !important;
}

.vplus-country-selector-header {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin-top: 16px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.vplus-country-selector-header label {
  font-weight: 600 !important;
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 0 !important;
  opacity: 0.9 !important;
}

.vplus-country-selector-header .vplus-country-select {
  padding: 8px 12px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  border-radius: 4px !important;
  font-size: 13px !important;
  background: rgba(255, 255, 255, 0.95) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  width: 100% !important;
  color: #000000 !important;
}

.vplus-country-selector-header .vplus-country-select:hover {
  border-color: rgba(0, 0, 0, 0.2) !important;
  background: #ffffff !important;
}

.vplus-country-selector-header .vplus-country-select:focus {
  outline: none !important;
  border-color: var(--vplus-primary) !important;
  box-shadow: 0 0 0 3px rgba(28, 63, 133, 0.1) !important;
}

.card-header[style*="background-color: #"] .vplus-country-selector-header {
  border-top-color: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   TEMPLATE-SPECIFIC BUTTON GRADIENTS
   ========================================================================== */
.vplus-template-agclearing {
  background: linear-gradient(135deg, #86c232 0%, #61892f 100%) !important;
  color: #ffffff !important;
  border-color: #61892f !important;
}

.vplus-template-agclearing:hover {
  background: linear-gradient(135deg, #9fd34b 0%, #6b9a36 100%) !important;
  border-color: #6b9a36 !important;
  box-shadow: 0 4px 8px rgba(134, 194, 50, 0.3) !important;
}

.vplus-template-agclearing.active {
  background: linear-gradient(135deg, #61892f 0%, #4a6a24 100%) !important;
  border-color: #4a6a24 !important;
  box-shadow: 0 4px 12px rgba(97, 137, 47, 0.5) !important;
}

.vplus-template-antiques {
  background: linear-gradient(135deg, #d4af37 0%, #aa8a2e 100%) !important;
  color: #ffffff !important;
  border-color: #aa8a2e !important;
}

.vplus-template-antiques:hover {
  background: linear-gradient(135deg, #e0c350 0%, #b89635 100%) !important;
  border-color: #b89635 !important;
  box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3) !important;
}

.vplus-template-antiques.active {
  background: linear-gradient(135deg, #aa8a2e 0%, #8b7125 100%) !important;
  border-color: #8b7125 !important;
  box-shadow: 0 4px 12px rgba(170, 138, 46, 0.5) !important;
}

.vplus-template-automotive {
  background: linear-gradient(135deg, #e63946 0%, #bc2e3a 100%) !important;
  color: #ffffff !important;
  border-color: #bc2e3a !important;
}

.vplus-template-automotive:hover {
  background: linear-gradient(135deg, #f04d5a 0%, #c7343f 100%) !important;
  border-color: #c7343f !important;
  box-shadow: 0 4px 8px rgba(230, 57, 70, 0.3) !important;
}

.vplus-template-automotive.active {
  background: linear-gradient(135deg, #bc2e3a 0%, #9a252e 100%) !important;
  border-color: #9a252e !important;
  box-shadow: 0 4px 12px rgba(188, 46, 58, 0.5) !important;
}

.vplus-template-general {
  background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%) !important;
  color: #ffffff !important;
  border-color: #1d3557 !important;
}

.vplus-template-general:hover {
  background: linear-gradient(135deg, #5a91b3 0%, #234363 100%) !important;
  border-color: #234363 !important;
  box-shadow: 0 4px 8px rgba(69, 123, 157, 0.3) !important;
}

.vplus-template-general.active {
  background: linear-gradient(135deg, #1d3557 0%, #14243d 100%) !important;
  border-color: #14243d !important;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.5) !important;
}

.vplus-template-horse {
  background: linear-gradient(135deg, #8b4513 0%, #6b3410 100%) !important;
  color: #ffffff !important;
  border-color: #6b3410 !important;
}

.vplus-template-horse:hover {
  background: linear-gradient(135deg, #a0501a 0%, #7a3e13 100%) !important;
  border-color: #7a3e13 !important;
  box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3) !important;
}

.vplus-template-horse.active {
  background: linear-gradient(135deg, #6b3410 0%, #52280d 100%) !important;
  border-color: #52280d !important;
  box-shadow: 0 4px 12px rgba(107, 52, 16, 0.5) !important;
}

.vplus-template-industrial {
  background: linear-gradient(135deg, #495057 0%, #212529 100%) !important;
  color: #ffffff !important;
  border-color: #212529 !important;
}

.vplus-template-industrial:hover {
  background: linear-gradient(135deg, #5a6268 0%, #2d3338 100%) !important;
  border-color: #2d3338 !important;
  box-shadow: 0 4px 8px rgba(73, 80, 87, 0.3) !important;
}

.vplus-template-industrial.active {
  background: linear-gradient(135deg, #212529 0%, #16191d 100%) !important;
  border-color: #16191d !important;
  box-shadow: 0 4px 12px rgba(33, 37, 41, 0.5) !important;
}

.vplus-template-livestock {
  background: linear-gradient(135deg, #6a994e 0%, #52753b 100%) !important;
  color: #ffffff !important;
  border-color: #52753b !important;
}

.vplus-template-livestock:hover {
  background: linear-gradient(135deg, #7eab5f 0%, #5e8243 100%) !important;
  border-color: #5e8243 !important;
  box-shadow: 0 4px 8px rgba(106, 153, 78, 0.3) !important;
}

.vplus-template-livestock.active {
  background: linear-gradient(135deg, #52753b 0%, #3f5a2d 100%) !important;
  border-color: #3f5a2d !important;
  box-shadow: 0 4px 12px rgba(82, 117, 59, 0.5) !important;
}

/* ==========================================================================
   VENDORPLUS SNAPSHOT BLOCK ISOLATION
   ========================================================================== */
.vendorplus-snapshot {
  box-sizing: border-box !important;
  font-family: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.vendorplus-snapshot *,
.vendorplus-snapshot *::before,
.vendorplus-snapshot *::after {
  box-sizing: border-box !important;
}

.vendorplus-snapshot p,
.vendorplus-snapshot span,
.vendorplus-snapshot div {
  font-weight: inherit;
}

/* Card structure */
.vendorplus-snapshot .card {
  background-color: #ffffff !important;
  border: 1px solid #dee2e6 !important;
  margin-bottom: 1rem !important;
}

.vendorplus-snapshot .card-header {
  border-bottom: 1px solid #dee2e6 !important;
  padding: 1.5rem !important;
}

.vendorplus-snapshot .card-body {
  padding: 1.5rem 1.25rem !important;
  background-color: #ffffff !important;
}

.vendorplus-snapshot .text-primary {
  color: #1c3f85 !important;
}

/* Bootstrap row override - HEADER LAYOUT */
.vendorplus-snapshot .card-header > .row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  width: 100% !important;
  margin: 0 !important;
  gap: 0 !important;
}

.vendorplus-snapshot .card-header > .row > * {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
}

/* On larger screens, use side-by-side layout */
@media (min-width: 576px) {
  .vendorplus-snapshot .card-header > .row {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 2rem !important;
  }

  .vendorplus-snapshot .card-header > .row > .col-sm {
    flex: 1 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .vendorplus-snapshot .card-header > .row > .col-sm-auto {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
  }
}

/* Header info section - force column layout */
.vendorplus-snapshot .vplus-snapshot-header-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 0.5rem !important;
  width: 100% !important;
}

.vendorplus-snapshot .vplus-snapshot-header-info .row {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.vendorplus-snapshot .vplus-snapshot-header-info > .col-12,
.vendorplus-snapshot .vplus-snapshot-header-info .col-12 {
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.vendorplus-snapshot .card-header h2 {
  font-size: 2.3rem !important;
  font-weight: 500 !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.3 !important;
  color: inherit !important;
}

.vendorplus-snapshot .vplus-snapshot-header-auction-info {
  font-size: 1.2rem !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
  font-weight: 500 !important;
  margin-top: 30px !important;
}

@media (max-width: 575.98px) {
  .vendorplus-snapshot .vplus-snapshot-header-auction-info {
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
    margin-bottom: 10px !important;
    margin: auto !important;
  }
}

@media (max-width: 575.98px) {
  .vendorplus-snapshot .vplus-snapshot-header-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
    margin: auto !important;
  }
}

.vendorplus-snapshot .vplus-client-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 0.75rem !important;
  width: 100% !important;
}

@media (min-width: 576px) {
  .vendorplus-snapshot .vplus-client-brand {
    align-items: flex-end !important;
    width: auto !important;
  }
}

.vendorplus-snapshot .vplus-client-logo,
.vendorplus-snapshot .vplus-powered-by-logo {
  max-width: 160px !important;
  height: auto !important;
}

.vendorplus-snapshot .vplus-country-selector-header {
  margin-top: 0.75rem !important;
  padding-top: 0.75rem !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
  width: 100% !important;
}

.vendorplus-snapshot .vplus-country-selector-header .vplus-country-select {
  width: 100% !important;
  max-width: 100% !important;
  font-size: 1.2rem !important;
  padding: 0.5rem !important;
}

/* FontAwesome 6 icon rendering */
.vendorplus-snapshot i[class*="fa-"],
.vendorplus-snapshot .fa,
.vendorplus-snapshot .fas,
.vendorplus-snapshot .far,
.vendorplus-snapshot .fab,
.vendorplus-snapshot .fa-solid,
.vendorplus-snapshot .fa-regular,
.vendorplus-snapshot .fa-brands {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro",
    "Font Awesome 6 Brands" !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.vendorplus-snapshot .fa-regular,
.vendorplus-snapshot .far {
  font-weight: 400 !important;
}

.vendorplus-snapshot .fa-light,
.vendorplus-snapshot .fal {
  font-weight: 300 !important;
}

.vendorplus-snapshot .fa-brands,
.vendorplus-snapshot .fab {
  font-family: "Font Awesome 6 Brands" !important;
  font-weight: 400 !important;
}

.vendorplus-snapshot .vplus-template-btn i {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
  margin-right: 0.5rem !important;
  display: inline-block !important;
  font-size: 1rem !important;
  vertical-align: middle !important;
  width: auto !important;
  height: auto !important;
}

.vendorplus-snapshot .vplus-icon-xl,
.vendorplus-snapshot .fa-gavel,
.vendorplus-snapshot .fa-users,
.vendorplus-snapshot .fa-chart-line {
  font-family: "Font Awesome 6 Free" !important;
  font-weight: 900 !important;
}

.vendorplus-snapshot .card-header i[class*="fa-"] {
  vertical-align: baseline !important;
}

/* Snapshot body layout */
.vendorplus-snapshot .vplus-snapshot-body {
  display: flex !important;
  flex-direction: column !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  .vendorplus-snapshot .vplus-snapshot-body {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

.vendorplus-snapshot .vplus-snapshot-body-col-1,
.vendorplus-snapshot .vplus-snapshot-body-col-2,
.vendorplus-snapshot .vplus-snapshot-body-col-3 {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.5rem !important;
}

.vendorplus-snapshot .vplus-snapshot-body-total {
  width: 100% !important;
  margin-bottom: 0 !important;
}

.vendorplus-snapshot
  .vplus-snapshot-body-col-1
  .vplus-snapshot-body-total:first-child {
  display: flex !important;
  flex-direction: column-reverse !important;
  gap: 0.5rem !important;
}

.vendorplus-snapshot .vplus-snapshot-body-total.d-flex {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
}

.vendorplus-snapshot .vplus-snapshot-body-total.d-flex .vplus-icon-xl {
  flex-shrink: 0 !important;
  width: 4rem !important;
  font-size: 3.5rem !important;
  line-height: 1 !important;
}

.vendorplus-snapshot .vplus-snapshot-body-total.d-flex > div:last-child {
  flex: 1 !important;
  min-width: 0 !important;
}

/* Snapshot blocks */
.vendorplus-snapshot .vplus-snaptshot-blocks {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-top: 0 !important;
}

.vendorplus-snapshot .vplus-snaptshot-blocks-item {
  display: grid !important;
  align-items: center !important;
  gap: 1rem !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 6px !important;
  padding: 0.75rem !important;
  overflow: hidden !important;
  background-color: #ffffff !important;
  transition: box-shadow 0.2s ease !important;
}

.vendorplus-snapshot .vplus-snaptshot-blocks-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.vendorplus-snapshot .vplus-snaptshot-blocks-item-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  min-width: 0 !important;
  padding: 0 !important;
}

.vendorplus-snapshot .vplus-bidder-by-state .vplus-snaptshot-blocks-item,
.vendorplus-snapshot
  .vplus-top-lots-with-most-bids
  .vplus-snaptshot-blocks-item {
  grid-template-columns: auto 1fr !important;
  padding: 0.875rem 1rem !important;
}

.vendorplus-snapshot
  .vplus-bidder-by-state
  .vplus-snaptshot-blocks-item
  > span:first-child,
.vendorplus-snapshot
  .vplus-top-lots-with-most-bids
  .vplus-snaptshot-blocks-item
  > span:first-child {
  min-width: 3rem !important;
  text-align: center !important;
  font-weight: 600 !important;
}

.vendorplus-snapshot
  .vplus-top-lots-with-highest-value
  .vplus-snaptshot-blocks-item {
  grid-template-columns: 100px 1fr !important;
  padding: 0 !important;
}

.vendorplus-snapshot
  .vplus-top-lots-with-highest-value
  .vplus-snaptshot-blocks-item
  img {
  width: 100px !important;
  height: 100% !important;
  min-height: 80px !important;
  object-fit: cover !important;
  border-radius: 5px 0 0 5px !important;
}

.vendorplus-snapshot
  .vplus-top-lots-with-highest-value
  .vplus-snaptshot-blocks-item-content {
  padding: 0.75rem 1rem !important;
}

/* Chart */
.vendorplus-snapshot #vplus_bids_per_chart {
  max-width: 100% !important;
  height: auto !important;
  max-height: 200px !important;
}

/* Template button gradients - scoped */
.vendorplus-snapshot .vplus-template-agclearing {
  background: linear-gradient(135deg, #86c232 0%, #61892f 100%) !important;
  color: #ffffff !important;
  border-color: #61892f !important;
}

.vendorplus-snapshot .vplus-template-automotive {
  background: linear-gradient(135deg, #e63946 0%, #bc2e3a 100%) !important;
  color: #ffffff !important;
  border-color: #bc2e3a !important;
}

.vendorplus-snapshot .vplus-template-antiques {
  background: linear-gradient(135deg, #d4af37 0%, #aa8a2e 100%) !important;
  color: #ffffff !important;
  border-color: #aa8a2e !important;
}

.vendorplus-snapshot .vplus-template-general {
  background: linear-gradient(135deg, #457b9d 0%, #1d3557 100%) !important;
  color: #ffffff !important;
  border-color: #1d3557 !important;
}

.vendorplus-snapshot .vplus-template-horse {
  background: linear-gradient(135deg, #8b4513 0%, #6b3410 100%) !important;
  color: #ffffff !important;
  border-color: #6b3410 !important;
}

.vendorplus-snapshot .vplus-template-industrial {
  background: linear-gradient(135deg, #495057 0%, #212529 100%) !important;
  color: #ffffff !important;
  border-color: #212529 !important;
}

.vendorplus-snapshot .vplus-template-livestock {
  background: linear-gradient(135deg, #6a994e 0%, #52753b 100%) !important;
  color: #ffffff !important;
  border-color: #52753b !important;
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */
@media (max-width: 767px) {
  .vplus-snapshot-body,
  .vendorplus-snapshot .vplus-snapshot-body {
    gap: 1.5rem !important;
  }

  .vplus-snapshot-body-col-1,
  .vplus-snapshot-body-col-2,
  .vplus-snapshot-body-col-3,
  .vendorplus-snapshot .vplus-snapshot-body-col-1,
  .vendorplus-snapshot .vplus-snapshot-body-col-2,
  .vendorplus-snapshot .vplus-snapshot-body-col-3 {
    gap: 1.25rem !important;
  }

  .vplus-snapshot-body-total.d-flex .vplus-icon-xl,
  .vendorplus-snapshot .vplus-snapshot-body-total.d-flex .vplus-icon-xl {
    font-size: 3rem !important;
    width: 3.5rem !important;
  }

  .vplus-template-buttons {
    flex-direction: column;
  }

  .vplus-template-btn {
    width: 100%;
  }

  .vplus-country-selector {
    flex-direction: column;
    align-items: flex-start;
  }

  .vplus-country-select {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .vplus-snapshot-header-info,
  .vplus-client-brand {
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .vendorplus-snapshot .vplus-client-brand {
    align-items: center !important;
  }

  .vplus-client-brand {
    flex-direction: row !important;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .vplus-top-lots-with-highest-value .vplus-snaptshot-blocks-item,
  .vendorplus-snapshot
    .vplus-top-lots-with-highest-value
    .vplus-snaptshot-blocks-item {
    grid-template-columns: 80px 1fr !important;
  }

  .vplus-top-lots-with-highest-value .vplus-snaptshot-blocks-item img,
  .vendorplus-snapshot
    .vplus-top-lots-with-highest-value
    .vplus-snaptshot-blocks-item
    img {
    width: 80px !important;
  }

  .vplus-country-selector-header {
    margin-top: 12px !important;
    padding-top: 12px !important;
  }
}

/* Auto-invert powered-by logo on dark backgrounds */
.vendorplus-snapshot
  .card-header[style*="background-color"]
  .vplus-powered-by-logo {
  filter: var(--logo-filter, none);
}

/* Increase logo size */
.vendorplus-snapshot .vplus-powered-by-logo {
  max-width: 240px !important;
}
