/* Local TOTP utility surface for the storefront navigation. */
.storefront-twofa-page {
    max-width: 860px !important;
}

.storefront-twofa {
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 19px;
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 10px 30px rgba(25, 86, 100, .14);
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.storefront-twofa__intro {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 21px 24px 18px;
    border-bottom: 1px solid rgba(70, 91, 105, .12);
}

.storefront-twofa__icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #e7f1ff;
    color: #1679f4;
    font-size: 22px;
}

.storefront-twofa__eyebrow {
    color: #86939b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.storefront-twofa h1 {
    margin: 3px 0 3px;
    color: #4e5b63;
    font-size: 21px;
    font-weight: 800;
}

.storefront-twofa__intro p {
    margin: 0;
    color: #7b8991;
    font-size: 12px;
}

.storefront-twofa__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .9fr);
    gap: 18px;
    padding: 21px 24px 19px;
}

.storefront-twofa__form label {
    display: block;
    margin-bottom: 8px;
    color: #5d6b73;
    font-size: 13px;
    font-weight: 700;
}

.storefront-twofa__form textarea {
    display: block;
    width: 100%;
    min-height: 123px;
    resize: vertical;
    padding: 12px;
    border: 1px solid rgba(111, 137, 150, .2);
    border-radius: 8px;
    outline: 0;
    background: rgba(255, 255, 255, .58);
    color: #45545d;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    line-height: 1.65;
}

.storefront-twofa__form textarea:focus {
    border-color: rgba(22, 121, 244, .6);
    box-shadow: 0 0 0 3px rgba(22, 121, 244, .12);
}

.storefront-twofa__form textarea::placeholder {
    color: #9aa6ac;
}

.storefront-twofa__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.storefront-twofa__button,
.storefront-twofa__copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.storefront-twofa__button {
    padding: 0 14px;
}

.storefront-twofa__button--primary {
    border: 1px solid #1679f4;
    background: #1679f4;
    color: #fff;
}

.storefront-twofa__button--quiet {
    border: 1px solid rgba(75, 99, 110, .18);
    background: rgba(255, 255, 255, .55);
    color: #63727a;
}

.storefront-twofa__button:hover,
.storefront-twofa__copy:hover {
    filter: brightness(.97);
}

.storefront-twofa__status {
    min-height: 18px;
    margin: 10px 0 0;
    color: #87949b;
    font-size: 11px;
    line-height: 1.55;
}

.storefront-twofa__status.is-error {
    color: #d84e5c;
}

.storefront-twofa__result {
    min-width: 0;
    padding: 17px 18px 15px;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 13px;
    background: rgba(238, 248, 255, .62);
}

.storefront-twofa__result-head,
.storefront-twofa__code-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.storefront-twofa__result-label {
    display: block;
    color: #7c8990;
    font-size: 11px;
}

.storefront-twofa__result-head strong {
    display: block;
    max-width: 220px;
    margin-top: 3px;
    overflow: hidden;
    color: #53636c;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-twofa__period {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(22, 121, 244, .15);
    border-radius: 50%;
    background: rgba(255, 255, 255, .68);
    color: #1679f4;
    font-size: 11px;
    font-weight: 800;
}

.storefront-twofa__code-row {
    gap: 8px;
    margin-top: 20px;
}

.storefront-twofa__code {
    overflow: hidden;
    color: #1679f4;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 3px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-twofa__copy {
    flex: 0 0 auto;
    width: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid rgba(22, 121, 244, .15);
    background: rgba(255, 255, 255, .7);
    color: #1679f4;
}

.storefront-twofa__progress {
    height: 4px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(22, 121, 244, .12);
}

.storefront-twofa__progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #1679f4;
    transition: width .2s linear;
}

.storefront-twofa__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 17px 0 0;
}

.storefront-twofa__meta div {
    min-width: 0;
    padding-top: 9px;
    border-top: 1px solid rgba(70, 91, 105, .1);
}

.storefront-twofa__meta dt {
    color: #8b989f;
    font-size: 10px;
}

.storefront-twofa__meta dd {
    margin: 4px 0 0;
    overflow: hidden;
    color: #5d6c74;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.storefront-twofa__note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 24px 14px;
    border-top: 1px solid rgba(70, 91, 105, .1);
    color: #849198;
    font-size: 11px;
    line-height: 1.6;
}

.storefront-twofa__note i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #20a77e;
}

@media (max-width: 700px) {
    .storefront-twofa-page {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .storefront-twofa__intro {
        padding: 17px 16px 15px;
    }

    .storefront-twofa__workspace {
        display: block;
        padding: 17px 16px 15px;
    }

    .storefront-twofa__result {
        margin-top: 16px;
    }

    .storefront-twofa__note {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (max-width: 420px) {
    .storefront-twofa__icon {
        width: 42px;
        height: 42px;
    }

    .storefront-twofa__code {
        font-size: 29px;
        letter-spacing: 2px;
    }
}
