/* The public variables, also on the admin's style previews: the admin app
   defines the same --gomt-color-* names with its own palette (blue, violet),
   and the preview would draw the form in the admin's colours. Keep both lists
   identical. */
:root,
.gomt-preview {
    --gomt-color-1: #FFFFFF;
    --gomt-color-2: #323444;
    --gomt-color-3: #DC3545FF;
    --gomt-color-4: #3234444A;
    --gomt-color-5: #32344412;
    --gomt-ws-color-1: #CACACA;
    --gomt-ws-color-2: #E7FFE7;
    --gomt-ws-color-3: #4A4A4A;
    --gomt-ws-color-4: #FFFFFF;
    --gomt-ws-color-5: rgba(0,128,150,1);
    --gomt-ws-color-6: #0b485b;
    --gomt-ws-color-7: #35bc48;
    --gomt-font-size: 16px;
    --gomt-line-height: 22px;
    --gomt-widget-max-w: 400px;
    --gomt-widget-max-h: 80vh;
}
.gomt-cw-widget {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 99999;
    font-size: var(--gomt-font-size);
    line-height: var(--gomt-line-height);
    max-width: calc(100% - 20px);
    @media only screen and (min-width: 991px) {
        bottom: 25px;
    }
    * {
        box-sizing: border-box;
    }
}
.gomt-cw-widget form {
    margin-bottom: 1em;
}
.gomt-cw-widget img {
    max-width: 100%;
    height: auto;
}
.gomt-cw-widget__form {
    display: none;
}
.gomt-cw-widget__form.show {
    display: block;
}
.gomt-cw-whatsapp .gomt-cw-widget__form {
    background-color: var(--gomt-color-1);
    border: 1px solid var(--gomt-color-2);
    border-radius: 0.5em;
    padding: 2em 1em;
    max-width: var(--gomt-widget-max-w);
    max-height: var(--gomt-widget-max-h);
    overflow-y: auto;
    margin-bottom: 0.5em;
}
.gomt-cw-whatsapp {
    .gomt-cw-whatsapp__cta {
        display: flex;
        flex-direction: column;
        border-radius: 100%;
        background: var(--gomt-ws-color-7);
        padding: 7px;
        box-sizing: border-box;
        width: 60px;
        height: 60px;
        font-size: 1.5em;
        margin-left: auto;
        justify-content: center;
        align-items: center;
    }
    .gomt-cw-whatsapp__icon {
        width: 40px;
        height: 40px;
        filter: invert(1);
    }
    /* The SVG icon of the widgets takes the button's text colour, so the
       button's "Colour" in the styles paints it. White by default, as the
       image of the single widget was. */
    .gomt-cw-whatsapp__cta {
        color: #ffffff;
        transition: 0.3s;
        &:hover {
            transform: scale(var(--gomt-hover-scale, 1));
        }
    }
    svg.gomt-cw-whatsapp__icon {
        fill: currentColor;
        filter: none;
    }
    /* The caption beside the button. It sits in the flow above the button and
       is pushed to the right edge like the button itself, so a long label
       grows leftwards instead of pushing the widget off the screen. */
    .gomt-cw-whatsapp__label {
        display: block;
        width: fit-content;
        max-width: var(--gomt-widget-max-w);
        margin-left: auto;
        margin-bottom: 0.5em;
        padding: 0.5em 0.9em;
        border-radius: 999px;
        background: var(--gomt-color-1);
        color: var(--gomt-color-2);
        border: 1px solid var(--gomt-color-5);
        box-shadow: 0 4px 14px var(--gomt-color-4);
        font-size: 0.875em;
        line-height: 1.3;
        text-align: right;
    }
    /* On hover it is revealed by the widget, not by the label: the label is
       under the pointer only once it is already visible, so hovering it alone
       could never bring it up. */
    .gomt-cw-whatsapp__label--hover {
        opacity: 0;
        transform: translateX(6px);
        transition: opacity .18s ease, transform .18s ease;
        pointer-events: none;
    }
    &:hover .gomt-cw-whatsapp__label--hover,
    &:focus-within .gomt-cw-whatsapp__label--hover {
        opacity: 1;
        transform: none;
    }
}
/* Keyboard users never hover, and a caption that only exists on hover is a
   caption they never read. */
@media (prefers-reduced-motion: reduce) {
    .gomt-cw-whatsapp .gomt-cw-whatsapp__label--hover {
        transition: none;
    }
}
/* The title takes the header's colour, so the header's "Colour" in the styles
   paints it (it had its own and stayed dark on a dark header). */
.gomt-cw-whatsapp .gomt-cw-widget__form-header {
    position: relative;
    color: var(--gomt-color-2);
}
.gomt-cw-whatsapp .gomt-cw-widget__form-title {
    font-size: 1em;
    line-height: 1.5em;
    font-weight: bold;
    color: inherit;
    padding: 0 1em;
    margin-bottom: 1em;
    text-align: center;
}
/* Close button of the widgets, whatever the form style. */
.gomt-cw-whatsapp .gomt-cw-widget__form-close-button {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    margin: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    background: #e5384a;
    transition: 0.3s;
    svg {
        width: 1rem;
        height: 1rem;
        fill: #fff;
    }
    &:hover {
        background: #fff;
        svg {
            fill: #e5384a;
        }
    }
}
.gomt-cw-whatsapp  .gomt-cw-widget__form-body-message {
    margin-bottom: 1.5em;
}
.gomt-form {
    /* The plugin's dark grey, as it always was (1.64.4 made it inherit and some
       forms lost the tone of their texts). Dark themes set their own colour. */
    label {
        font-size: 0.9em;
        font-weight: bold;
        color: var(--gomt-color-2);
        margin-bottom: 0.5em;
    }
    input,
    select,
    textarea {
        outline: none;
        border: 1px solid var(--gomt-color-2);
        border-radius: 0.5em;
        width: 100%;
        display: block;
        font-size: 1em;
        line-height: 1.5em;
        padding: 0 1.5em;
        height: 2.5em;
        /* The placeholder follows the field's own text colour, so it stays
           readable on light and dark fields alike. */
        &::placeholder {
            color: currentColor;
            opacity: 0.6;
        }
    }
    textarea {
        padding: 1em 1.5em;
        border-radius: 1.5em;
        height: initial;
    }
    input[type="checkbox"],
    input[type="radio"] {
        width: 1.2em;
        height: 1.2em;
        padding: 0;
    }
    /* The theme's own field rules (input[type=email]{height:auto;padding:8px},
       no border, no side padding, margins, line heights) used to win over the
       ones above, which have the same weight and load first: the e-mail field
       ended up 37px tall and the phone beside it 21px, and on other themes the
       text touched the edge of a borderless field. These carry more weight than
       any theme selector (0-5-1) and less than the form's own styles, which are
       scoped to its id, and than the global ones, printed after this file. */
    input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
    select:not([hidden]):not(.gomt-form__select select) {
        box-sizing: border-box;
        display: block;
        width: 100%;
        height: 2.5em;
        min-height: 0;
        max-width: 100%;
        margin: 0;
        padding: 0 1.5em;
        border: 1px solid var(--gomt-color-2);
        border-radius: 0.5em;
        background-color: var(--gomt-color-1);
        color: var(--gomt-color-2);
        font-family: inherit;
        font-size: 1em;
        line-height: normal;
        vertical-align: middle;
        box-shadow: none;
    }
    textarea:not([hidden]) {
        box-sizing: border-box;
        display: block;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 1em 1.5em;
        border: 1px solid var(--gomt-color-2);
        border-radius: 1.5em;
        background-color: var(--gomt-color-1);
        color: var(--gomt-color-2);
        font-family: inherit;
        font-size: 1em;
        box-shadow: none;
    }
    button,
    input[type="submit"] {
        border: 2px solid var(--gomt-color-2);
        border-radius: 0.5em;
        padding: 0.6em 1.5em;
        color: var(--gomt-color-1);
        cursor: pointer;
        font-weight: bold;
        font-size: 1em;
        line-height: 1.2em;
        text-decoration: none;
        box-sizing: border-box;
        display: inline-block;
        background-color: var(--gomt-color-2);
        width: initial;
        height: auto;
        transition: .3s;
        /* The hover zoom is a setting (--gomt-hover-scale), none by default. */
        &:hover {
            background-color: var(--gomt-color-1);
            border-color: var(--gomt-color-2);
            color: var(--gomt-color-2);
            transform: scale(var(--gomt-hover-scale, 1));
        }
    }
    .inputs-list {
        list-style: none;
        padding: 0;
    }
    .gomt-form__submit-container {
        text-align: center;
    }
    .gomt-form__loader {
        margin: 1em auto;
        display: table;
        color: var(--gomt-color-2);
    }
    .gomt-form__loader svg {
        fill: var(--gomt-color-2);
        width: 1.7em;
        height: 1.7em;
        animation: gomtLoaderRotate 1.5s infinite linear;
    }
    .gomt-form__group {
        margin-bottom: 1em;
    }
    /* Box and text side by side in a row, whatever the theme does to floats,
       labels and checkbox margins: the float this replaced left the box on a
       line of its own as soon as the label wrapped. */
    .gomt-form__checkbox,
    .gomt-form__radio {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 0.5em;
        padding-left: 0;
        /* Its error message on a line of its own, under the text: beside it, it
           squeezed the text into a narrow column. */
        > .gomt-form__error-msg {
            flex: 0 0 100%;
            margin: 0;
        }
    }
    .gomt-form__checkbox .gomt-form__checkbox-input,
    .gomt-form__radio .gomt-form__radio-input {
        float: none;
        flex: 0 0 auto;
        margin: 0.15em 0 0;
        position: static;
    }
    .gomt-form__checkbox .gomt-form__checkbox-label,
    .gomt-form__radio .gomt-form__radio-label {
        display: block;
        /* Basis 0, so a long text shares the row with the box instead of
           wrapping below it now that the row wraps for the error message. */
        flex: 1 1 0%;
        min-width: 0;
        margin: 0;
    }
    .gomt-form__checkbox-input[type=checkbox],
    .gomt-form__radio-input[type=radio] {
        border-radius: 0.25em;
    }
    .gomt-form__select {
        width: 100px;
        flex: 0 0 100px;
        box-sizing: border-box;
        height: 2.5em;
        display: flex;
        align-items: center;
        background-color: var(--gomt-color-1);
        border: 1px solid var(--gomt-color-2);
        border-top-left-radius: 0.5em;
        border-bottom-left-radius: 0.5em;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        padding: 0 0.5em;
        position: relative;
        select,
        .gomt-form__select-label-image,
        .gomt-form__select-options {
            display: none;
        }
        .gomt-form__select-label-image {
            width: 1.4rem;
            margin-right: 0.2rem;
            &.active {
                display: block;
            }
        }
        .gomt-form__select-label {
            display: flex;
            align-items: center;
            cursor: pointer;
            width: 100%;
        }
        .gomt-form__select-label-text {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }
        .gomt-form__select-label-icon {
            width: 0.8rem;
            fill: currentColor;
            margin-left: auto;
        }
        .gomt-form__select-options {
            top: 100%;
            position: absolute;
            background-color: var(--gomt-color-1);
            padding: 0.5rem;
            list-style: none;
            left: 0;
            min-width: 300px;
            border: 1px solid var(--gomt-color-2);
            border-radius: 0.4rem;
            max-height: 220px;
            overflow-y: auto;
            z-index: 999;
            &.active {
                display: block;
            }
            /* width */
            &::-webkit-scrollbar {
                height: 0.6rem;
                width: 0.6rem;
                background: var(--gomt-color-4);
            }
            /* Track */
            &::-webkit-scrollbar-track {
                border-radius: 0.5rem;
            }
            /* Handle */
            &::-webkit-scrollbar-thumb {
                background: var(--gomt-color-2);
                border-radius: 0.5rem;
            }
            /* Handle on hover */
            &::-webkit-scrollbar-thumb:hover {
                background: var(--gomt-color-2);
            }
        }
        /* Search at the top of the country list, so nobody scrolls 200 rows. */
        .gomt-form__select-search {
            position: sticky;
            top: -0.5rem;
            margin: -0.5rem -0.5rem 0.5rem;
            padding: 0.5rem;
            background-color: inherit;
            list-style: none;
            input.gomt-form__select-search-input {
                height: 2.25em;
                padding: 0 0.75em;
                border-radius: 0.4rem;
                font-size: 0.95em;
            }
        }
        .gomt-form__select-empty {
            padding: 0.5rem;
            opacity: 0.6;
            list-style: none;
        }
        .gomt-form__select-option {
            padding: 0.5rem;
            cursor: pointer;
            &:hover {
                background: var(--gomt-color-5);
            }
        }
    }
    /* Country and number are one control: same height (the select follows
       the field) and joined in the middle whatever radius a style sets. */
    .gomt-form__input-append {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        position: relative;
        > .gomt-form__select {
            height: auto;
            min-height: 0;
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        > .gomt-form__input-append-2,
        > input.gomt-form__input-append-2 {
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
            border-left-width: 0 !important;
            padding-left: 1em;
            padding-right: 1em;
        }
        > .gomt-form__error-msg {
            flex: 0 0 100%;
        }
    }
    .gomt-form__input-append-1 {
        width: 100px;
        flex: 0 0 100px;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-right: 1px solid var(--gomt-color-2);
        padding: 0 1em;
    }
    .gomt-form__input-append-2 {
        width: calc(100% - 100px);
        flex: 0 0 calc(100% - 100px);
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
        border-left: 0;
        padding: 0 1em;
        .gomt-form__select {
            border-top-left-radius: 0.5em;
            border-bottom-left-radius: 0.5rem;
        }
    }
    /* The confirmation after sending reads as a message: a soft box with a tick,
       in whatever colours the form's styles give it (the tick and the edge use
       the text colour, so a theme only has to set two colours). */
    .gomt-form__submitted {
        display: flex;
        align-items: flex-start;
        gap: 0.65em;
        padding: 0.9em 1.1em;
        border-radius: 0.75em;
        background-color: #ecfdf3;
        color: #065f46;
        border: 1px solid color-mix(in srgb, currentColor 25%, transparent);
        font-weight: 500;
        line-height: 1.45;
        &::before {
            content: "\2713";
            flex: 0 0 auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 1.5em;
            height: 1.5em;
            border-radius: 50%;
            border: 2px solid currentColor;
            font-size: 0.85em;
            font-weight: 700;
            line-height: 1;
        }
    }
    .gomt-form__error-msg {
        color: var(--gomt-color-3);
        font-size: 0.9em;
        font-weight: bold;
        padding: 0.5em;
    }
    .gomt-form__checkbox,
    .gomt-form__radio {
        min-height: 1.5em;
        margin-bottom: 0.125em;
    }
    .gomt-form--label-sr-only {
        .gomt-form__input-label {
            border: 0;
            clip: rect(0,0,0,0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }
    }
}
.gomt-cw-widget__form--whatsapp {
    .gomt-cw-widget__form {
        background-image: url('../../images/whatsapp-bg.webp'), linear-gradient(to bottom, rgba(233,224,215,1) 0%, rgba(233,224,215,1) 100%);
        background-position-x: 50%;
        background-position-y: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-attachment: scroll;
        justify-content: center;
        padding: 0;
        border-color: var(--gomt-ws-color-1);
        max-width: 480px;
        overflow-y: auto;
        overflow-x: hidden;
    }
    .gomt-cw-widget__form-header {
        background-color: var(--gomt-ws-color-6);
        color: var(--gomt-ws-color-4);
        padding: 0.8em 2.5rem 0.8em 1rem;
        position: relative;
    }
    .gomt-cw-widget__form-close-button {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
        width: 1.5rem;
        height: 1.5rem;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        border-radius: 8px;
        cursor: pointer;
        background: #e5384a;
        transition: 0.3s;
        &:hover {
            background: #fff;
            svg {
                fill: #e5384a;
            }
        }
        svg {
            width: 1rem;
            height: 1rem;
            fill: #fff;
        }
    }
    .gomt-cw-widget__form-title {
        text-align: left;
        color: var(--gomt-ws-color-4);
        font-weight: normal;
        padding: 0;
        margin: 0;
    }
    .gomt-cw-widget__form-body {
        padding: 1em 1.3rem;
        width: 480px;
        max-width: 100%;
        @media only screen and (max-width: 575px) {
            padding: 0.7em 0.7rem;
        }
    }
    .gomt-cw-widget__form-body-message {
        background: var(--gomt-ws-color-4);
        border: 1px solid var(--gomt-ws-color-1);
        color: var(--gomt-ws-color-3);
        padding: 0.5em;
        border-radius: 0.5em;
        border-top-left-radius: 0;
        margin-bottom: 1em;
        margin-right: auto;
        margin-left: 0 !important;
        max-width: 350px;
    }
    .gomt-form__group {
        max-width: 350px;
        margin-left: auto;
    }
    .gomt-form {
        /* Same weight as the theme-proof base above, so the chat style still
           paints the fields of a WhatsApp widget. */
        input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="hidden"]),
        textarea,
        select {
            background-color: var(--gomt-ws-color-2);
            color: var(--gomt-ws-color-3);
            border: 1px solid var(--gomt-ws-color-1);
            border-top-right-radius: 0;
            &::placeholder {
                color: var(--gomt-ws-color-3);
            }
        }
        /* Weight 0-2-1: above the plain form's base and a theme's
           `.gomt-form .gomt-form__submit` (0-2-0), below any style set in the
           editor, global ones included (0-3-0). The hover rule is lighter still
           (:where), and no longer re-sets background and border: hovering used
           to lose the button's styles, and the zoom could not be changed. */
        :is(button, input[type="submit"]) {
            background-color: var(--gomt-ws-color-5);
            color: var(--gomt-ws-color-4);
            border: none;
            border-radius: 0.4em;
            font-weight: normal;
            --gomt-hover-scale: 1.1;
            transition: 0.3s;
        }
        :where(button, input[type="submit"]):hover {
            background-color: var(--gomt-ws-color-5);
            color: var(--gomt-ws-color-4);
            border-color: transparent;
        }
        .gomt-form__select {
            width: 100px;
            flex: 0 0 100px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            padding: 0 0.5em;
            position: relative;
            height: 2.5rem;
            background-color: var(--gomt-ws-color-2);
            color: var(--gomt-ws-color-3);
            border: 1px solid var(--gomt-ws-color-1);
            display: flex;
            align-items: center;
        }
        .gomt-form__whatsapp-message,
        .gomt-form__submitted {
            background: var(--gomt-ws-color-4);
            border: 1px solid var(--gomt-ws-color-1);
            padding: 0.5em;
            border-radius: 0.5em;
            margin-bottom: 1em;
        }
        .gomt-form__submitted {
            margin: 2em;
        }
        .gomt-form__input-append-1 {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }
        .gomt-form__input-append-2 {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }
    }
    .gomt-form__submitted {
        background: var(--gomt-ws-color-4);
        border: 1px solid var(--gomt-ws-color-1);
        color: var(--gomt-ws-color-3);
        padding: 0.5em;
        border-radius: 0.5em;
        border-top-left-radius: 0;
        margin-bottom: 1em;
        margin-right: auto;
        margin-left: 0 !important;
        max-width: 350px;
    }
    .gomt-form__loader svg {
        fill: var(--gomt-ws-color-6);
    }
}
@keyframes gomtLoaderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* Selector de eventos por clic, solo para administradores */
.gomt-picker__hint {
    position: fixed;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100000;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: calc(100vw - 40px);
    background: #4f46e5;
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-family: system-ui, sans-serif;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
/* The bar itself ignores the pointer so it never blocks the element under it;
   only the scope control takes clicks. */
.gomt-picker__hint > span {
    pointer-events: none;
}
.gomt-picker__inner {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding-left: 14px;
    border-left: 1px solid rgba(255, 255, 255, .35);
    cursor: pointer;
}
.gomt-picker__inner input {
    margin: 0;
    accent-color: #fff;
}
/* Moves the selection up and down the tree after picking: a click lands on
   whatever is innermost, and that is not always what was meant. */
.gomt-picker__scope {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.gomt-picker__scope code {
    flex: 1;
    background: #f3f4f6;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gomt-picker__scope button {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #4f46e5;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}
.gomt-picker__scope button:disabled {
    opacity: .35;
    cursor: default;
}
.gomt-picker__panel {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 100001;
    width: min(420px, calc(100vw - 40px));
    background: #fff;
    color: #1f2937;
    border-radius: 12px;
    padding: 16px;
    font-family: system-ui, sans-serif;
    font-size: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.gomt-picker__title {
    font-weight: 700;
    margin-bottom: 10px;
}
.gomt-picker__row {
    margin-bottom: 8px;
    word-break: break-all;
}
.gomt-picker__row code {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
}
.gomt-picker__field {
    display: block;
    margin-bottom: 10px;
}
.gomt-picker__field > span {
    display: block;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 4px;
}
.gomt-picker__field small {
    display: block;
    margin-top: 6px;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.4;
}
.gomt-picker__field input[type="text"],
.gomt-picker__field select {
    width: 100%;
    box-sizing: border-box;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 13px;
    font-family: ui-monospace, monospace;
    background: #fff;
    color: #1f2937;
}
.gomt-picker__field select {
    font-family: inherit;
}
/* The list is capped so a site with many events cannot push the actions off
   the bottom of the screen, which is where the save button lives. */
.gomt-picker__events {
    max-height: 150px;
    overflow-y: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 6px 8px;
}
.gomt-picker__check {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 0;
    font-size: 13px;
    cursor: pointer;
}
.gomt-picker__check code {
    background: #f3f4f6;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 11px;
}
.gomt-picker__empty {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
}
.gomt-picker__message:not(:empty) {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #eef2ff;
    color: #4f46e5;
    font-size: 12px;
}
.gomt-picker__actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}
.gomt-picker__actions button,
.gomt-picker__actions a {
    border: 0;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    background: #eef2ff;
    color: #4f46e5;
    text-decoration: none;
}
.gomt-picker__actions a {
    background: #4f46e5;
    color: #fff;
}

/* Campo de archivo */
.gomt-form__group--file .gomt-form__file-hint {
    display: block;
    margin-top: 0.35em;
    font-size: 0.8125em;
    opacity: .75;
}
.gomt-form__group--file .gomt-form__file-state:not(:empty) {
    display: block;
    margin-top: 0.35em;
    font-size: 0.8125em;
}
.gomt-form__group--file .gomt-form__file-state[data-state="error"] {
    color: var(--gomt-color-3);
}
.gomt-form__input--file {
    /* The native control ignores most of the form's input styling, so it is
       given room rather than a shape it will not take. */
    padding: 0.5em 0;
    width: 100%;
    box-sizing: border-box;
}
