/**
 * Stream Countdown Timer Styles
 *
 * @package ShowStreamz
 */

/* Countdown Container */
.showstreamz-countdown {
    margin: 20px 0;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    text-align: center;
}

/* Countdown Timer */
.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Countdown Unit */
.countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 15px;
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Countdown Value */
.countdown-value {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #0073aa;
    line-height: 1;
    margin-bottom: 5px;
}

/* Countdown Label */
.countdown-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #666;
    letter-spacing: 1px;
}

/* Live Indicator */
.countdown-live {
    display: inline-block;
    padding: 15px 30px;
    background: #d63638;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 8px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .countdown-timer {
        gap: 10px;
    }

    .countdown-unit {
        min-width: 60px;
        padding: 10px;
    }

    .countdown-value {
        font-size: 28px;
    }

    .countdown-label {
        font-size: 10px;
    }

    .countdown-live {
        font-size: 18px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .countdown-unit {
        min-width: 50px;
        padding: 8px;
    }

    .countdown-value {
        font-size: 24px;
    }

    .countdown-label {
        font-size: 9px;
    }
}

/* Scheduled Time Display */
.showstreamz-scheduled-time {
    margin: 10px 0;
    padding: 10px;
    background: #f0f0f0;
    border-left: 4px solid #0073aa;
    font-size: 14px;
    color: #333;
}

.showstreamz-scheduled-time strong {
    color: #0073aa;
}

/* Notification Subscription */
.showstreamz-notification-subscribe {
    margin: 15px 0;
    text-align: center;
}

.showstreamz-notification-subscribe button {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s;
}

.showstreamz-notification-subscribe button:hover {
    background: #005a87;
}

.showstreamz-notification-subscribe button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.showstreamz-notification-subscribe .subscribed {
    background: #46b450;
}

.showstreamz-notification-subscribe .subscribed:hover {
    background: #3a9642;
}
