#register #recaptcha_area {
	margin-left: 190px;
}
#featured-ending-auctions {
	width: 960px;
}

#static section article {
	width: 90%;

}
.stats a.history {
	margin-left: 10px;
}
#remind {
	float: right;
	margin-right: 60px;
	margin-top: 14px;
}

#static.how-it-works article div {
	width: 100%;
}

/* ckeditor content display fixes */
#product-details img {
	max-width: 100%;
}
#product-details section h1,
#product-details section h2,
#product-details section h3,
#product-details section h4 {
	margin: 0px;	
	padding: 0px;
	border: 0;	
	background: none;
	float:none;
	display: block;
}

/* Login Page ONLY - Very Specific Selectors */
body #main #login {
    width: 920px;
    padding: 20px 20px;
    background-color: #f7f7f7;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
    border: 1px solid #999999;
    display: inline-block;
    margin-bottom: 6px;
    position: relative;
    float: left;
}

body #main #login section {
    -webkit-box-shadow: inset 0 -20px 20px rgba(0, 0, 0, 0.05), 1px 1px 2px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: inset 0 -20px 20px rgba(0, 0, 0, 0.05), 1px 1px 2px rgba(0, 0, 0, 0.25);
    box-shadow: inset 0 -20px 20px rgba(0, 0, 0, 0.05), 1px 1px 2px rgba(0, 0, 0, 0.25);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #999999;
    background-color: #ffffff;
    padding: 30px 20px;
}

body #main #login section h3 {
    font-size: 20px;
    line-height: 1.4em;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 700;
}

body #main #login section h3 strong {
    font-weight: 700;
}

body #main #login section h3 a {
    color: #0069d6;
}

body #main #login section h3 a:hover {
    color: #00438a;
    text-decoration: underline;
}

body #main #login section form {
    padding-top: 10px;
    clear: both;
}

body #main #login section form fieldset {
    width: 600px;
    margin: 0 auto;
    border: none;
    padding: 0;
}

body #main #login section form fieldset .clearfix {
    margin-bottom: 18px;
    clear: both;
}

body #main #login section form fieldset label {
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    margin-right: 10px;
    width: 180px;
    float: left;
    text-align: right;
    padding-top: 6px;
}

body #main #login section form fieldset input[type="text"],
body #main #login section form fieldset input[type="password"] {
    font-size: 16px;
    height: 24px;
    line-height: 24px;
    padding: 4px 10px;
    width: 300px;
    background-color: #fbfbfb;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

body #main #login section form fieldset input[type="text"]:focus,
body #main #login section form fieldset input[type="password"]:focus {
    outline: 0;
    border-color: rgba(82, 168, 236, 0.8);
    -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
}

body #main #login section form fieldset .checkbox {
    margin: 15px 0 20px 0;
}

body #main #login section form fieldset .checkbox input[type="checkbox"] {
    width: auto;
    float: left;
    margin: 5px 0 0 190px;
}

body #main #login section form fieldset .checkbox label {
    float: left;
    width: auto;
    text-align: left;
    padding-top: 2px;
    padding-left: 8px;
    font-weight: 400;
    font-size: 14px;
}

body #main #login section form fieldset .submit {
    text-align: center;
    margin-top: 20px;
}

body #main #login section form fieldset .submit .btn {
    font-size: 18px;
    font-weight: 700;
    padding: 10px 40px;
    text-transform: uppercase;
}

body #main #login section .clearfix:last-of-type {
    margin-top: 15px;
    text-align: center;
}

body #main #login section .clearfix:last-of-type a {
    color: #0069d6;
    font-size: 14px;
}


/* ========================================
   Bid History - New Design
   ======================================== */
.recent-top-bids {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
}

.bids-header {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.active {
    background: #22c55e;
    box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.bid-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 400px;
    overflow-y: auto;
}

.bid-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #f9fafb;
    border-radius: 8px;
    transition: background 0.2s;
}

.bid-history-item:hover {
    background: #f3f4f6;
}

.bid-history-item.is-leader {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid #fbbf24;
}

.bid-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bid-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.bid-history-item.is-leader .bid-avatar {
    border-color: #fbbf24;
}

.bid-username {
    font-weight: 500;
    color: #374151;
    font-size: 14px;
}

.leader-crown {
    margin-left: 4px;
}

.bid-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bid-time {
    color: #6b7280;
    font-size: 13px;
}

.bid-price {
    background: #3b82f6;
    color: #fff;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    min-width: 60px;
    text-align: center;
}

.bid-history-item.is-leader .bid-price {
    background: #f59e0b;
}

.no-bids-message {
    text-align: center;
    color: #9ca3af;
    padding: 30px;
    font-size: 14px;
}

/* Other Bidders Section */
.other-bidders {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.other-bidders h5 {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
}

.bidder-avatars {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.bidder-avatars img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.more-bidders {
    background: #e5e7eb;
    color: #374151;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.view-all-link {
    color: #3b82f6;
    font-size: 13px;
    text-decoration: none;
}

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

/* Fix bid history layout - override conflicts */
.bid-history-item {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.bid-user-info {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

.bid-details {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
}

/* Ensure avatar shows properly */
.bid-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: inline-block !important;
}

.ag-wrapper .ag-action .ag-btn{
  flex:1 1 auto !important;
  min-height:44px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

.ag-wrapper .ag-action .ag-btn-buddy{
  flex:0 0 52px !important;
  width:52px !important;
  min-width:52px !important;
  max-width:52px !important;
  height:44px !important;
  padding:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1.1 !important;
  text-align:center !important;
  border-radius:10px !important;
}


/* =========================================================
.ag-wrapper .ag-action{
  display:flex !important;
  gap:8px !important;
  align-items:stretch !important;
}

.ag-wrapper .ag-action .ag-btn{
  flex:1 1 auto !important;
  min-height:44px !important;
  padding:0 20px !important;
  background: linear-gradient(180deg, #f9ae15 0%, #f8991d 50%, #e88a10 100%) !important;
  border: 1px solid #d87d0a !important;
  border-radius: 6px !important;
  color:#fff !important;
  font-size:18px !important;
  font-weight:700 !important;
  cursor:pointer !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 0 4px 12px rgba(248,153,29,0.3) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  text-transform:uppercase !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.ag-wrapper .ag-action .ag-btn:hover{
  background: linear-gradient(180deg, #ffbe30 0%, #f9ae15 50%, #f8991d 100%) !important;
  box-shadow: 0 6px 16px rgba(248,153,29,0.4) !important;
}

.ag-wrapper .ag-action .ag-btn-buddy{
  flex:0 0 52px !important;
  width:52px !important;
  min-width:52px !important;
  max-width:52px !important;
  height:44px !important;
  padding:0 !important;
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%) !important;
  border: 1px solid #1e40af !important;
  border-radius: 6px !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:700 !important;
  cursor:pointer !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3) !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1.1 !important;
  text-align:center !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.ag-wrapper .ag-action .ag-btn-buddy:hover{
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
  box-shadow: 0 6px 16px rgba(59,130,246,0.4) !important;
}

.ag-wrapper .ag-action .ag-btn-buddy.active{
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3) !important;
}



/* =========================================================
   FINAL OVERRIDE: Auction buttons (Apply Credit + Bid Buddy)
   Demo-matching styles + fixed sizing
   ========================================================= */

.ag-wrapper .ag-action{
  display:flex !important;
  gap:8px !important;
  align-items:stretch !important;
}

/* Make sure ANY element styled as .ag-btn behaves like the demo button */
.ag-wrapper .ag-action .ag-btn{
  flex:1 1 auto !important;
  min-height:44px !important;
  padding:0 20px !important;

  background: linear-gradient(180deg, #f9ae15 0%, #f8991d 50%, #e88a10 100%) !important;
  border: 1px solid #d87d0a !important;
  border-radius: 6px !important;

  color:#fff !important;
  font-size:18px !important;
  font-weight:700 !important;
  cursor:pointer !important;

  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 0 4px 12px rgba(248,153,29,0.3) !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  text-transform:uppercase !important;

  /* kill bounce/lift */
  transform:none !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.ag-wrapper .ag-action .ag-btn:hover{
  background: linear-gradient(180deg, #ffbe30 0%, #f9ae15 50%, #f8991d 100%) !important;
  box-shadow: 0 6px 16px rgba(248,153,29,0.4) !important;
  transform:none !important;
}

/* Bid Buddy (works whether it's button/span/a/div) */
.ag-wrapper .ag-action .ag-btn-buddy{
  flex:0 0 52px !important;
  width:52px !important;
  min-width:52px !important;
  max-width:52px !important;
  height:44px !important;
  padding:0 !important;

  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%) !important;
  border: 1px solid #1e40af !important;
  border-radius: 6px !important;

  color:#fff !important;
  font-size:12px !important;
  font-weight:700 !important;
  cursor:pointer !important;

  text-shadow: 0 1px 2px rgba(0,0,0,0.3) !important;
  box-shadow: 0 4px 12px rgba(59,130,246,0.3) !important;

  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1.1 !important;
  text-align:center !important;

  transform:none !important;
  transition: background 0.2s ease, box-shadow 0.2s ease !important;
}

.ag-wrapper .ag-action .ag-btn-buddy:hover{
  background: linear-gradient(180deg, #60a5fa 0%, #3b82f6 50%, #2563eb 100%) !important;
  box-shadow: 0 6px 16px rgba(59,130,246,0.4) !important;
  transform:none !important;
}

.ag-wrapper .ag-action .ag-btn-buddy.active{
  background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 50%, #1e3a8a 100%) !important;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.3) !important;
  transform:none !important;
}

.ag-wrapper .ag-title { height: 48px !important; min-height: 48px !important; overflow: hidden; }
.ag-wrapper .ag-action .ag-btn.leading { flex: 1; height: 44px !important; background: linear-gradient(135deg, #3b82f6, #2563eb) !important; cursor: default !important; }

/* ========================================
   PRICE FLASH ANIMATION ON BID
   ======================================== */
@keyframes priceFlash {
  0%, 30% { 
    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.2s ease-out forwards !important; animation-iteration-count: 1 !important;
  display: inline-block !important;
}

/* Disabled APPLY CREDIT button */
.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;
}

/* ========================================
   TIMER - Soft Urgency Pulse (< 10 seconds)
   ======================================== */
@keyframes timerUrgencyPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.ag-wrapper .ag-timer-flip.urgent .ag-digit {
  animation: timerUrgencyPulse 1s ease-in-out infinite;
}

/* ========================================
   TITLE BRIGHTEN ON CARD HOVER
   ======================================== */
.ag-wrapper .ag-card .ag-title a {
  transition: color 0.2s ease, text-shadow 0.2s ease;
}
.ag-wrapper .ag-card:hover .ag-title a {
  color: #fbbf24;
  text-shadow: 0 0 25px rgba(251, 191, 36, 0.7), 0 0 40px rgba(251, 191, 36, 0.4);
}

/* ========================================
   BID BUDDY INDICATOR LIGHT
   ======================================== */
.ag-btn-buddy.active {
  background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
  position: relative;
}
.ag-btn-buddy.active .bb-indicator {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: bbPulse 1.5s ease-in-out infinite;
}
@keyframes bbPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px #22c55e; }
  50% { opacity: 0.6; box-shadow: 0 0 8px #22c55e; }
}
/* Disabled Bid Buddy */
.ag-btn-buddy.is-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

/* ========================================
   LARGER PRODUCT IMAGE
   ======================================== */
.ag-wrapper .ag-img {
    height: 170px !important;
    min-height: 170px !important;
}
.ag-wrapper .ag-img img {
    max-height: 160px !important;
    padding: 5px !important;
}

/* ========================================
   COMPACT TITLE SPACING
   ======================================== */
.ag-wrapper .ag-title {
    padding: 4px 12px 2px !important;
    margin: 0 !important;
}
.ag-wrapper .ag-img {
    margin: 2px auto !important;
}

/* ========================================
   TITLE TEXT POSITION - MOVE DOWN
   ======================================== */
.ag-wrapper .ag-card .ag-title {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.ag-wrapper .ag-card .ag-title a {
    margin-top: 0 !important;
    padding-top: 2px !important;
    padding-bottom: 2px !important;
    min-height: auto !important;
}

/* ========================================
   REDUCE SPACE ABOVE TITLE
   ======================================== */
.ag-wrapper .ag-card {
    padding-top: 0 !important;
}
.ag-wrapper .ag-card .ag-title {
    margin-top: -5px !important;
}

/* ========================================
   FIX TITLE OVERLAP - PROPER SPACING
   ======================================== */
.ag-wrapper .ag-card .ag-title {
    margin-top: 8px !important;
    padding: 6px 12px 4px !important;
}

/* ========================================
   MOVE IMAGE UP CLOSER TO TITLE
   ======================================== */
.ag-wrapper .ag-card .ag-img {
    margin-top: -5px !important;
    margin-bottom: 2px !important;
}

/* ========================================
   MOVE IMAGE UP MORE
   ======================================== */
.ag-wrapper .ag-card .ag-img {
    margin-top: -12px !important;
}

/* ========================================
   MOVE IMAGE UP TINY BIT MORE
   ======================================== */
.ag-wrapper .ag-card .ag-img {
    margin-top: -16px !important;
}

/* ========================================
   TIMER URGENCY - RED AT WARNING THRESHOLD
   ======================================== */
.ag-timer-flip.urgent .ag-digit,
.ag-timer-flip.climax .ag-digit {
    background: linear-gradient(180deg, #dc2626 0%, #b91c1c 50%, #991b1b 51%, #7f1d1d 100%) !important;
    color: #fff !important;
    animation: pulseRed 0.5s infinite !important;
}
@keyframes pulseRed {
    0%, 100% { box-shadow: 0 0 8px #dc2626; }
    50% { box-shadow: 0 0 15px #ef4444; }
}
