/**
 * Countdown Timer Styles
 */

.countdown-timer {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e8e 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    text-align: center;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.5);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
}

.countdown-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.countdown-display {
    display: flex;
    justify-content: center;
    align-items: center;
}

.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
}

.countdown-value {
    font-size: 28px;
    font-weight: 700;
    min-width: 50px;
    height: 50px;
    line-height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    margin-bottom: 5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Flash effect for seconds */
.countdown-value.flash {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.countdown-separator {
    font-size: 28px;
    font-weight: 700;
    margin: 0 5px;
    line-height: 50px;
}

/* RTL Support */
html[dir="rtl"] .countdown-timer {
    direction: rtl;
}

/* Responsive styles */
@media (max-width: 576px) {
    .countdown-value {
        font-size: 22px;
        min-width: 40px;
        height: 40px;
        line-height: 40px;
    }
    
    .countdown-separator {
        font-size: 22px;
        line-height: 40px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
}

/* Dark theme support */
@media (prefers-color-scheme: dark) {
    .countdown-timer {
        background: linear-gradient(135deg, #d63031 0%, #ff6b6b 100%);
    }
} 