:root {
    --tdwcdc-bg: #ffffff;
    --tdwcdc-border: #102f72;
    --tdwcdc-heading: #42b9c2;
    --tdwcdc-countdown: #102f72;
    --tdwcdc-body: #666666;
    --tdwcdc-note: #42b9c2;
    --tdwcdc-icon: #102f72;
    --tdwcdc-progress: #173f94;
    --tdwcdc-track: #a9b3ce;
    --tdwcdc-radius: 22px;
}

.tdwcdc-delivery-countdown {
    width: 100%;
    margin: 16px 0;
    font-family: inherit;
}

.tdwcdc-card {
    width: 100%;
    box-sizing: border-box;
    padding: 13px 15px 10px;
    background: var(--tdwcdc-bg);
    border: 2px solid var(--tdwcdc-border);
    border-radius: var(--tdwcdc-radius);
    color: var(--tdwcdc-countdown);
}

.tdwcdc-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.tdwcdc-truck {
    flex: 0 0 38px;
    width: 38px;
    padding-top: 7px;
}

.tdwcdc-truck svg {
    display: block;
    width: 100%;
    height: auto;
    fill: var(--tdwcdc-icon);
}

.tdwcdc-truck .tdwcdc-window {
    fill: var(--tdwcdc-bg);
}

.tdwcdc-copy {
    min-width: 0;
    flex: 1;
}

.tdwcdc-heading {
    display: inline-block;
    margin: 0 0 4px;
    color: var(--tdwcdc-heading);
    font-size: 15px;
    line-height: 1.15;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 1px solid var(--tdwcdc-heading);
}

.tdwcdc-instruction {
    margin: 0 0 3px;
    color: var(--tdwcdc-body);
    font-size: 13px;
    line-height: 1.35;
}

.tdwcdc-time {
    min-height: 25px;
    color: var(--tdwcdc-countdown);
    font-size: 21px;
    line-height: 1.2;
    font-weight: 800;
}

.tdwcdc-note {
    margin-top: 3px;
    color: var(--tdwcdc-note);
    font-size: 11px;
    line-height: 1.3;
}

.tdwcdc-progress-track {
    height: 7px;
    margin: 11px 0 0 50px;
    overflow: hidden;
    background: var(--tdwcdc-track);
    border-radius: 999px;
}

.tdwcdc-progress {
    width: 5%;
    height: 100%;
    background: var(--tdwcdc-progress);
    border-radius: inherit;
    transition: width .5s linear;
}

.tdwcdc-passed .tdwcdc-heading {
    color: var(--tdwcdc-countdown);
    border-bottom-color: var(--tdwcdc-countdown);
}

.tdwcdc-passed .tdwcdc-time {
    display: none;
}

@media (max-width: 480px) {
    .tdwcdc-card {
        padding: 12px 13px 9px;
    }

    .tdwcdc-main {
        gap: 9px;
    }

    .tdwcdc-truck {
        flex-basis: 31px;
        width: 31px;
    }

    .tdwcdc-heading {
        font-size: 13px;
    }

    .tdwcdc-instruction {
        font-size: 12px;
    }

    .tdwcdc-time {
        font-size: 17px;
    }

    .tdwcdc-progress-track {
        margin-left: 40px;
    }
}
