:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --primary: #4f7cff;
  --accent: #7c4dff;
  --muted: #6b7280;
  --text: #111827;
  --shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
  --radius: 14px;
  --pad: 18px;
  
}
.auction-tabs { display:flex; list-style:none; margin-bottom:20px; padding-left:0;  }
.auction-tabs .tab { padding:10px 20px; cursor:pointer; border:1px solid #ddd; border-bottom:none; background:#f9f9f9; margin-right:5px; border-radius:5px 5px 0 0; }
.auction-tabs .tab.active { background:#fff; font-weight:bold; }
.auction-item { border:1px solid #eee; padding:15px; margin-bottom:10px; border-radius:5px; background:#fff; }
.badge { display:inline-block; padding:2px 8px; border-radius:4px; color:#fff; font-size:12px; margin-bottom:5px; }
.badge.active { background:#3498db; }
.badge.won { background:#2ecc71; }
.badge.lost { background:#e74c3c; }
.rebid-btn { display:inline-block; margin-top:0px; background:#3498db; color:#fff; padding:5px 10px; border-radius:4px; text-decoration:none; }
.rebid-btn:hover { background:#2980b9; }
.rebid-amount {
    width: 100px;
    padding: 5px;
    margin-left: 10px;
}
.rebid-box input::placeholder{color:#000;}
.my-auctions-wrapper header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}
#pdma-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #3498db;
    color: #fff;
    padding: 12px 20px;
    border-radius: 5px;
    z-index: 9999;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    font-size: 14px;
}
.my-auctions-wrapper  h1 {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  color: transparent;
}
#pdma-notification.success { background: #2ecc71; }
#pdma-notification.error { background: #e74c3c; }
.my-auctions-wrapper {
  max-width: 900px;
  margin: auto;
}

.auction-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
  list-style: none;
  padding: 0;
}

.auction-tabs .tab {
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  background: #eee;
  font-weight: 500;
}

.auction-tabs .tab.active {
  background: #4a8fe7;
  color: #fff;
}

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

.auction-item {
  display: flex;
  gap: 15px;
  background: #fff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
}

.auction-thumb img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 6px;
}

.auction-info h4 {
  margin: 6px 0;
}

.badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-block;
}

.badge.active { background: #4a8fe7; color: #fff; }
.badge.won { background: #2ecc71; color: #fff; }
.badge.lost { background: #e74c3c; color: #fff; }

.rebid-box {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.rebid-box input {
  width: 140px;
  padding: 6px;
}

/*.rebid-box button {
  background: #4a8fe7;
  color: #fff;
  border: 0;
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
}*/

.rebid-box button:disabled {
  opacity: .5;
  cursor: not-allowed;
}
.tab-content {
  display: none;
}

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






/*********** new CSS ******/
:root {
  --bg: #f7f8fb;
  --card: #ffffff;
  --primary: #4f7cff;
  --accent: #7c4dff;
  --muted: #6b7280;
  --text: #111827;
  --shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
  --radius: 14px;
}

/* Wrapper */
.my-auctions-wrapper {
  max-width: 1100px;
  padding: 0px 20px;
  animation: fadeIn 0.8s ease;
}

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

/* Tabs */
.auction-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.auction-tabs .tab {
  padding: 10px 18px;
  border-radius: 30px;
  background: #1b1f27;
  border: 1px solid #2b3240;
  color: var(--muted);
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
  font-size: 13px;
}
.woocommerce-Price-amount.amount {
  font-weight: 600;
}
.auction-timer {
  padding: 4px 10px;
  background: #f3f4f6;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 13px;
  color: #374151;
}
.auction-tabs .tab.active,
.auction-tabs .tab:hover {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Auction List */
.auction-lists .tab-content {
  display: none;
}

.auction-lists .tab-content.active {
  display: grid;
  gap: 20px;
}

/* Card */
.auction-item {
  background: var(--card);
  padding: 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  border: 1px solid #e5e7eb;
  transition: 0.25s ease;
}

.auction-item:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: var(--primary);
  box-shadow: 0 12px 32px rgba(91, 139, 255, 0.25);
}

/* Thumbnail */
.auction-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background: #f1f3f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auction-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Info */
.auction-info {
  flex: 1;
}

.auction-title {
  font-size: 17px;
  font-weight: 600;
  margin: 4px 0 6px;
  color: #000;
}

.auction-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #000;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}

.badge.active {
  background: rgba(91, 139, 255, 0.15);
  color: var(--primary);
}

.badge.won {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.badge.lost {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* Rebid */
.rebid-box {
  margin-left: auto;
  display: flex;
  gap: 10px;
  align-items: center;
}

.rebid-amount {
  padding: 6px 8px;
  width: 90px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-weight: 600;
}

.rebid-btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border: none;
  color: white;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.rebid-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Modal */
.auction-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  z-index: 9999;
}

.auction-overlay.show {
  display: flex;
}

.auction-modal {
  background: #1b1f27;
  padding: 26px;
  border-radius: 16px;
  width: 360px;
  border: 1px solid #2a3040;
  animation: pop 0.25s ease;
  color: #fff;
}

@keyframes pop {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.woocommerce-account .woocommerce-MyAccount-content {
  float: right;
  width: 74% !important;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  float: left;
  width: 25% !important;
}

.rebid-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.rebid-btn {
  padding: 8px 14px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border: none;
  color: white;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: 0.25s;
}
.pay-now-btn {
    display: inline-block;
    margin-top: 10px;
    background: #28a745;
    color: #fff;
    padding: 8px 14px;
    border-radius: 4px;
    text-decoration: none;
}
.pay-now-btn:hover {
    background: #218838;
}
.paid-label {
    display: inline-block;
    margin-top: 10px;
    color: #888;
    font-weight: bold;
}
