/* text-format.css: the mobile document format popup (see FormatPopup). Starts as a copy of
   text-style.css, the style popup's styling. */

div.popup-text-format {
    max-height: 85%;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* The options stacked as a block, centred under the heading, with each one left-aligned in it */
div.text-format-options {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin-left: 10px;
    margin-right: 10px;
}

/* A radio button and its name. The whole row selects it, giving a bigger target than the radio. */
label.text-format-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    font-weight: bold;
    cursor: pointer;
}

label.text-format-option input {
    width: 18px;
    height: 18px;
    margin: 0;
}
