/* Dynamic Pricing & Urgency Styles */

/* Countdown Timer */
.dfp-countdown-wrapper {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 3px solid #F59E0B;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    margin: 30px 0;
}

.dfp-countdown-label {
    font-size: 16px;
    font-weight: 700;
    color: #92400E;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.dfp-countdown-timer {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.dfp-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 10px;
    padding: 15px 20px;
    min-width: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.dfp-countdown-value {
    font-size: 36px;
    font-weight: 800;
    color: #D97706;
    font-family: 'Courier New', monospace;
    line-height: 1;
}

.dfp-countdown-unit {
    font-size: 12px;
    color: #92400E;
    text-transform: uppercase;
    margin-top: 5px;
    font-weight: 600;
}

/* Minimal Style */
.dfp-countdown-wrapper.style-minimal {
    background: transparent;
    border: none;
    padding: 10px;
}

.dfp-countdown-wrapper.style-minimal .dfp-countdown-item {
    background: #F9FAFB;
    padding: 10px 15px;
    min-width: 60px;
}

.dfp-countdown-wrapper.style-minimal .dfp-countdown-value {
    font-size: 24px;
}

/* Large Style */
.dfp-countdown-wrapper.style-large .dfp-countdown-value {
    font-size: 48px;
}

.dfp-countdown-wrapper.style-large .dfp-countdown-item {
    min-width: 100px;
    padding: 20px;
}

/* Expired */
.dfp-countdown-expired {
    background: #FEE2E2;
    border: 2px solid #EF4444;
    color: #991B1B;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
}

/* Spots Left */
.dfp-spots-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ECFDF5;
    border: 2px solid #10B981;
    color: #065F46;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    animation: pulse 2s infinite;
}

.dfp-spots-left.warning {
    background: #FEF3C7;
    border-color: #F59E0B;
    color: #92400E;
}

.dfp-spots-left.critical {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #991B1B;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.dfp-spots-icon {
    font-size: 20px;
}

.dfp-spots-sold-out {
    background: #F3F4F6;
    border: 2px solid #9CA3AF;
    color: #6B7280;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

/* Flash Sale */
.dfp-flash-sale {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.dfp-flash-sale::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.dfp-flash-label {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.dfp-flash-discount {
    font-size: 48px;
    font-weight: 900;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.dfp-flash-timer {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

.dfp-flash-countdown {
    font-family: 'Courier New', monospace;
    font-size: 20px;
    font-weight: 800;
}

/* Flash Sale States */
.dfp-flash-sale.upcoming {
    background: linear-gradient(135deg, #3B82F6 0%, #1D4ED8 100%);
}

.dfp-flash-sale.ended {
    background: #9CA3AF;
}

/* Mobile Responsive */
@media (max-width: 640px) {
    .dfp-countdown-timer {
        gap: 8px;
    }
    
    .dfp-countdown-item {
        padding: 10px 12px;
        min-width: 60px;
    }
    
    .dfp-countdown-value {
        font-size: 24px;
    }
    
    .dfp-countdown-unit {
        font-size: 10px;
    }
    
    .dfp-flash-discount {
        font-size: 36px;
    }
}

