/* ──────────────────────────────────────────────────────────
   AUCTIONS SECTION — Studies Learning
   Harmonized with Popular Courses Section
   ────────────────────────────────────────────────────────── */

/* The section now uses .eduma-courses-section classes globally.
   We only add specific overrides for auction-specific elements here. */

.auctions-section {
    /* Inherits height: 100vh and padding: -3vh 0 from eduma-courses-section */
}

/* Header Action alignment override for Auctions */
.auctions-section .header-right-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

/* Timer Overlay - Refined Glassmorphism (Specific to Auctions) */
.auction-timer-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 1rem 0.6rem;
    background: linear-gradient(to top, rgba(15, 23, 100, 0.5) 0%, transparent 100%);
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.js-auction-clock {
    display: flex;
    gap: 0.4rem;
    justify-content: center;
}

.timer-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 3px 1px;
    color: #fff;
    text-align: center;
    min-width: 38px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timer-box span {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0;
}

.timer-box small {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.85;
}

/* Auction price refinement (Global cards use .formations-card-price) */
.auction-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-blue);
}

/* Swiper Slider Overrides to match courses exactly */
.eduma-auctions-swiper {
    width: 100%;
    padding: 10px 0 30px 0;
}

/* Ensure the navigation buttons follow the courses section style */
/* They already do via .swiper-button-prev-custom logic in courses-section.css */

/* Grid spacing if used */
.auctions-section .formations-grid {
    margin-top: 2vh;
}
