/* Основные стили для обратного отсчета */
.new-year-countdown-container {
    text-align: center;
    font-family: 'Arial', sans-serif;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
}

.countdown-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 5px;
    min-width: 70px;
}

.countdown-number {
    font-size: 2em;
    font-weight: bold;
    background: #f5f5f5;
    border-radius: 5px;
    padding: 10px;
    min-width: 60px;
    display: inline-block;
    color: #333;
}

.countdown-label {
    font-size: 0.9em;
    margin-top: 5px;
    color: #666;
}

.countdown-separator {
    font-size: 1.8em;
    font-weight: bold;
    margin: 0 5px;
    color: #333;
}

/* Стиль по умолчанию */
.new-year-countdown-default {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border: 1px solid #ddd;
}

.new-year-countdown-default .countdown-number {
    background: #fff;
    border: 2px solid #4a90e2;
    color: #4a90e2;
}

.new-year-countdown-default .countdown-separator {
    color: #4a90e2;
}

/* Компактный стиль */
.new-year-countdown-compact {
    background: transparent;
    padding: 10px 0;
}

.new-year-countdown-compact .countdown-title {
    font-size: 1em;
    margin-bottom: 10px;
}

.new-year-countdown-compact .countdown-item {
    min-width: 50px;
}

.new-year-countdown-compact .countdown-number {
    font-size: 1.5em;
    padding: 5px;
    min-width: 40px;
}

.new-year-countdown-compact .countdown-label {
    font-size: 0.8em;
}

.new-year-countdown-compact .countdown-separator {
    font-size: 1.3em;
}

/* Праздничный стиль */
.new-year-countdown-festive {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    border: none;
    color: white;
}

.new-year-countdown-festive .countdown-title {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.new-year-countdown-festive .countdown-number {
    background: rgba(255, 255, 255, 0.9);
    color: #ff4b2b;
    border: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.new-year-countdown-festive .countdown-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: bold;
}

.new-year-countdown-festive .countdown-separator {
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* Адаптивность */
@media (max-width: 600px) {
    .countdown-item {
        margin: 0 3px;
        min-width: 60px;
    }
    
    .countdown-number {
        font-size: 1.5em;
        min-width: 50px;
        padding: 8px;
    }
    
    .countdown-separator {
        font-size: 1.3em;
        margin: 0 3px;
    }
}

@media (max-width: 400px) {
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.2em;
        min-width: 40px;
        padding: 5px;
    }
    
    .countdown-label {
        font-size: 0.8em;
    }
    
    .countdown-separator {
        font-size: 1.1em;
    }
}