
/* ========================================
   AUCTION CARD - SORT & END STATE STYLES
   ======================================== */

.ag-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.75);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 10;
    pointer-events: none;
}

.ag-overlay.show {
    opacity: 1;
    visibility: visible;
}

.ag-overlay-text {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 8px;
    border: 3px solid #fff;
    transform: rotate(-12deg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: badgePopIn 0.4s ease-out;
}

.ag-overlay.closed .ag-overlay-text {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: #fff;
}

.ag-overlay.sold .ag-overlay-text {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes badgePopIn {
    0% { transform: rotate(-12deg) scale(0.5); opacity: 0; }
    50% { transform: rotate(-12deg) scale(1.1); }
    100% { transform: rotate(-12deg) scale(1); opacity: 1; }
}

.ag-btn.view-auction {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ag-btn.view-auction:hover {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.ag-time.ended { color: #6c757d !important; }

.flip-timer-container.ended .digit-card {
    background: linear-gradient(180deg, #4a4a4a 0%, #3d3d3d 50%, #333 50%, #2d2d2d 100%) !important;
}

.flip-timer-container.ended .digit-display { color: #888 !important; }

.ag-card.auction-ending {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.ag-card {
    transition: transform 0.3s ease, opacity 0.5s ease;
}

.ag-img {
    position: relative;
    display: block;
    overflow: hidden;
}

/* View Auction Button - Blue */
.ag-btn.view-auction {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 44px;
    padding: 16px 24px;
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
    border: none;
    border-radius: 25px;
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.15s ease;
}
.ag-btn.view-auction:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%) !important;
}

/* Auction ending fade */
.ag-card.auction-ending {
    opacity: 0 !important;
    transform: scale(0.95);
    pointer-events: none;
}

/* ========================================
   BID BUDDY MODAL
   ======================================== */
.bb-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.bb-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}
.bb-modal {
  background: #2d2d2d;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform 0.3s;
}
.bb-modal-overlay.show .bb-modal {
  transform: scale(1);
}
.bb-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #3d3d3d;
}
.bb-modal-header h3 {
  margin: 0;
  color: #f59e0b;
  font-size: 18px;
}
.bb-close {
  background: none;
  border: none;
  color: #888;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.bb-close:hover { color: #fff; }
.bb-modal-body {
  padding: 20px;
}
.bb-desc {
  color: #888;
  font-size: 14px;
  margin: 0 0 15px;
}
.bb-auction-info {
  background: #1a1a1a;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.bb-auction-info p {
  margin: 0 0 8px;
  color: #fff;
  font-size: 14px;
}
.bb-auction-info p:last-child { margin-bottom: 0; }
.bb-price { color: #10b981; font-weight: 700; }
.bb-existing { color: #f59e0b; }
.bb-field {
  margin-bottom: 16px;
}
.bb-field label {
  display: block;
  color: #ccc;
  font-size: 13px;
  margin-bottom: 6px;
}
.bb-field input {
  width: 100%;
  padding: 12px;
  background: #1a1a1a;
  border: 1px solid #3d3d3d;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
}
.bb-field input:focus {
  outline: none;
  border-color: #f59e0b;
}
.bb-balance {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #888;
}
.bb-balance strong { color: #10b981; }
.bb-error {
  color: #ef4444;
  font-size: 13px;
  margin-bottom: 12px;
  min-height: 18px;
}
.bb-actions {
  display: flex;
  gap: 10px;
}
.bb-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.bb-btn-cancel {
  background: #3d3d3d;
  color: #fff;
}
.bb-btn-cancel:hover { background: #4a4a4a; }
.bb-btn-submit {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #000;
}
.bb-btn-submit:hover { background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%); }
.bb-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Active Bid Buddy button */
.ag-btn-buddy.active {
  background: #10b981 !important;
  color: #fff !important;
  border-color: #10b981 !important;
}

/* Toast notification */
.bb-toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10b981;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 10000;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.bb-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.bb-toast.error { background: #ef4444; }
/* BID BUDDY MODAL */
.bb-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.bb-modal-overlay.show { opacity: 1; visibility: visible; }
.bb-modal {
  background: #2d2d2d; border-radius: 12px; width: 90%; max-width: 400px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9); transition: transform 0.3s;
}
.bb-modal-overlay.show .bb-modal { transform: scale(1); }
.bb-modal-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid #3d3d3d;
}
.bb-modal-header h3 { margin: 0; color: #f59e0b; font-size: 18px; }
.bb-close { background: none; border: none; color: #888; font-size: 24px; cursor: pointer; }
.bb-close:hover { color: #fff; }
.bb-modal-body { padding: 20px; }
.bb-desc { color: #888; font-size: 14px; margin: 0 0 15px; }
.bb-auction-info { background: #1a1a1a; padding: 12px; border-radius: 8px; margin-bottom: 20px; }
.bb-auction-info p { margin: 0 0 8px; color: #fff; font-size: 14px; }
.bb-auction-info p:last-child { margin-bottom: 0; }
.bb-price { color: #10b981; font-weight: 700; }
.bb-existing { color: #f59e0b; }
.bb-field { margin-bottom: 16px; }
.bb-field label { display: block; color: #ccc; font-size: 13px; margin-bottom: 6px; }
.bb-field input {
  width: 100%; padding: 12px; background: #1a1a1a; border: 1px solid #3d3d3d;
  border-radius: 6px; color: #fff; font-size: 16px;
}
.bb-field input:focus { outline: none; border-color: #f59e0b; }
.bb-balance { display: block; margin-top: 6px; font-size: 12px; color: #888; }
.bb-balance strong { color: #10b981; }
.bb-error { color: #ef4444; font-size: 13px; margin-bottom: 12px; min-height: 18px; }
.bb-actions { display: flex; gap: 10px; }
.bb-btn {
  flex: 1; padding: 12px 16px; border: none; border-radius: 6px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s;
}
.bb-btn-cancel { background: #3d3d3d; color: #fff; }
.bb-btn-cancel:hover { background: #4a4a4a; }
.bb-btn-submit { background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%); color: #000; }
.bb-btn-submit:hover { background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%); }
.bb-btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.ag-btn-buddy.active { background: #10b981 !important; color: #fff !important; }/* Bid Buddy Quick Buttons */
.bb-quick-btns {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.bb-quick-btn {
  flex: 1;
  padding: 12px 8px;
  background: #1a1a1a;
  border: 2px solid #3d3d3d;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.bb-quick-btn:hover {
  border-color: #f59e0b;
  background: #2d2d2d;
}
.bb-quick-btn.active {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #000;
}
.bb-custom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.bb-custom span {
  color: #888;
  font-size: 13px;
  white-space: nowrap;
}
.bb-custom input {
  width: 80px;
  padding: 8px;
  text-align: center;
}/* Bid Buddy Inline Popup */
.bb-popup {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 8px;
  background: #2d2d2d;
  border-radius: 10px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.bb-popup.show {
  opacity: 1;
  transform: translateY(0);
}
.bb-popup::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 15px;
  border: 8px solid transparent;
  border-top-color: #2d2d2d;
}
.bb-popup-title {
  color: #888;
  font-size: 11px;
  margin-bottom: 8px;
  text-align: center;
}
.bb-popup-btns {
  display: flex;
  gap: 6px;
}
.bb-popup-btns button {
  width: 40px;
  height: 40px;
  border: 2px solid #3d3d3d;
  background: #1a1a1a;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.bb-popup-btns button:hover {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  color: #000;
}
.ag-btn-buddy.active {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
}/* Bid Buddy - Inline Options */
.bb-bid-options {
  display: flex;
  gap: 4px;
  height: 44px;
  align-items: center;
}
.bb-opt-btn {
  flex: 1;
  height: 100%;
  min-width: 36px;
  border: none;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
  border-radius: 6px;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}
.bb-opt-btn:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
  transform: scale(1.05);
}
.bb-opt-cancel {
  width: 30px;
  height: 100%;
  border: none;
  background: #3d3d3d;
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.bb-opt-cancel:hover {
  background: #555;
}
.bb-saving {
  color: #f59e0b;
  font-size: 12px;
}
.ag-btn-buddy.active {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #fff !important;
}
.ag-btn-buddy.selecting {
  background: #3d3d3d !important;
  opacity: 0.7;
}
/* Bid Buddy - Inline Options Fix */
.bb-bid-options {
  display: flex !important;
  gap: 4px !important;
  height: 44px !important;
  align-items: center !important;
  flex: 1 !important;
}
.bb-bid-options .bb-opt-btn {
  flex: 1 !important;
  height: 100% !important;
  min-width: 32px !important;
  border: none !important;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
  border-radius: 6px !important;
  color: #000 !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.bb-bid-options .bb-opt-btn:hover {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
}
.bb-bid-options .bb-opt-cancel {
  width: 30px !important;
  min-width: 30px !important;
  height: 100% !important;
  border: none !important;
  background: #3d3d3d !important;
  border-radius: 6px !important;
  color: #fff !important;
  font-size: 16px !important;
  cursor: pointer !important;
  padding: 0 !important;
}
.bb-bid-options .bb-opt-cancel:hover {
  background: #555 !important;
}

/* ========================================
   AUCTION CARD UI REFINEMENTS
   Modern ecommerce look, reduced casino feel
   ======================================== */

/* 1. COUNTDOWN TIMER - Reduced visual weight */
.ag-wrapper .ag-timer-flip {
  transform: scale(0.85) !important;
  background: #2a2a2a !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
}
.ag-wrapper .ag-digit {
  background: #3d3d3d !important;
  color: #e5e5e5 !important;
  font-size: 14px !important;
  min-width: 20px !important;
  height: 26px !important;
  line-height: 26px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
.ag-wrapper .ag-timer-sep {
  color: #666 !important;
  font-size: 14px !important;
}

/* 2. CURRENT PRICE - Make it dominant */
.ag-wrapper .ag-price-value,
.ag-wrapper .ag-current-price {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: #10b981 !important;
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.3) !important;
  letter-spacing: -0.5px !important;
}
.ag-wrapper .ag-price-label,
.ag-wrapper .ag-label {
  font-size: 10px !important;
  color: #666 !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

/* 3. BID BUTTONS - Secondary styling */
.ag-wrapper .bb-opt-btn {
  height: 38px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: linear-gradient(180deg, #52525b 0%, #3f3f46 100%) !important;
  color: #fff !important;
  border: 1px solid #52525b !important;
  opacity: 0.9 !important;
}
.ag-wrapper .bb-opt-btn:hover {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000 !important;
  opacity: 1 !important;
  border-color: #f59e0b !important;
}

/* Bid Buddy - Primary CTA, most dominant */
.ag-wrapper .ag-btn-buddy {
  min-height: 48px !important;
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%) !important;
  color: #000 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
  border: none !important;
  position: relative !important;
}
.ag-wrapper .ag-btn-buddy:hover {
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5) !important;
  transform: translateY(-1px) !important;
}
.ag-wrapper .ag-btn-buddy.active {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}

/* Apply Credit / Bid Now button - Secondary */
.ag-wrapper .ag-btn.bid-now {
  background: linear-gradient(180deg, #52525b 0%, #3f3f46 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: 1px solid #52525b !important;
  min-height: 44px !important;
}
.ag-wrapper .ag-btn.bid-now:hover {
  background: linear-gradient(180deg, #71717a 0%, #52525b 100%) !important;
}

/* 4. HIGH BIDDER - Reduced emphasis */
.ag-wrapper .ag-leader,
.ag-wrapper .ag-high-bidder {
  font-size: 11px !important;
  color: #888 !important;
  font-weight: 400 !important;
}
.ag-wrapper .ag-leader-name,
.ag-wrapper .ag-bidder-name {
  color: #aaa !important;
  font-weight: 500 !important;
}

/* 5. BUY NOW - Subtle but visible */
.ag-wrapper .ag-buy-now,
.ag-wrapper .ag-buyitnow {
  border-top: 1px solid #4a4a4a !important;
  padding-top: 12px !important;
  margin-top: 8px !important;
}
.ag-wrapper .ag-buy-now a,
.ag-wrapper .ag-buyitnow-link {
  color: #a3a3a3 !important;
  font-size: 12px !important;
  padding: 8px 16px !important;
  border: 1px solid #525252 !important;
  border-radius: 6px !important;
  background: transparent !important;
  transition: all 0.2s !important;
}
.ag-wrapper .ag-buy-now a:hover,
.ag-wrapper .ag-buyitnow-link:hover {
  border-color: #f59e0b !important;
  color: #f59e0b !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

/* 6. PRODUCT IMAGE - Subtle depth */
.ag-wrapper .ag-img {
  position: relative !important;
}
.ag-wrapper .ag-img img {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
  border-radius: 8px !important;
}
.ag-wrapper .ag-img::after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: 8px !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05) !important;
  pointer-events: none !important;
}

/* 7. OVERALL CARD - Clean, modern */
.ag-wrapper .ag-card {
  background: #2d2d2d !important;
  border: 1px solid #3d3d3d !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}
.ag-wrapper .ag-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3) !important;
}

/* Action area refinement */
.ag-wrapper .ag-action {
  background: #353535 !important;
  border-radius: 0 0 12px 12px !important;
  padding: 12px 14px 14px !important;
}

/* Info section spacing */
.ag-wrapper .ag-info {
  padding: 12px 14px !important;
}

/* Product title */
.ag-wrapper .ag-title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #e5e5e5 !important;
  line-height: 1.3 !important;
}

/* ========================================
   AUCTION CARD UI - BOLD VISIBLE CHANGES
   High contrast, obvious improvements
   ======================================== */

/* 1. CARD BACKGROUND - Darker for contrast */
.ag-wrapper .ag-card {
  background: #1a1a1a !important;
  border: 1px solid #333 !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
}
.ag-wrapper .ag-card:hover {
  border-color: #f59e0b !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.15) !important;
}

/* Action area - darker */
.ag-wrapper .ag-action {
  background: #242424 !important;
  border-radius: 0 0 14px 14px !important;
  padding: 14px 16px 16px !important;
}

/* 2. BID BUDDY - VERY PROMINENT (Blue, glowing) */
.ag-wrapper .ag-btn-buddy {
  min-height: 52px !important;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  border-radius: 10px !important;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.5), 0 4px 15px rgba(59, 130, 246, 0.3) !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
}
.ag-wrapper .ag-btn-buddy:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 100%) !important;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.7), 0 6px 20px rgba(59, 130, 246, 0.4) !important;
  transform: translateY(-2px) !important;
}
.ag-wrapper .ag-btn-buddy.active {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.5), 0 4px 15px rgba(34, 197, 94, 0.3) !important;
}

/* 3. APPLY CREDIT / BID NOW - Bright orange, secondary */
.ag-wrapper .ag-btn.bid-now {
  background: linear-gradient(180deg, #fb923c 0%, #f97316 100%) !important;
  color: #000 !important;
  font-weight: 700 !important;
  border: none !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
}
.ag-wrapper .ag-btn.bid-now:hover {
  background: linear-gradient(180deg, #fdba74 0%, #fb923c 100%) !important;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.4) !important;
}

/* Bid option buttons (5,10,15,20,25) - Orange but muted vs Bid Buddy */
.ag-wrapper .bb-opt-btn,
.bb-opt-btn {
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(234, 88, 12, 0.3) !important;
}
.ag-wrapper .bb-opt-btn:hover,
.bb-opt-btn:hover {
  background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%) !important;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.5) !important;
  transform: scale(1.05) !important;
}

/* 4. CURRENT PRICE - VERY BRIGHT & DOMINANT */
.ag-wrapper .ag-price-value,
.ag-wrapper .ag-current-price,
.ag-wrapper .ag-price {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #4ade80 !important;
  text-shadow: 0 0 25px rgba(74, 222, 128, 0.6), 0 0 50px rgba(74, 222, 128, 0.3) !important;
  letter-spacing: -1px !important;
}
.ag-wrapper .ag-price-label,
.ag-wrapper .price-label,
.ag-wrapper .ag-label {
  font-size: 9px !important;
  color: #555 !important;
  font-weight: 400 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  opacity: 0.7 !important;
}

/* 5. TIMER - Muted, less prominent */
.ag-wrapper .ag-timer-flip {
  transform: scale(0.8) !important;
  opacity: 0.85 !important;
}
.ag-wrapper .ag-digit {
  background: #2a2a2a !important;
  color: #999 !important;
  font-size: 13px !important;
  border: 1px solid #333 !important;
}
.ag-wrapper .ag-timer-sep {
  color: #555 !important;
}

/* HIGH BIDDER - Very muted */
.ag-wrapper .ag-leader,
.ag-wrapper .ag-high-bidder,
.ag-wrapper .ag-bidder {
  font-size: 10px !important;
  color: #666 !important;
  opacity: 0.8 !important;
}

/* 6. BUY NOW - Clear divider, brighter */
.ag-wrapper .ag-buy-now,
.ag-wrapper .ag-buyitnow {
  border-top: 2px solid #3d3d3d !important;
  padding-top: 14px !important;
  margin-top: 10px !important;
}
.ag-wrapper .ag-buy-now a,
.ag-wrapper .ag-buyitnow-link,
.ag-wrapper .btn-buyitnow {
  color: #fbbf24 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 10px 20px !important;
  border: 2px solid #fbbf24 !important;
  border-radius: 8px !important;
  background: rgba(251, 191, 36, 0.1) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}
.ag-wrapper .ag-buy-now a:hover,
.ag-wrapper .ag-buyitnow-link:hover,
.ag-wrapper .btn-buyitnow:hover {
  background: rgba(251, 191, 36, 0.25) !important;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.3) !important;
}

/* PRODUCT IMAGE - Stronger depth */
.ag-wrapper .ag-img img {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  border-radius: 10px !important;
  border: 1px solid #333 !important;
}

/* INFO SECTION */
.ag-wrapper .ag-info {
  background: #1a1a1a !important;
  padding: 14px 16px !important;
}

/* PRODUCT TITLE */
.ag-wrapper .ag-title,
.ag-wrapper .ag-product-title {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f5f5f5 !important;
}

/* ========================================
   GIFTBIDZ FINAL COLOR SYSTEM
   Orange = Bidding | Blue = Automation
   No green, no red, no yellow in UI
   ======================================== */

/* BACKGROUNDS */
.ag-wrapper .ag-card {
  background: #2B2B2B !important;
  border-color: #3A3A3A !important;
}
.ag-wrapper .ag-action {
  background: #343434 !important;
}
.ag-wrapper .ag-price {
  background: #343434 !important;
}
.ag-wrapper .ag-info {
  background: #2B2B2B !important;
}

/* CURRENT PRICE - Orange only, no green */
.ag-wrapper .ag-price-value {
  color: #F59E0B !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  text-shadow: none !important;
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.35) !important;
  background: #1a1a1a !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
}

/* Price label - muted */
.ag-wrapper .ag-price-label {
  color: #9CA3AF !important;
  font-size: 10px !important;
}

/* PRIMARY CTA - APPLY CREDIT (Orange) */
.ag-wrapper .ag-btn.bid-now {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}
.ag-wrapper .ag-btn.bid-now:hover {
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%) !important;
}

/* SECONDARY CTA - BID BUDDY (Blue) */
.ag-wrapper .ag-btn-buddy {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4) !important;
}
.ag-wrapper .ag-btn-buddy:hover {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%) !important;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5) !important;
}
.ag-wrapper .ag-btn-buddy.active {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
}

/* PRESET BID BUTTONS (5/10/15/20/25) - Neutral */
.bb-opt-btn {
  background: #3A3A3A !important;
  color: #E5E7EB !important;
  font-weight: 600 !important;
  border: 1px solid #4A4A4A !important;
  border-radius: 8px !important;
}
.bb-opt-btn:hover {
  color: #F59E0B !important;
  border-color: #F59E0B !important;
  background: #3A3A3A !important;
  transform: none !important;
}

/* COUNTDOWN TIMER - Neutral, no accent */
.ag-wrapper .ag-digit {
  background: #1F2933 !important;
  color: #E5E7EB !important;
  border: none !important;
  box-shadow: none !important;
}
.ag-wrapper .ag-timer-sep {
  color: #6B7280 !important;
}
.ag-wrapper .ag-timer-flip {
  transform: scale(0.9) !important;
  opacity: 1 !important;
}

/* HIGH BIDDER - Muted */
.ag-wrapper .ag-price-bidder,
.ag-wrapper .ag-leader,
.ag-wrapper .ag-bidder-name {
  color: #9CA3AF !important;
  font-size: 13px !important;
}

/* BUY NOW - Orange text, subtle */
.ag-wrapper .ag-buy-now,
.ag-wrapper .ag-buyitnow {
  border-top: 1px solid #3F3F3F !important;
  padding-top: 12px !important;
  margin-top: 8px !important;
}
.ag-wrapper .ag-buy-now a,
.ag-wrapper .btn-buyitnow {
  color: #F59E0B !important;
  font-size: 12px !important;
  background: transparent !important;
  border: 1px solid #3F3F3F !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
}
.ag-wrapper .ag-buy-now a:hover {
  border-color: #F59E0B !important;
  background: rgba(245, 158, 11, 0.1) !important;
}

/* PRODUCT TITLE */
.ag-wrapper .ag-title {
  color: #FFFFFF !important;
  font-weight: 500 !important;
}

/* SECONDARY TEXT */
.ag-wrapper .ag-label,
.ag-wrapper .price-label {
  color: #6B7280 !important;
}
/* GIFTBIDZ FINAL COLOR SYSTEM - COMPLETE */

/* PRIMARY CTA - APPLY CREDIT (Orange) */
.ag-wrapper .ag-btn.bid-now {
  background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}
.ag-wrapper .ag-btn.bid-now:hover {
  background: linear-gradient(180deg, #FBBF24 0%, #F59E0B 100%) !important;
}

/* SECONDARY CTA - BID BUDDY (Blue) */
.ag-wrapper .ag-btn-buddy {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  border: none !important;
  min-height: 46px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  box-shadow: 0 0 8px rgba(37, 99, 235, 0.4) !important;
}
.ag-wrapper .ag-btn-buddy:hover {
  background: linear-gradient(180deg, #3B82F6 0%, #2563EB 100%) !important;
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.5) !important;
}
.ag-wrapper .ag-btn-buddy.active {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
}

/* PRESET BID BUTTONS (5/10/15/20/25) - Neutral */
.bb-opt-btn {
  background: #3A3A3A !important;
  color: #E5E7EB !important;
  font-weight: 600 !important;
  border: 1px solid #4A4A4A !important;
  border-radius: 8px !important;
}
.bb-opt-btn:hover {
  color: #F59E0B !important;
  border-color: #F59E0B !important;
  background: #3A3A3A !important;
  transform: none !important;
}

/* COUNTDOWN TIMER - Neutral */
.ag-wrapper .ag-digit {
  background: #1F2933 !important;
  color: #E5E7EB !important;
  border: none !important;
}
.ag-wrapper .ag-timer-sep {
  color: #6B7280 !important;
}

/* HIGH BIDDER - Muted */
.ag-wrapper .ag-price-bidder {
  color: #9CA3AF !important;
  font-size: 13px !important;
}

/* BUY NOW - Orange text */
.ag-wrapper .ag-bin a,
.ag-wrapper .ag-bin strong {
  color: #F59E0B !important;
  text-shadow: none !important;
}
.ag-wrapper .ag-bin {
  border-top: 1px solid #3F3F3F !important;
}

/* PRODUCT TITLE - Orange */
.ag-wrapper .ag-title a {
  color: #F59E0B !important;
  text-shadow: none !important;
}
/* ========================================
   FINAL POLISH ADJUSTMENTS
   ======================================== */

/* 1. Price box - lighter background, let text carry emphasis */
.ag-wrapper .ag-price-value {
  background: transparent !important;
  box-shadow: none !important;
  padding: 4px 0 !important;
}

/* 2. Bid Buddy - taller, stronger active state */
.ag-wrapper .ag-btn-buddy {
  min-height: 50px !important;
  height: 50px !important;
}
.ag-wrapper .ag-btn-buddy.active {
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.6), 0 0 20px rgba(37, 99, 235, 0.3), inset 0 0 0 2px rgba(255,255,255,0.2) !important;
  animation: buddyPulse 2s infinite !important;
}
@keyframes buddyPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(37, 99, 235, 0.6), 0 0 20px rgba(37, 99, 235, 0.3); }
  50% { box-shadow: 0 0 18px rgba(37, 99, 235, 0.8), 0 0 30px rgba(37, 99, 235, 0.4); }
}

/* 3. Preset bid buttons - breathing room */
.bb-bid-options {
  gap: 6px !important;
  margin-right: 8px !important;
}
.bb-opt-btn {
  min-width: 38px !important;
  padding: 0 6px !important;
}
.bb-opt-cancel {
  margin-left: 4px !important;
}

/* ========================================
   FIX: Premium clean styling
   ======================================== */

/* Price - NO background, plain text */
.ag-wrapper .ag-price-value {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #F59E0B !important;
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-shadow: 0 0 6px rgba(245,158,11,0.2) !important;
}

/* Hide any large winning banner */
.ag-wrapper .winning-banner,
.ag-wrapper .you-winning,
.ag-wrapper [class*="winning-block"] {
  display: none !important;
}

/* Subtle winning indicator - small pill near bidder name */
.ag-wrapper .ag-price-bidder.is-winning::after {
  content: "● Winning";
  display: inline-block;
  margin-left: 8px;
  font-size: 10px;
  color: #22c55e;
  font-weight: 600;
}

/* Card highlight - orange glow, NOT red */
.ag-wrapper .ag-card.leader-glow,
.ag-wrapper .ag-card.bid-glow,
.ag-wrapper .ag-card.is-winning {
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3) !important;
  border-color: #F59E0B !important;
  animation: none !important;
}

/* Remove any red/green card glows */
.ag-wrapper .ag-card {
  box-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
}
.ag-wrapper .ag-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.4), 0 0 10px rgba(245, 158, 11, 0.2) !important;
  border-color: rgba(245, 158, 11, 0.5) !important;
}

/* ========================================
   BID BUDDY - Toggle with indicator light
   ======================================== */

/* Bid Buddy when selecting (pushed in look) */
.ag-wrapper .ag-btn-buddy.selecting {
  background: linear-gradient(180deg, #1D4ED8 0%, #1e40af 100%) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 0 8px rgba(37, 99, 235, 0.3) !important;
}

/* Active indicator light */
.ag-wrapper .ag-btn-buddy.active {
  position: relative !important;
}
.ag-wrapper .ag-btn-buddy.active::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e, 0 0 10px #22c55e;
  animation: indicatorPulse 1.5s infinite;
}
@keyframes indicatorPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px #22c55e; }
  50% { opacity: 0.7; box-shadow: 0 0 10px #22c55e, 0 0 15px #22c55e; }
}

/* Winning indicator - small subtle text */
.ag-wrapper .ag-winning-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #9CA3AF;
  margin-top: 4px;
}
.ag-wrapper .ag-winning-indicator::before {
  content: "";
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
}
.ag-wrapper .ag-winning-indicator.is-winning {
  color: #22c55e;
}

/* Hide loud winning banners */
.ag-wrapper .winning-banner,
.ag-wrapper .you-winning,
.ag-wrapper [class*="winning-block"],
.ag-wrapper .leader-banner {
  display: none !important;
}

/* ========================================
   BID OPTIONS - More prominent numbers
   ======================================== */

/* Bid option buttons - pop out more */
.bb-opt-btn {
  background: #4a4a4a !important;
  border: 2px solid #5a5a5a !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 3px 0 #333, 0 4px 8px rgba(0,0,0,0.3) !important;
  transition: all 0.1s ease !important;
}
.bb-opt-btn:hover {
  background: #F59E0B !important;
  border-color: #F59E0B !important;
  color: #000 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 0 #b45309, 0 6px 12px rgba(245,158,11,0.4) !important;
}
.bb-opt-btn:active {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 #333 !important;
}

/* Bid Buddy - pushed in when selecting */
.ag-wrapper .ag-btn-buddy.selecting {
  background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%) !important;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.5), inset 0 1px 3px rgba(0,0,0,0.3) !important;
  transform: translateY(1px) !important;
  border: 2px solid #1e3a8a !important;
}

/* Bid Buddy - normal state (raised) */
.ag-wrapper .ag-btn-buddy:not(.selecting):not(.active) {
  box-shadow: 0 4px 0 #1e3a8a, 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}
.ag-wrapper .ag-btn-buddy:not(.selecting):not(.active):hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 5px 0 #1e3a8a, 0 6px 15px rgba(37, 99, 235, 0.4) !important;
}

/* Bid Buddy - active state with indicator */
.ag-wrapper .ag-btn-buddy.active {
  background: linear-gradient(180deg, #2563EB 0%, #1D4ED8 100%) !important;
  box-shadow: 0 3px 0 #1e3a8a, 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

/* ========================================
   FIXES: Bid Buddy pressed state + no text select
   ======================================== */

/* Prevent text selection on cards */
.ag-wrapper .ag-card,
.ag-wrapper .ag-card * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

/* Bid Buddy - STRONG pushed in effect when selecting */
.ag-wrapper .ag-btn-buddy.selecting {
  background: linear-gradient(180deg, #1e3a8a 0%, #1e40af 100%) !important;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.6), inset 0 2px 4px rgba(0,0,0,0.4) !important;
  transform: translateY(3px) scale(0.97) !important;
  border: 2px solid #1e3a8a !important;
  filter: brightness(0.85) !important;
}

/* Normal Bid Buddy - raised look */
.ag-wrapper .ag-btn-buddy {
  box-shadow: 0 4px 0 #1e3a8a, 0 6px 12px rgba(37, 99, 235, 0.4) !important;
  transition: all 0.1s ease !important;
}
.ag-wrapper .ag-btn-buddy:hover:not(.selecting):not(.active) {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 #1e3a8a, 0 8px 16px rgba(37, 99, 235, 0.5) !important;
}
.ag-wrapper .ag-btn-buddy:active:not(.active) {
  transform: translateY(3px) scale(0.97) !important;
  box-shadow: inset 0 4px 10px rgba(0,0,0,0.6) !important;
}

/* Active state with green indicator */
.ag-wrapper .ag-btn-buddy.active {
  box-shadow: 0 3px 0 #1e3a8a, 0 4px 10px rgba(37, 99, 235, 0.3) !important;
}

/* ========================================
   BID BUDDY - CLEAR PRESSED STATE
   ======================================== */

/* Normal state - raised 3D button */
.ag-btn-buddy {
  box-shadow: 0 4px 0 #1e3a8a, 0 6px 12px rgba(37,99,235,0.4) !important;
  transform: translateY(0) !important;
  transition: all 0.15s ease !important;
}

/* Hover - lift up */
.ag-btn-buddy:hover:not(.selecting) {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 0 #1e3a8a, 0 8px 16px rgba(37,99,235,0.5) !important;
}

/* PRESSED/SELECTING - clearly pushed in */
.ag-btn-buddy.selecting {
  transform: translateY(4px) !important;
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.5), 0 0 0 #1e3a8a !important;
  background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%) !important;
  filter: brightness(0.8) !important;
}

/* Active with bids set - show indicator light */
.ag-btn-buddy.active::before {
  content: "" !important;
  position: absolute !important;
  top: 4px !important;
  right: 4px !important;
  width: 8px !important;
  height: 8px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 0 6px #22c55e !important;
  animation: pulse 1.5s infinite !important;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========================================
   CARD FIXES - cursor, no drag, fixed height
   ======================================== */

/* No text selection, pointer cursor, no drag */
.ag-wrapper .ag-card {
  cursor: default !important;
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}
.ag-wrapper .ag-card * {
  user-select: none !important;
  -webkit-user-select: none !important;
  -webkit-user-drag: none !important;
}
.ag-wrapper .ag-card img {
  pointer-events: none !important;
  -webkit-user-drag: none !important;
}
.ag-wrapper .ag-btn,
.ag-wrapper .ag-btn-buddy,
.ag-wrapper .bb-opt-btn {
  cursor: pointer !important;
}

/* Fixed height for action area - prevents layout shift */
.ag-wrapper .ag-action {
  min-height: 60px !important;
  height: 60px !important;
  display: flex !important;
  align-items: center !important;
}

/* Bid options container - same height as button area */
.bb-bid-options {
  height: 44px !important;
  align-items: center !important;
}

/* ========================================
   BID BUDDY - VERY OBVIOUS PRESSED STATE
   ======================================== */

/* Normal - raised */
.ag-wrapper .ag-btn-buddy {
  box-shadow: 0 5px 0 #1e3a8a !important;
  transform: translateY(0px) !important;
  transition: all 0.1s ease !important;
  position: relative !important;
}

/* Hover - lift */
.ag-wrapper .ag-btn-buddy:hover:not(.selecting):not(.active) {
  box-shadow: 0 7px 0 #1e3a8a !important;
  transform: translateY(-2px) !important;
}

/* SELECTING/PRESSED - VERY pushed in */
.ag-wrapper .ag-btn-buddy.selecting {
  box-shadow: inset 0 4px 8px rgba(0,0,0,0.6), 0 0 0 transparent !important;
  transform: translateY(5px) !important;
  background: linear-gradient(180deg, #1e3a8a 0%, #172554 100%) !important;
}

/* ACTIVE - has bids, slight press + green light */
.ag-wrapper .ag-btn-buddy.active {
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3), 0 2px 0 #1e3a8a !important;
  transform: translateY(2px) !important;
  background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%) !important;
}
.ag-wrapper .ag-btn-buddy.active::before {
  content: "" !important;
  position: absolute !important;
  top: 5px !important;
  right: 5px !important;
  width: 10px !important;
  height: 10px !important;
  background: #22c55e !important;
  border-radius: 50% !important;
  box-shadow: 0 0 8px #22c55e, 0 0 12px #22c55e !important;
  animation: greenPulse 1s infinite !important;
}

@keyframes greenPulse {
  0%, 100% { box-shadow: 0 0 8px #22c55e; }
  50% { box-shadow: 0 0 15px #22c55e, 0 0 20px #22c55e; }
}

/* YOU'RE WINNING button style */
.ag-wrapper .ag-btn.leading {
  flex: 1 !important;
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  cursor: default !important;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3) !important;
}

/* ========================================
   WINNING STATE - Disabled APPLY CREDIT
   ======================================== */

/* Remove red glow from winning/leader cards */
.ag-wrapper .ag-card.leader-glow {
  border-color: #3d3d3d !important;
  box-shadow: none !important;
  animation: none !important;
}

/* Disabled APPLY CREDIT button when winning */
.ag-wrapper .ag-btn.is-disabled,
.ag-wrapper .ag-btn.bid-now[disabled],
.ag-wrapper .ag-btn.bid-now.is-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  background: linear-gradient(180deg, #f5a623 0%, #f08c00 100%) !important;
}
.ag-wrapper .ag-btn.is-disabled:hover,
.ag-wrapper .ag-btn.bid-now[disabled]:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* ========================================
   HIGH BIDDER FLASH ANIMATION
   ======================================== */
@keyframes bidderFlash {
  0% { color: #fff; background: #F59E0B; padding: 2px 8px; border-radius: 4px; }
  50% { color: #fff; background: #F59E0B; }
  100% { color: #fff; background: transparent; padding: 0; }
}
.ag-wrapper .ag-price-bidder.flash,
.ag-wrapper .bid-bidder.flash {
  animation: bidderFlash 1s ease-out;
}

/* HIGH BIDDER FLASH - More visible */
@keyframes bidderFlashNew {
  0%, 20% { 
    background: #F59E0B; 
    color: #000;
    padding: 2px 10px; 
    border-radius: 4px;
    box-shadow: 0 0 15px #F59E0B;
  }
  100% { 
    background: transparent; 
    color: #fff;
    padding: 0;
    box-shadow: none;
  }
}
.ag-price-bidder.flash,
.bid-bidder.flash,
.ag-wrapper .ag-price-bidder.flash,
.ag-wrapper .bid-bidder.flash {
  animation: bidderFlashNew 1.2s ease-out !important;
}

/* ========================================
   PRICE FLASH ANIMATION ON BID
   ======================================== */
@keyframes priceFlash {
  0%, 15% { 
    color: #fff;
    text-shadow: 0 0 20px #F59E0B, 0 0 30px #F59E0B, 0 0 40px #F59E0B;
    transform: scale(1.15);
  }
  100% { 
    color: #F59E0B;
    text-shadow: 0 0 6px rgba(245,158,11,0.2);
    transform: scale(1);
  }
}
.ag-price-value.flash,
.bid-price.flash,
.ag-wrapper .ag-price-value.flash,
.ag-wrapper .bid-price.flash {
  animation: priceFlash 0.8s ease-out !important;
}
