/*
 * CW Schedule Styles (Premium Compact)
 */

.cw-schedule-premium-module {
    --cw-active-sched-bg: var(--cw-sched-bg-light, var(--e-global-color-0a7afcc, #ffffff));
    --cw-active-sched-text: var(--cw-sched-text-light, var(--e-global-color-text, #333333));
    --cw-active-sched-accent: var(--cw-sched-accent-light, var(--e-global-color-primary, #227FBC));
}


.cw-schedule-premium-module {
    display: inline-flex;
    align-items: center;
    background-color: var(--cw-active-sched-bg);
    border-radius: 30px;
    border: 1px solid rgba(128, 128, 128, 0.2);
    padding: 16px 32px;
    font-family: var(--e-global-typography-primary-font-family, sans-serif);
    color: var(--cw-active-sched-text);
    box-shadow: none;
    flex-wrap: wrap;
    gap: 24px;
}

.cw-sched-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cw-sched-title {
    color: var(--cw-active-sched-accent);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.cw-sched-days {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.cw-sched-hours {
    font-size: 16px;
    font-weight: 400;
    opacity: 0.9;
}

.cw-sched-divider {
    width: 2px;
    height: 60px;
    background-color: var(--cw-active-sched-accent);
    border-radius: 2px;
}

.cw-sched-right {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cw-sched-current {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cw-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.cw-is-open .cw-dot {
    background-color: var(--cw-sched-open, var(--e-global-color-accent, #22c55e));
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: cw-pulse-small 2s 5;
}

.cw-is-closed .cw-dot {
    background-color: var(--cw-sched-closed, #ef4444);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.cw-sched-status-main {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.cw-is-open .cw-sched-status-main {
    color: var(--cw-sched-open, var(--e-global-color-accent, #22c55e));
}

.cw-is-closed .cw-sched-status-main {
    color: var(--cw-sched-closed, #ef4444);
}

.cw-sched-status-sub {
    font-size: 14px;
    font-style: italic;
    opacity: 0.8;
}

@keyframes cw-pulse-small {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    70% {
        transform: scale(2);
        opacity: 0;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .cw-schedule-premium-module {
        flex-direction: column;
        align-items: flex-start;
        align-items: center;
        gap: 16px;
        padding: 20px;
    }

    .cw-sched-divider {
        width: 100%;
        height: 2px;
    }
}