/* SCFW Countdown Timer - Frontend Styles */

.scfw-countdown-wrapper {
    box-sizing: border-box;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.scfw-countdown-wrapper * {
    box-sizing: border-box;
}

.scfw-cd-heading {
    word-wrap: break-word;
}

.scfw-cd-heading a {
    color: inherit;
    text-decoration: underline;
}

.scfw-cd-subheading {
    word-wrap: break-word;
}

.scfw-cd-subheading a {
    color: inherit;
    text-decoration: underline;
}

.scfw-cd-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}

.scfw-cd-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.scfw-cd-digit {
    display: block;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.scfw-cd-label {
    display: block;
    margin-top: 4px;
    line-height: 1.2;
}

.scfw-cd-separator {
    display: flex;
    align-items: flex-start;
    line-height: 1;
    padding-top: 0;
    user-select: none;
}

.scfw-cd-expired-message {
    padding: 20px;
    font-size: 16px;
    line-height: 1.5;
}

/* Transition for hide/show */
.scfw-countdown-wrapper.scfw-cd-hiding {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scfw-countdown-wrapper.scfw-cd-hidden {
    display: none !important;
}
