/* The small contact form on the static pages (/pricing, the Resources pages): the dialog opened by
   [data-tb-contact] and inline forms. Markup: tools/static-pages/common.py; script: assets/scripts/opsmonsters-contact.js */
.tbx-dlg { position: fixed; inset: 0; margin: auto; height: fit-content; max-height: calc(100dvh - 32px); overflow: auto; border: 0; padding: 0;
  border-radius: 14px; width: min(440px, calc(100vw - 32px)); box-shadow: 0 24px 60px rgba(26,25,25,.25); color: #2B2A29; background: #fff; }
.tbx-dlg::backdrop { background: rgba(26,25,25,.45); }
.tbx-form { position: relative; display: flex; flex-direction: column; text-align: left; }
.tbx-dlg .tbx-form { padding: 28px 24px 24px; }
.tbx-form h2 { margin: 0; font-size: 24px; font-weight: 400; letter-spacing: -.01em; padding-right: 40px; }
.tbx-sub { margin: 6px 0 14px; font-size: 14.5px; color: #6A6663; }
.tbx-form label { font-size: 13px; color: #5F5C59; margin: 12px 0 6px; }
.tbx-form input, .tbx-form select, .tbx-form textarea { height: 44px; border: 1px solid rgba(26,25,25,.18); border-radius: 6px; padding: 0 12px;
  font: inherit; font-size: 15px; color: #2B2A29; background: #fff; width: 100%; box-sizing: border-box; }
.tbx-form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.tbx-form input:focus, .tbx-form select:focus, .tbx-form textarea:focus { outline: 0; border-color: #2B2A29; box-shadow: 0 0 0 3px rgba(228,242,34,.6); }
.tbx-send { margin-top: 22px; height: 46px; border: 0; border-radius: 6px; cursor: pointer; font: inherit; font-size: 15px; background: #E4F222; color: #2B2A29; transition: background .2s; }
.tbx-send:hover { background: #ECF55A; }
.tbx-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #F2F0EE; cursor: pointer; display: grid; place-items: center; color: #2B2A29; }
.tbx-x .font-icon { font-size: 19px; }
.tbx-msg, [data-tb-msg] { margin: 12px 0 0; font-size: 14px; }
[data-kind="error"] { color: #B3261E; } [data-kind="ok"] { color: #2F8F5B; } [data-kind="info"] { color: #6A6663; }
footer [data-tb-msg][data-kind="ok"] { color: #E4F222; } footer [data-tb-msg][data-kind="error"] { color: #FFB4AB; }
