.cdt-wrapper {
    width: 100%;
    margin: 0 auto;
}

.cdt-box {
    /* Layout handled via inline styles from PHP shortcode attributes */
}

.cdt-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.cdt-number {
    display: block;
    line-height: 1;
    text-align: center;
    letter-spacing: -1px;
    transition: opacity 0.15s ease;
}

.cdt-label {
    display: block;
    margin-top: 8px;
    text-align: center;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cdt-sep {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    user-select: none;
}

/* Flip animation on number change */
@keyframes cdt-flip {
    0%   { opacity: 1; transform: translateY(0); }
    45%  { opacity: 0; transform: translateY(-6px); }
    55%  { opacity: 0; transform: translateY(6px); }
    100% { opacity: 1; transform: translateY(0); }
}

.cdt-number.cdt-animate {
    animation: cdt-flip 0.3s ease;
}

/* Responsive */
@media (max-width: 480px) {
    .cdt-segment {
        min-width: 40px;
    }
}
