/* Welcome modal (plugin_modal) as on ckmed.pl: the plugin's own layout plus the Bootstrap "btn btn-primary" and
   "btn btn-link" buttons, which this theme (no Bootstrap) does not have */
html .modal__dialog .btn {
    display: inline-block;
    margin: 5px;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    vertical-align: middle;
    cursor: pointer;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

html .modal__dialog .btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(49, 132, 253, .5);
}

html .modal__dialog .btn-primary {
    border-color: #0d6efd;
    background: #0d6efd;
    color: #fff;
}

html .modal__dialog .btn-primary:hover {
    border-color: #0a58ca;
    background: #0b5ed7;
    color: #fff;
}

html .modal__dialog .btn-primary:active {
    border-color: #0a53be;
    background: #0a58ca;
    color: #fff;
}

html .modal__dialog .btn-link {
    color: #0d6efd;
    text-decoration: underline;
}

html .modal__dialog .btn-link:hover,
html .modal__dialog .btn-link:active {
    background: transparent;
    color: #0a58ca;
}
