/* Badge. Sits inline so it can drop in beside the social icons. */
.zilc-vcode {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.zilc-vcode-divi-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.zilc-vcode-divi-row > .et_pb_module {
    margin-bottom: 0 !important;
}

/* Match the height Divi gives its icons so the row sits evenly. */
.et_pb_social_media_follow + .zilc-vcode .zilc-vcode-logo,
.zilc-vcode-divi-row .zilc-vcode-logo {
    height: 32px;
    min-width: 32px;
}

.zilc-vcode-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border: 0;
    border-radius: 17px;
    background: transparent;
    color: inherit;
    cursor: pointer;
    opacity: .75;
    transition: opacity .15s ease, background-color .15s ease;
}

.zilc-vcode-logo:hover:not(:disabled) {
    opacity: 1;
}

.zilc-vcode-logo:disabled {
    cursor: default;
    opacity: 1;
}

/* Holds the logo until the countdown replaces it with text. */
.zilc-vcode-face {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font: 600 13px/1 system-ui, sans-serif;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.zilc-vcode-face img {
    max-width: 100%;
    max-height: 34px;
    display: block;
}

.zilc-vcode-mark {
    font: 600 16px/1 system-ui, sans-serif;
}

/* Counting and paused both show plain text in place of the logo. */
.zilc-vcode[data-state="counting"] .zilc-vcode-face {
    opacity: .85;
}

.zilc-vcode[data-state="paused"] .zilc-vcode-face {
    opacity: .5;
    font-style: italic;
}

.zilc-vcode[data-state="done"] .zilc-vcode-face {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
    opacity: 1;
}
