/**
 * Countdown Timer Pro - Styles
 * Version: 1.0.0
 */

.countdown-timer-pro {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 0;
    gap: 0 !important;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    z-index: 1;
}

/* Celebration canvas overlay */
.countdown-timer-pro-celebration {
    position: absolute !important;
    pointer-events: none !important;
    z-index: 1000 !important;
}

.countdown-timer-pro > * {
    line-height: normal;
    font-size: initial;
}

.countdown-timer-pro-canvas {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100%;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    margin: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    vertical-align: top !important;
    border: none !important;
    outline: none !important;
    line-height: 0 !important;
    position: relative !important;
    z-index: 1 !important;
    overflow: hidden !important;
}

.countdown-timer-pro-message {
    padding: 30px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    color: #2c3e50;
    background: linear-gradient(135deg, #ecf0f1 0%, #bdc3c7 100%);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .countdown-timer-pro-canvas {
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    }
}

@media (max-width: 768px) {
    .countdown-timer-pro {
        width: 100%;
        flex-direction: column !important;
        align-items: center !important;
        min-height: auto !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
        max-height: none !important;
        height: auto !important;
    }
    
    .countdown-timer-pro-canvas {
        filter: none;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
    }
}

@media (max-width: 480px) {
    .countdown-timer-pro {
        width: 100%;
        min-height: auto !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
        max-height: none !important;
        height: auto !important;
    }
    
    .countdown-timer-pro-canvas {
        width: 100% !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .countdown-timer-pro-message {
        padding: 20px;
        font-size: 20px;
    }
}

/* Container wrapper for better control */
.countdown-timer-pro-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Premium effects */
.countdown-timer-pro.premium-glow {
    filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.5));
}

.countdown-timer-pro.premium-neon {
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.8)) 
            drop-shadow(0 0 20px rgba(0, 255, 255, 0.4));
}


