/**
 * Frontend Styles for HQ40 PowerMat
 */

/* Countdown Timer */
.hq40-countdown-timer {
    margin: 20px 0;
}

.hq40-countdown-label {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #ffffff;
}

.hq40-countdown-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.hq40-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hq40-countdown-item span.hq40-countdown-days,
.hq40-countdown-item span.hq40-countdown-hours,
.hq40-countdown-item span.hq40-countdown-minutes {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    color: #ffffff;
    display: block;
}

.hq40-countdown-label-unit {
    font-size: 0.7rem;
    font-weight: normal;
    margin-top: 5px;
    text-transform: uppercase;
    color: #ffffff;
}

.hq40-countdown-separator {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin: 0 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    line-height: 1;
    padding-bottom: 0;
    height: auto;
}

.hq40-countdown-separator::before {
    content: ':';
    display: inline-block;
    line-height: 1;
}

.hq40-countdown-expired {
    color: #d32f2f;
    font-weight: bold;
    padding: 10px;
    text-align: center;
}

.hq40-countdown-no-date {
    color: #666;
    font-style: italic;
    padding: 10px;
}

/* Sold Quantity */


.hq40-sold-quantity-label {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.hq40-progress-bar {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.hq40-progress-bar-fill {
    height: 100%;
    background-color: #000000;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.hq40-sold-quantity-text {
    margin-top: 10px;
    font-size: 0.8rem;
}

.hq40-sold-quantity-text strong {
    font-style: italic;
}

.hq40-sold-value {
    font-weight: bold;
}

.hq40-total-value {
    font-weight: normal;
}

/* Min Order Quantity */
.hq40-min-order-quantity {
    font-size: 0.8rem;
    display:flex;gap:0.5rem;
}

.hq40-min-order-quantity strong {
    display: block;
    margin-bottom: 5px;
}

.hq40-min-qty-value {
    font-weight: bold;
}

/* Payment Split */
.hq40-payment-split {
    font-size: 0.8rem;
    display:flex;gap:0.5rem;
}

.hq40-payment-split strong {
    display: block;
    margin-bottom: 5px;
}

.hq40-payment-split-values {
    display: inline-block;
}

.hq40-payment-at-order,
.hq40-payment-at-pickup {
    font-weight: bold;
}

/* Offer Expired Message */
.hq40-offer-expired-message {
    margin: 20px 0;
    padding: 15px;
    background-color: #ffebee;
    border-left: 4px solid #d32f2f;
}

.hq40-offer-expired-message .woocommerce-info {
    margin: 0;
    color: #d32f2f;
}

/* Responsive */
@media (max-width: 768px) {
    .hq40-countdown-item span.hq40-countdown-days,
    .hq40-countdown-item span.hq40-countdown-hours,
    .hq40-countdown-item span.hq40-countdown-minutes {
        font-size: 1.2rem;
        color: #ffffff;
    }
    
    .hq40-countdown-label-unit {
        font-size: 0.8rem;
        color: #ffffff;
    }
    
    .hq40-countdown-separator {
        font-size: 1.2rem;
        color: #ffffff;
    }
    
    .hq40-countdown-label {
        color: #ffffff;
    }
}
