/* Fancy Bricks — copy and paste front end. Minimal styling: the design session restyles these. */

.fbw-copybar {
    display: flex;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
}

.fbw-copybar__group {
    display: inline-flex;
    gap: 0.25em;
}

.fbw-copybar__btn[aria-pressed="true"] {
    font-weight: 700;
    text-decoration: underline;
}

.fbw-copy__fallback textarea.fbw-copy__textarea {
    width: 100%;
    min-height: 4em;
}

.fbw-copy__live {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.fbw-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.fbw-dialog {
    background: #fff;
    color: #111;
    max-width: 28em;
    width: calc(100% - 2em);
    padding: 1.5em;
    border-radius: 0.5em;
    position: relative;
}

.fbw-dialog__close {
    position: absolute;
    top: 0.5em;
    right: 0.5em;
    background: none;
    border: none;
    font-size: 1.5em;
    line-height: 1;
    cursor: pointer;
}

.fbw-btn {
    display: inline-block;
    padding: 0.5em 1em;
    border: 1px solid currentColor;
    border-radius: 0.25em;
    text-decoration: none;
    cursor: pointer;
    background: none;
    color: inherit;
}

.fbw-btn--primary {
    background: #111;
    color: #fff;
    border-color: #111;
}
