/* --- 1. WRAPPER & SECTION --- */
.auc-fragment-wrapper { padding: 25px 15px; box-sizing: border-box; }
.auc-section { margin-bottom: 25px; }

/* --- 2. HEADER --- */
.auc-sec-head { 
    background: #0A66C2; color: white; padding: 18px 25px; 
    border-radius: 18px 18px 0 0; display: flex; 
    justify-content: space-between; align-items: center; 
    font-size: 1.1rem; font-weight: 800;
}

/* --- 3. LIST BOX --- */
.auc-box { 
    background: white; border-radius: 0 0 18px 18px; 
    border: 1px solid #e2e8f0; border-top: none; overflow: hidden;
}

/* --- 4. ITEMS --- */
.auc-item { 
    padding: 22px 25px; border-bottom: 1px solid #f1f5f9;
    background-color: #ffffff; animation: profRowSlideUp 0.5s ease forwards;
}
.auc-item:nth-child(even) { background-color: #f8fafc; }

/* --- 5. DATA LAYOUT --- */
.auc-row { display: flex; justify-content: space-between; margin-bottom: 12px; }
.auc-col { flex: 1; }
.auc-col.right { text-align: right; }

.auc-label { display: block; font-size: 0.7rem; font-weight: 700; color: #94a3b8; text-transform: uppercase; }
.auc-value { display: block; font-size: 0.95rem; font-weight: 800; color: #2d3436; margin-top: 2px; }

/* --- 6. LIVE BID DISPLAYS --- */
.auc-bid-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 5px; }

.auc-bid-info-box { 
    background: #f8fafc; padding: 12px; border-radius: 12px; 
    border: 1px solid #e2e8f0; text-align: center;
}
.auc-bid-info-box.highlight { background: rgba(10, 102, 194, 0.05); border-color: rgba(10, 102, 194, 0.1); }

.auc-mini-label { font-size: 0.65rem; font-weight: 700; color: #64748b; text-transform: uppercase; }
.auc-mini-val { font-size: 1rem; font-weight: 800; color: #0A66C2; display: block; }

/* --- 7. MY ACTIVE BID BADGE --- */
.auc-status-badge {
    background: #e0f2fe; color: #0369a1; padding: 10px 15px;
    border-radius: 10px; display: flex; justify-content: space-between;
    align-items: center; margin-top: 15px; border: 1px solid #bae6fd;
}
.auc-my-bid-text { font-size: 0.85rem; font-weight: 700; }
.auc-change-link { font-size: 0.75rem; font-weight: 800; text-decoration: underline; cursor: pointer; color: #0A66C2; }

/* --- 8. BID INTERFACE --- */
.auc-input-group { 
    display: none; 
    flex-direction: column;
    gap: 12px; 
    margin-top: 15px; 
    animation: aucSlideDown 0.3s ease-out; 
    width: 100%;
    box-sizing: border-box;
}
.auc-input-group.active { display: flex; }

.auc-input-wrapper { position: relative; width: 100%; box-sizing: border-box; }
.auc-input-wrapper span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #64748b; font-weight: 800; }

.auc-bid-input { 
    width: 100%; 
    padding: 14px 15px 14px 35px; 
    border: 2px solid #e2e8f0; 
    border-radius: 12px; 
    font-weight: 700; 
    font-family: inherit;
    box-sizing: border-box;
}

/* --- 9. PRIMARY BUTTON (Updated for equal sizing) --- */
.auc-btn-primary {
    width: 100%; 
    padding: 16px; 
    margin-top: 15px;
    background: linear-gradient(135deg, #0A66C2 0%, #1e3a8a 100%);
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.auc-btn-primary:hover {
    background: linear-gradient(135deg, #1e78d6 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.auc-btn-primary:active {
    transform: translateY(0);
}

.auc-input-group .auc-btn-glossy { margin-top: 0; } 

.auc-btn-glossy.confirm { background: linear-gradient(135deg, #10b981 0%, #059669 100%); }

/* --- 10. LIVE AUCTION BUTTON (Updated for equal sizing) --- */
.auc-btn-live {
    width: 100%; 
    padding: 16px; 
    margin-top: 15px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.auc-btn-live:hover {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.auc-btn-live:active {
    transform: translateY(0);
}

/* --- 11. DUAL BUTTONS LAYOUT (Equal sizing) --- */
.auc-dual-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.auc-dual-buttons .auc-btn-primary,
.auc-dual-buttons .auc-btn-live {
    margin-top: 0;
    height: 48px; /* Equal height */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- 12. INFO NOTICE --- */
.auc-notice-card {
    background: #fff9db; border: 1px solid #fab005; padding: 15px;
    border-radius: 12px; display: flex; gap: 12px; align-items: center;
    color: #856404; font-size: 0.85rem; font-weight: 600; margin-top: 25px;
}

/* --- 13. RESTRICTED STATE --- */
.auc-restricted-notice {
    transition: all 0.3s ease;
}

/* --- 14. BIDDING SUMMARY --- */
.auc-bidding-summary {
    animation: slideDown 0.4s ease-out;
}

/* --- 15. STATUS BADGES --- */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-nonprized {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.status-prized {
    background: #fef3c7;
    color: #d97706;
    border: 1px solid #fbbf24;
}

.status-auctioned {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

@keyframes aucSlideDown { 
    from { opacity: 0; transform: translateY(-5px); } 
    to { opacity: 1; transform: translateY(0); } 
}

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

/* Simple fix - make confirm button match others */
.auc-btn-glossy {
    width: 100%; 
    padding: 16px; 
    margin-top: 15px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white; 
    border: none; 
    border-radius: 12px; 
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-height: 48px;
}

.auc-btn-glossy:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.auc-btn-glossy:active {
    transform: translateY(0);
}

.auc-input-group .auc-btn-glossy { 
    margin-top: 0; 
}

/* Force live auction button to be visible */
.auc-btn-live {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%) !important;
    color: white !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3) !important;
}

.auc-dual-buttons {
    display: flex !important;
    gap: 10px !important;
    margin-top: 15px !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.auc-btn-live:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4) !important;
}

.auc-btn-live i {
    margin-right: 6px;
}