/*------------------------------------admin-side-css*/
#ezblnd_cdtm_timer_settings {
    border-radius: 5px;
}
#ezblnd_cdtm_timer_settings .postbox-header h2 {
    font-size: 1.2rem !important;
}
#ezblnd_cdtm_timer_settings .handle-actions {
    display: none !important;
    pointer-events: none !important;
}
#ezblnd_cdtm_timer_settings .inside {
    margin: 0;
    padding: 0;
}
#ez_cdtm_timer_settings .ez-recurring-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}
#ez_cdtm_timer_settings .ez-recurring-label {
    width: 140px;
    font-weight: 600;
    color: #1d2327;
    display: inline-block;
    padding-top: 0;
    font-size: 1rem;
}
#ez_cdtm_timer_settings .ez-recurring-controls {
    flex: 1;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
#ez_cdtm_timer_settings .ez-recurring-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#ez_cdtm_timer_settings .ez-recurring-stack .ez-cdtm-datetime-wrap {
    margin-top: 5px;
}
#ez_cdtm_timer_settings .ez-recurring-inline {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

#ez_cdtm_timer_settings .ez-recurring-inline > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#ez_cdtm_timer_settings .ez-recurring-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 8px;
}
#ez_cdtm_timer_settings .ez-recurring-checkbox input[type="checkbox"] {
    margin: 0;
    vertical-align: middle;
    flex: 0 0 auto;
}
#ez_cdtm_timer_settings .ez-recurring-checkbox span {
    display: inline-block;
    line-height: 1.2;
}
#ez_cdtm_timer_settings .ez-recurring-small-label {
    font-size: 13px;
    color: #4b5563;
    margin-right: 4px;
}
#ez_cdtm_timer_settings .ez-recurring-number {
    width: 70px;
    max-width: 100%;
    padding: 4px 8px;
    border-radius: 4px;
    border: 1px solid #dcdcde;
    font-size: 14px;
}
#ez_cdtm_timer_settings .ez-recurring-select {
    min-width: 90px;
    border-radius: 4px;
    font-size: 14px;
}

@media (max-width: 900px) {
    #ez_cdtm_timer_settings .ez_cdtm_recurring_fields {
        padding: 10px 6px;
    }
    #ez_cdtm_timer_settings .ez-recurring-label {
        width: 110px;
        font-size: 14px;
    }
    #ez_cdtm_timer_settings .ez-recurring-row {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 600px) {
    #ez_cdtm_timer_settings .ez_cdtm_recurring_fields {
        padding: 6px 2px;
    }
    #ez_cdtm_timer_settings .ez-recurring-label {
        width: 100%;
        font-size: 13px;
    }
    #ez_cdtm_timer_settings .ez-recurring-row {
        flex-direction: column;
        gap: 6px;
    }
    #ez_cdtm_timer_settings .ez-recurring-controls {
        flex-direction: column;
        gap: 6px;
    }
}
#ez_cdtm_timer_settings input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]) {
    height: 35px;
    border: 1px solid #e3e3e3;
}

.ez-cdtm-countdown{
    background-color: transparent !important;
}

#ez_cdtm_timer_settings .inside button {
    background-color: #2c006c;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

#ez_cdtm_shortcode {
    width: 150px !important;
}

#ez_cdtm_timer_settings .inside .ezblndcopy-short-code {
    display: flex;
    flex-wrap: wrap;
}

#ez_cdtm_timer_settings .inside .ezblndcopy-short-code label {
    display: block;
    width: 100%;
}

#ez_cdtm_timer_settings .inside .ezblndcopy-short-code button {
    order: 0;
    width: 20%;
}

#ez_cdtm_timer_settings .inside .ezblndcopy-short-code input {
    order: 1;
    width:79% !important;
    margin-left: 4px;
}

.ezblndcopy-short-code .ez_cdtm_shortcode_container {
    display: flex;
    gap: 10px;
    width: 100%;
}
/* Copy Button Base */
.ezblndcopy-short-code .ez_cdtm_shortcode_container button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ezblndcopy-short-code .dashicons {
    font-size: 16px;
    height: 16px;
    width: 16px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Success State */
.ez-copied {
    background: #2e7d32 !important;
    border-color: #2e7d32 !important;
    color: #fff !important;
}

/* Input highlight animation */
.ez-highlight {
    animation: ezPulse 0.6s ease;
}

@keyframes ezPulse {
    0% { box-shadow: 0 0 0 0 rgba(46,125,50,0.5); }
    70% { box-shadow: 0 0 0 6px rgba(46,125,50,0); }
    100% { box-shadow: 0 0 0 0 rgba(46,125,50,0); }
}


.admin-transparent-bg {
    display: flex;
}

.admin-transparent-bg input {
    height: 16px !important;
    margin: 10px;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper h4 {
    margin: 0;
    font-weight: 400;
}

#ez_cdtm_preview .ez-cdtm-timer-shell-plain .ez-cdtm-plain-cont {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--ez-cdtm-segment-spacing, 12px);
    flex-wrap: wrap;
}

#ez_cdtm_preview .ez-cdtm-segment {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--ez-cdtm-segment-padding-y, 10px) var(--ez-cdtm-segment-padding-x, 10px);
    border-radius: var(--ez-cdtm-box-radius, 10px);
    border: var(--ez-cdtm-border-size, 1px) solid var(--ez-cdtm-border-color, rgba(0, 0, 0, 0.08));
    background: var(--ez-cdtm-card-bg, #fff);
}

#ez_cdtm_preview .ez-cdtm-value {
    font-size: var(--ez-cdtm-font-size, 18px);
    color: var(--ez-cdtm-text-color, #111);
    line-height: 1;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
    white-space: nowrap;
}

#ez_cdtm_preview .ez-cdtm-label {
    margin: 8px 0 0;
    font-size: var(--ez-cdtm-label-size, 12px);
    letter-spacing: .04em;
    color: var(--ez-cdtm-label-color, #666);
    text-transform: var(--ez-cdtm-label-transform, uppercase);
}

#ez_cdtm_preview .ez-cdtm-display-numbers .ez-cdtm-segment {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0 8px;
    min-width: auto;
}

#ez_cdtm_preview .ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-segment {
    position: relative;
    padding: 0;
}

#ez_cdtm_preview .ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-segment {
    position: relative;
}

#ez_cdtm_preview .ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-plain-cont,
#ez_cdtm_preview .ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-plain-cont {
    --ez-cdtm-effective-gap: max(var(--ez-cdtm-segment-spacing, 12px), var(--ez-cdtm-colon-gap, 10px));
    gap: var(--ez-cdtm-effective-gap);
}

#ez_cdtm_preview .ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after,
#ez_cdtm_preview .ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(var(--ez-cdtm-colon-dot-size, 4px) + 2px);
    height: calc(var(--ez-cdtm-colon-dot-size, 4px) * 3);
    background:
        radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), var(--ez-cdtm-colon-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px)),
        radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) * 2.5), var(--ez-cdtm-colon-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px));
}

#ez_cdtm_preview .ez-cdtm-display-numbers.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after {
    left: calc(100% + (var(--ez-cdtm-effective-gap, var(--ez-cdtm-colon-gap, 10px)) / 2));
}

#ez_cdtm_preview .ez-cdtm-display-numbers_text.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after {
    left: calc(100% + var(--ez-cdtm-border-size, 0px) + (var(--ez-cdtm-effective-gap, var(--ez-cdtm-colon-gap, 10px)) / 2));
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards.ez-cdtm-numbers-colon .ez-cdtm-plain-cont {
    --ez-cdtm-effective-gap: var(--ez-cdtm-flip-segment-spacing, var(--ez-cdtm-segment-spacing, 12px));
    gap: var(--ez-cdtm-effective-gap);
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards.ez-cdtm-numbers-colon .ez-cdtm-segment {
    position: relative;
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards.ez-cdtm-numbers-colon .ez-cdtm-segment:not(:last-child)::after {
    content: '';
    position: absolute;
    top: calc(var(--ez-cdtm-box-size, 92px) / 2);
    left: calc(100% + (var(--ez-cdtm-effective-gap, var(--ez-cdtm-colon-gap, 10px)) / 2));
    transform: translate(-50%, -50%);
    width: calc(var(--ez-cdtm-colon-dot-size, 4px) + 2px);
    height: calc(var(--ez-cdtm-colon-dot-size, 4px) * 3);
    background:
        radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), var(--ez-cdtm-colon-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px)),
        radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) * 2.5), var(--ez-cdtm-colon-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px));
}

#ez_cdtm_preview .ez-cdtm-display-numbers_text .ez-cdtm-label {
    white-space: nowrap;
}

#ez_cdtm_preview .ez-cdtm-display-numbers_text .ez-cdtm-segment {
    width: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 2.1));
    height: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 2.1));
    min-width: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 2.1));
    min-height: max(var(--ez-cdtm-box-size, 92px), calc(var(--ez-cdtm-font-size, 18px) * 2.1));
    aspect-ratio: 1 / 1;
    box-sizing: border-box;
    justify-content: center;
    overflow: visible;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper {
    display: grid;
    position: relative;
    box-sizing: border-box;
    width: auto !important;
    max-width: none !important;
    background: transparent;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none !important;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper > div {
    position: relative;
    width: fit-content !important;
    height: fit-content;
    padding: 0;
    margin: 0 !important;
    overflow: visible;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border: 0 !important;
    outline: 0 !important;
    z-index: 30;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left > div,
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center > div,
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right > div {
    width: 100%;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left > div {
    justify-content: flex-start;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center > div {
    justify-content: center;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right > div {
    justify-content: flex-end;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper canvas:not(.ez-cdtm-circle-canvas) {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

#ez_cdtm_preview .ez-cdtm-display-circles .ez-cdtm-circle-canvas {
    width: auto !important;
    height: auto !important;
    display: block;
}

#ez_cdtm_preview .ez-cdtm-sticky-preview-shell {
    width: 100%;
    min-height: 220px;
    display: flex;
}

#ez_cdtm_preview .ez-cdtm-sticky-preview-shell.ez-cdtm-sticky-bar--top {
    align-items: flex-start;
}

#ez_cdtm_preview .ez-cdtm-sticky-preview-shell.ez-cdtm-sticky-bar--bottom {
    align-items: flex-end;
}


/* Preview Label */
#ez_cdtm_preview::before {
    content: "Live Preview";
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    color: #2c3e50;
    color: var(--ez-muted);
    text-transform: uppercase;
    letter-spacing: .08em;
    position: absolute;
    top: 10px;
    left: 10px;
}

/* Frontend parity overrides for preview */
#ez_cdtm_preview {
    position: relative;
    display: flex;
    justify-content: center;
    background: transparent;
    border: 0;
    padding: 40px 20px 20px;
    min-height: 0;
}

#ez_cdtm_preview .ez-cdtm-timer-shell,
#ez_cdtm_preview .ez-cdtm-timer-shell-plain {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Loading State */
#ez_cdtm_preview > p {
    text-align: center;
    margin: 0;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/*------------------------------------------------------------------END*/

/* Admin wizard layout */
.ez-cdtm-builder {
    display: block;
}

.ez-cdtm-live-preview {
    margin-bottom: 16px;
}

.ez-cdtm-steps {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #d8dee8;
    overflow: hidden;
    padding: 0 25px;
}

.horizontal-line {
    width: 90px;
    background-color: #e3e3e3;
    margin: 15px;
    height: 1px;
}

.horizontal-line.active {
    background-color: #2271b1;
}

.ez-cdtm-steps .ez-step {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    padding-left: 0;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

/* .ez-cdtm-steps .ez-step + .ez-step {
    border-left: 1px solid #e5e7eb;
} */

.ez-cdtm-steps .ez-step-number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #94a3b8;
    background-color: #e3e3e3;
    border-radius: 999px;
    font-size: 1rem;
    line-height: 1;
}

.ez-cdtm-steps .ez-step-label {
    font-size: 1rem;
    line-height: 1;
}

.ez-cdtm-steps .ez-step.is-active {
    border-bottom-color: #2271b1;
    font-weight: 600;
}

.ez-cdtm-steps .ez-step.is-active .ez-step-number {
    border-color: #2271b1;
    background: #2271b1;
    color: #fff;
}

.ez-cdtm-step-panels {
    border: 0;
}

.ez-cdtm-step-panel:not(.is-active) {
    display: none;
}

.ez-cdtm-wizard-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-top: 1px solid #d8dee8;
}

.ez-cdtm-wizard-footer-left,
.ez-cdtm-wizard-footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ez-cdtm-wizard-footer .button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.ez-cdtm-field-row > .ez-cdtm-label {
    width: 140px;
    display: inline-block;
    margin-top: 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 1rem;
}

.ez-cdtm-controls input[type="text"],
.ez-cdtm-controls input[type="number"],
.ez-cdtm-controls input[type="datetime-local"],
.ez-cdtm-controls input[type="url"],
.ez-cdtm-controls select {
    max-width: 320px;
}

.ez-cdtm-controls .description {
    margin-top: 6px;
    color: #6c7781;
}

.ez-cdtm-mode-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ez-cdtm-mode-card-wrap {
    margin-bottom: 15px;
    border-bottom: 1px solid #d8dee8;
    padding-bottom: 15px;
}

.ez-cdtm-mode-card-title {
    font-size: 1rem;
    margin-top: 0;
}

.ez-cdtm-mode-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.ez-cdtm-mode-cards .ez-cdtm-mode-card {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ez-cdtm-mode-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ez-cdtm-mode-card-ui {
    display: flex;
    gap: 10px;
    border: 1px solid #c7ced8;
    border-radius: 10px;
    padding: 15px 20px;
    height: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.ez-cdtm-mode-card input[type="radio"]:checked + .ez-cdtm-mode-card-ui {
    border-color: #2271b1;
    background: #edf4fb;
    box-shadow: inset 0 0 0 1px #2271b1;
}

.ez-cdtm-mode-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.ez-cdtm-mode-card-head-left,
.ez-cdtm-mode-card-head-right {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ez-cdtm-mode-icon {
    font-size: 38px;
    width: 38px;
    height: 38px;
    color: #5b6472;
}

.ez-cdtm-mode-name {
    font-size: 1rem;
    line-height: 1.15;
    font-weight: 600;
    color: #1f2937;
}

.ez-cdtm-mode-desc {
    margin-top: 10px;
    display: block;
    font-size: 18px;
    line-height: 1.4;
    color: #4b5563;
}

.ez-cdtm-mode-selected {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: #2271b1;
    opacity: 0;
}

.ez-cdtm-mode-card input[type="radio"]:checked + .ez-cdtm-mode-card-ui .ez-cdtm-mode-selected {
    opacity: 1;
}

.ez-cdtm-mode-card .ez-cdtm-badge {
    font-size: 1rem;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 5px;
    background: #7f8ca0;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
}

.ez-cdtm-wizard-nav {
    padding: 0 25px !important;
    border-radius: 5px !important;
    font-size: 1rem !important;
}

/* Timer type radios: plain radio appearance */
.ez-cdtm-radio {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
}

.ez-cdtm-radio input {
    margin-top: 0;
}

.ez-cdtm-radio.is-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.ez-cdtm-mode-section[hidden] {
    display: none !important;
}

.ez-cdtm-dummy-block {
    position: relative;
    overflow: hidden;
}

.ez-cdtm-dummy-block--overlay {
    width: 100%;
    box-sizing: border-box;
}

.ez-cdtm-dummy-overlay {
    position: absolute;
    z-index: 99;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #1d2327;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    padding: 24px;
    gap: 8px;
    pointer-events: none;
}

.ez-cdtm-dummy-overlay .dashicons {
    font-size: 48px;
    color: #535353;
    margin-bottom: 25px;
}

.ez-cdtm-dummy-heading {
    font-weight: 700;
    font-size: 1.5rem;
    margin: 4px 0 0;
    color: #0f172a;
}

.ez-cdtm-dummy-subtitle {
    margin: 0;
    color: #4b5563;
}

.ez-cdtm-dummy-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.ez-cdtm-dummy-block .button-link {
    color: #3858e9;
    text-decoration: none;
}

.ez-cdtm-dummy-fields {
    opacity: 0.55;
}

.ez-cdtm-dummy-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    align-items: flex-start;
}

.ez-cdtm-dummy-row.is-grid {
    flex-direction: column;
}

.ez-cdtm-dummy-label {
    width: 180px;
    font-weight: 600;
    color: #4b5563;
}

.ez-cdtm-dummy-control {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left .ez-cdtm-plain-cont,
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-left .ez_cdtm-count-cont {
    justify-content: flex-start;
}
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center,
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center .ez-cdtm-plain-cont,
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-center .ez_cdtm-count-cont {
    justify-content: center;
}

#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right .ez-cdtm-plain-cont,
#ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper.ez-cdtm-align-right .ez_cdtm-count-cont {
    justify-content: flex-end;
}

#ez_cdtm_preview .ez-cdtm-timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

#ez_cdtm_preview .ez-cdtm-timer-block > .ez-cdtm-heading,
#ez_cdtm_preview .ez-cdtm-timer-block > .ez-cdtm-cta {
    width: 100%;
    text-align: center;
}
.ez-cdtm-dummy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    width: 100%;
}

.ez-cdtm-dummy-grid--checks label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ez-cdtm-dummy-grid label,
.ez-cdtm-dummy-radios label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4b5563;
}

.ez-cdtm-dummy-radios {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.ez-cdtm-dummy-radios .description {
    margin: 0;
    color: #6c7781;
}

.ez-cdtm-dummy-prochip {
    background: #f6c443;
    color: #1d2327;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
}

.ez-cdtm-dummy-block input,
.ez-cdtm-dummy-block select,
.ez-cdtm-dummy-block textarea {
    visibility: visible;
}
.ez-cdtm-dummy-block input {
    visibility: visible;
}

.ez-cdtm-dummy-block input:disabled,
.ez-cdtm-dummy-block select:disabled,
.ez-cdtm-dummy-block textarea:disabled {
    background: #f4f6f8;
    border-color: #d0d5d8;
    color: #9aa0a6;
    box-shadow: none;
}

.ez-cdtm-dummy-radios label.is-locked {
    opacity: 0.7;
}

.ez-cdtm-dummy-row:last-of-type {
    margin-bottom: 0;
}

.ez-cdtm-badge {
    font-size: 11px;
    background: #cfcfcf;
    color: #777;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.ez-cdtm-pro-valid .ez-cdtm-badge {
    display: none !important;
}

.ez-cdtm-grid {
    border: none;
}

.ez-cdtm-suffix {
    margin-left: 6px;
    color: #6c7781;
}

.ezblnd-cdtm-metabox-container .wp-editor-wrap {
    width: 100%;
}

.ez-cdtm-expired-message {
    padding: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    color: #1d2327;
}

/* Improved UI/UX for color/font/alignment controls */
.ez-cdtm-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.ez-cdtm-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.ez-cdtm-controls input[type="text"],
.ez-cdtm-controls input[type="number"],
.ez-cdtm-controls select {
    max-width: 220px;
    min-width: 120px;
    padding: 2px 10px;
    border: 1px solid #dcdcde;
    font-size: 15px;
    background: #fafbfc;
    margin-right: 8px;
}
.ez-cdtm-controls .pickr {
    margin-left: 0;
    margin-right: 0;
    display: flex;
    align-items: center;
}
.ez-cdtm-controls .pcr-button {
    margin-left: 0;
    border-radius: 4px;
    border: 1px solid #dcdcde;
    width: 32px;
    height: 32px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: border 0.2s;
}
.ez-cdtm-controls .pcr-button:focus {
    outline: 2px solid #2271b1;
    border-color: #2271b1;
}
@media (max-width: 900px) {
    .ez-cdtm-grid {
        padding: 10px 4px 4px 4px;
    }
    .ez-cdtm-field-row > .ez-cdtm-label {
        width: 100px;
        font-size: 14px;
    }
    .ez-cdtm-controls input[type="text"],
    .ez-cdtm-controls input[type="number"],
    .ez-cdtm-controls select {
        font-size: 14px;
        min-width: 80px;
    }
}
@media (max-width: 600px) {
    .ez-cdtm-grid {
        padding: 6px 2px 2px 2px;
    }
    .ez-cdtm-field-row {
        flex-direction: column;
        gap: 6px;
        padding-bottom: 6px;
    }
    .ez-cdtm-field-row > .ez-cdtm-label {
        width: 100%;
        font-size: 13px;
        margin-top: 0;
    }
    .ez-cdtm-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .ez-cdtm-controls input[type="text"],
    .ez-cdtm-controls input[type="number"],
    .ez-cdtm-controls select {
        width: 100%;
        min-width: 0;
        font-size: 13px;
    }
    .ez-cdtm-controls .pickr {
        margin-top: 6px;
    }
}

#ez-cdtm-step-design .ez-cdtm-design-grid .ez-cdtm-field-row {
    display: block;
}

#ez-cdtm-step-design .ez-cdtm-style-heading {
    grid-column: 1 / -1;
    padding: 8px 2px 2px;
    border: 0;
    background: transparent;
}

#ez-cdtm-step-design .ez-cdtm-style-heading .ez-cdtm-style-heading-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #50575e;
}

#ez-cdtm-step-design .ez-cdtm-style-radios {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
}

#ez-cdtm-step-design .ez-cdtm-style-radios .ez-cdtm-radio {
    margin: 0;
    width: 100%;
}

#ez-cdtm-step-design .ez-cdtm-style-radios .ez-cdtm-radio input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

#ez-cdtm-step-design .ez-cdtm-style-radios .ez-cdtm-radio span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border: 1px solid #d0d7de;
    background: #fff;
    color: #1d2327;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    box-sizing: border-box;
}

#ez-cdtm-step-design .ez-cdtm-style-radios .ez-cdtm-radio input:checked + span {
    border-color: #2271b1;
    background: #eef6ff;
    color: #0a4b78;
}

#ez-cdtm-step-design .ez-cdtm-style-selector-row {
    grid-column: 1 / -1;
}

#ez-cdtm-step-design .ez-cdtm-style-selector-row .ez-cdtm-controls {
    width: 100%;
}

#ez-cdtm-step-design .ez-cdtm-design-grid .ez-cdtm-field-row[hidden] {
    display: none !important;
}

#ez-cdtm-step-design .ez-cdtm-design-grid .ez-cdtm-label {
    width: 100%;
    margin-top: 0;
    margin-bottom: 5px;
}

@media (max-width: 980px) {
    .ez-cdtm-mode-card-title {
        font-size: 34px;
    }

    .ez-cdtm-mode-cards {
        grid-template-columns: 1fr;
    }

    .ez-cdtm-mode-name {
        font-size: 32px;
    }

    .ez-cdtm-mode-desc {
        font-size: 16px;
    }

    #ez-cdtm-step-design .ez-cdtm-design-grid {
        grid-template-columns: 1fr;
    }

    #ez-cdtm-step-design .ez-cdtm-style-radios {
        grid-template-columns: 1fr;
    }

}

/* ===== Premium Polish Layer ===== */
.ezblnd-cdtm-metabox-container {
    --ez-surface: #ffffff;
    --ez-surface-soft: #ebebeb;
    --ez-border: #d8dee8;
    --ez-border-strong: #bfc8d6;
    --ez-text: #1f2937;
    --ez-muted: #6b7280;
    --ez-primary: #2563eb;
    --ez-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.ezblnd-cdtm-metabox-container .ez-cdtm-step-panels {
    padding: 25px;
}

.ezblnd-cdtm-metabox-container .ez-cdtm-field-row > .ez-cdtm-label,
.ezblnd-cdtm-metabox-container .ez-recurring-label {
    color: var(--ez-text);
    font-weight: 600;
}

.ezblnd-cdtm-metabox-container .description {
    color: var(--ez-muted);
}

#ez_cdtm_timer_settings input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]),
#ez_cdtm_timer_settings select,
#ez_cdtm_timer_settings textarea {
    border-radius: 5px;
    background: #fff;
    color: var(--ez-text);
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#ez_cdtm_timer_settings input:not([type="radio"]):not([type="checkbox"]):not([type="button"]):not([type="submit"]):focus,
#ez_cdtm_timer_settings select:focus,
#ez_cdtm_timer_settings textarea:focus {
    border-color: var(--ez-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
    outline: none;
}

@media (max-width: 640px) {
    .ez-cdtm-steps {
        display: grid;
        grid-template-columns: 1fr;
    }

    .ez-cdtm-steps .ez-step + .ez-step {
        border-left: 0;
        border-top: 1px solid #e5e7eb;
    }

    .ez-cdtm-wizard-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .ez-cdtm-wizard-footer-left,
    .ez-cdtm-wizard-footer-right {
        justify-content: space-between;
    }
}

/* Final preview parity guardrails (must stay last) */
#ez-cdtm-step-design #ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper,
#ez-cdtm-step-design #ez_cdtm_preview .ezblnd_cdtm-countdown-wrapper > div,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-timer-shell,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-timer-shell-plain {
    width: auto !important;
    max-width: none !important;
}

#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-label {
    width: auto;
    display: block;
    text-align: center;
}

#ez_cdtm_preview .ez-cdtm-label-hidden,
#ez_cdtm_preview .ez-cdtm-display-numbers .ez-cdtm-label {
    display: none !important;
}

/* Keep circle-template digits centered in admin preview. */
#ez_cdtm_preview .ez-cdtm-display-circles .ez_cdtm-count-cont {
    justify-content: center !important;
}

#ez_cdtm_preview .ez-cdtm-display-circles .ez_cdtm-count-cont > .ez-cdtm-segment {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: var(--ez-cdtm-circle-size, 190px) !important;
    min-width: var(--ez-cdtm-circle-size, 190px) !important;
    margin: 0 calc(var(--ez-cdtm-segment-spacing, 12px) / 2) !important;
}

#ez_cdtm_preview .ez-cdtm-display-circles .ez_cdtm-count-cont > .ez-cdtm-segment .ez-cdtm-value {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: var(--ez-cdtm-circle-size, 190px) !important;
    margin: 0 auto !important;
    text-align: center !important;
}

#ez_cdtm_preview .ez-cdtm-display-circles .ez-cdtm-segment {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

/* Static admin circular renderer parity */
#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular .ez-cdtm-static-circle-row {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 0 !important;
    flex-wrap: wrap !important;
}

#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular .ez-cdtm-static-circle-row > .ez-cdtm-static-circle-segment {
    position: relative !important;
    overflow: visible !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular .ez-cdtm-static-circle-wrap {
    position: relative !important;
    display: block !important;
    flex: 0 0 auto !important;
}

#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular .ez-cdtm-static-circle-svg {
    display: block;
}

[data-preview="true"] .preview-animate .progress {
    animation: ezPreviewProgress 20s steps(20, end) infinite;
}

@keyframes ezPreviewProgress {
    0% {
        stroke-dashoffset: var(--preview-start-offset, 0px);
    }
    100% {
        stroke-dashoffset: var(--preview-circumference);
    }
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards .ez-cdtm-segment {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    position: relative;
    min-width: var(--ez-cdtm-box-size, 92px) !important;
    overflow: visible;
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards .ez-cdtm-segment::before {
    content: '';
    display: var(--ez-cdtm-flip-pin-display, block);
    position: absolute;
    top: calc(var(--ez-cdtm-flip-pin-size, 14px) / -2);
    left: 50%;
    transform: translateX(-50%);
    width: var(--ez-cdtm-flip-pin-size, 14px);
    height: var(--ez-cdtm-flip-pin-size, 14px);
    border-radius: 50%;
    background: var(--ez-cdtm-flip-pin-color, #67c23a);
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
    z-index: 6;
    pointer-events: none;
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards .ez-cdtm-label {
    margin-top: var(--ez-cdtm-flip-label-gap, 8px) !important;
}

#ez_cdtm_preview .ez-cdtm-display-flip_cards .ez-cdtm-plain-cont {
    gap: var(--ez-cdtm-flip-segment-spacing, var(--ez-cdtm-segment-spacing, 12px));
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit {
    position: relative;
    width: var(--ez-cdtm-box-size, 92px);
    height: var(--ez-cdtm-box-size, 92px);
    min-width: var(--ez-cdtm-box-size, 92px);
    min-height: var(--ez-cdtm-box-size, 92px);
    font-size: var(--ez-cdtm-font-size, 18px);
    font-weight: inherit;
    color: var(--ez-cdtm-text-color, #fff);
    line-height: var(--ez-cdtm-box-size, 92px);
    letter-spacing: inherit;
    text-align: center;
    background: linear-gradient(180deg, var(--ez-cdtm-flip-bg-start, #0f8ea5) 0%, var(--ez-cdtm-flip-bg-end, #4caf34) 100%);
    border-radius: var(--ez-cdtm-flip-border-radius, var(--ez-cdtm-box-radius, 6px));
    border: 0;
    box-shadow:
        0 0 0 var(--ez-cdtm-flip-border-width, 0px) var(--ez-cdtm-flip-border-color, rgba(255, 255, 255, 0.2)),
        var(--ez-cdtm-flip-shadow, 0 8px 18px var(--ez-cdtm-flip-shadow-color, rgba(0, 0, 0, 0.15)));
    box-sizing: border-box;
    overflow: hidden;
}

[data-preview="true"] .ez-cdtm-countdown-wrapper[data-display-mode="flip_cards"] {
    perspective: 1500px;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .upper,
[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .lower,
[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .base {
    position: absolute;
    left: 0;
    width: 100%;
    height: 50%;
    overflow: hidden;
    box-sizing: border-box;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .upper,
[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .base.upper {
    top: 0;
    border-bottom: solid var(--ez-cdtm-flip-divider-size, 1px) rgba(0, 0, 0, 0.1);
    transform-origin: 50% 100%;
    align-items: flex-start;
    line-height: var(--ez-cdtm-box-size, 92px);
    padding-top: 0;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .lower,
[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .base.lower {
    top: 50%;
    border-top: solid var(--ez-cdtm-flip-divider-size, 1px) rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    transform-origin: 50% 0%;
    align-items: flex-end;
    line-height: var(--ez-cdtm-box-size, 92px);
    padding-top: 0;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .base.upper {
    z-index: 3;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit .base.lower {
    z-index: 2;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit > .upper:not(.base) {
    z-index: 4;
    opacity: 0;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .ez-flip-digit > .lower:not(.base) {
    z-index: 5;
    opacity: 0;
}

[data-preview="true"] .ez-cdtm-display-flip_cards .preview-animate .ez-cdtm-value {
    transform-origin: 50% 50%;
    backface-visibility: hidden;
    will-change: transform, opacity;
}


#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular.ez-cdtm-numbers-colon .ez-cdtm-static-circle-row > .ez-cdtm-static-circle-segment:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(100% + (var(--ez-cdtm-segment-spacing, 12px) / 2));
    transform: translate(-50%, -50%);
    width: calc(var(--ez-cdtm-colon-dot-size, 4px) + 2px);
    height: calc(var(--ez-cdtm-colon-dot-size, 4px) * 3);
    background:
        radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), var(--ez-cdtm-colon-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px)),
        radial-gradient(circle at 50% calc(var(--ez-cdtm-colon-dot-size, 4px) * 2.5), var(--ez-cdtm-colon-color, #111) calc(var(--ez-cdtm-colon-dot-size, 4px) / 2), transparent calc(var(--ez-cdtm-colon-dot-size, 4px) / 2 + 0.2px));
}

#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular .ez-cdtm-static-circle-value {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    pointer-events: none;
}

#ez_cdtm_preview .ez-cdtm-display-circles.ez-cdtm-static-circular .ez-cdtm-static-circle-label {
    margin-top: var(--ez-cdtm-circle-label-gap, 8px) !important;
    text-align: center !important;
}

#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h1,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h2,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h3,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h4,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h5,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h6,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading p,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading div,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading span,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading strong,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading em,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading a,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading small {
    font-size: inherit !important;
    line-height: inherit !important;
}

#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h1,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h2,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h3,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h4,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h5,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading h6,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading p,
#ez-cdtm-step-design #ez_cdtm_preview .ez-cdtm-heading div {
    margin: 0;
}

#ez_cdtm_preview .ez-cdtm-heading h1,
#ez_cdtm_preview .ez-cdtm-heading h2,
#ez_cdtm_preview .ez-cdtm-heading h3,
#ez_cdtm_preview .ez-cdtm-heading h4,
#ez_cdtm_preview .ez-cdtm-heading h5,
#ez_cdtm_preview .ez-cdtm-heading h6,
#ez_cdtm_preview .ez-cdtm-heading p,
#ez_cdtm_preview .ez-cdtm-heading div,
#ez_cdtm_preview .ez-cdtm-heading span,
#ez_cdtm_preview .ez-cdtm-heading strong,
#ez_cdtm_preview .ez-cdtm-heading em,
#ez_cdtm_preview .ez-cdtm-heading a,
#ez_cdtm_preview .ez-cdtm-heading small {
    font-size: inherit !important;
    line-height: inherit !important;
}

#ez_cdtm_preview .ez-cdtm-heading h1,
#ez_cdtm_preview .ez-cdtm-heading h2,
#ez_cdtm_preview .ez-cdtm-heading h3,
#ez_cdtm_preview .ez-cdtm-heading h4,
#ez_cdtm_preview .ez-cdtm-heading h5,
#ez_cdtm_preview .ez-cdtm-heading h6,
#ez_cdtm_preview .ez-cdtm-heading p,
#ez_cdtm_preview .ez-cdtm-heading div {
  margin: 0;
}

input.ez-cdtm-datetime-field {
  width: 100%;
  border: none !important;
}

input.ez-cdtm-datetime-field:focus {
  outline: none !important;
  box-shadow: none !important;
}

.ez-cdtm-datetime-wrap {
    display: flex;
    align-items: center;
    border: 1px solid var(--ez-border);
    border-radius: 5px;
    padding: 0 5px;
}

.ez-cdtm-datetime-wrap .input-button {
    text-decoration: none;
    z-index: 2;
    color: #4b5563;
    cursor: pointer;
}

.ez-cdtm-datetime-wrap .input-button .dashicons {
  font-size: 25px;
  width: 25px;
  height: 25px;
}

.ez-cdtm-template-json {
  margin-top: 8px;
  font-family: Consolas, 'Courier New', monospace;
}

.ez-cdtm-template-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ez-cdtm-template-status {
  margin-top: 8px;
}

.ez-cdtm-template-status.is-success {
  color: #2e7d32;
}

.ez-cdtm-template-status.is-error {
  color: #b91c1c;
}

.ez-cdtm-template-upload {
  margin-top: 12px;
}

.ez-cdtm-template-dropzone {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px dashed #cbd5e1;
  border-radius: 8px;
  background: #f8fafc;
  cursor: pointer;
}

.ez-cdtm-template-dropzone.is-dragover {
  border-color: #4f46e5;
  background: #eef2ff;
}

.ez-cdtm-template-dropzone .dashicons {
  font-size: 28px;
  width: 28px;
  height: 28px;
  color: #475569;
}

.ez-cdtm-template-file {
  margin-top: 8px;
}

.ez-cdtm-field-row.is-invalid select {
  border-color: #b91c1c !important;
  box-shadow: 0 0 0 1px #b91c1c !important;
}

