.lab-counter-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.lab-counter-container > *:not(:last-child) {
    margin-bottom: var(--elements-spacing, 20px); /* Default spacing */
}

.lab-counter-main-title {
    margin: 0;
    padding: 0;
    line-height: 1.2;
}

.lab-counter-subtitle {
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

.lab-counter-blocks-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--blocks-gap, 10px); /* Default gap */
}

.lab-counter-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background-color: #333;
    color: #fff;
    border-radius: 8px;
    min-width: 80px;
    box-sizing: border-box;
}

.lab-counter-block-value {
    font-size: 2.5em;
    font-weight: bold;
    line-height: 1;
}

.lab-counter-block-label {
    font-size: 0.8em;
    text-transform: uppercase;
    margin-top: 5px;
}

.lab-counter-separator {
    font-size: 2em;
    color: #333;
    font-weight: bold;
    margin: 0 5px;
}

.lab-counter-urgency-text {
    margin-top: 20px;
    font-size: 1.1em;
    font-weight: bold;
    color: #ff0000;
}

.lab-counter-cta-wrapper {
    margin-top: 30px;
}

.lab-counter-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 12px 24px;
    background-color: #0073E6;
    color: #FFFFFF;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.lab-counter-cta:hover {
    background-color: #005bb5;
}

.lab-counter-cta .button-icon {
    display: inline-flex;
    align-items: center;
}

.lab-counter-cta .button-icon-left {
    margin-right: 8px;
}

.lab-counter-cta .button-icon-right {
    margin-left: 8px;
}

.lab-counter-simple-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3em;
    font-weight: bold;
}

.lab-counter-prefix,
.lab-counter-suffix {
    font-size: 0.6em;
    margin: 0 5px;
    color: #555;
}

.lab-counter-expired-message {
    font-size: 1.2em;
    color: #ff0000;
    font-weight: bold;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .lab-counter-blocks-wrapper {
        flex-direction: row; /* Keep row for smaller screens, but allow wrap */
        gap: 5px;
    }

    .lab-counter-block {
        min-width: 60px;
        padding: 10px 5px;
    }

    .lab-counter-block-value {
        font-size: 1.8em;
    }

    .lab-counter-block-label {
        font-size: 0.7em;
    }

    .lab-counter-separator {
        font-size: 1.5em;
    }

    .lab-counter-simple-wrapper {
        font-size: 2em;
    }
}
