html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* Bootstrap's own placeholder color (--bs-secondary-color, 75%-opacity near-black) reads almost as dark as typed
   text, so an empty field looks already filled in. Same light hint color as the partner panel. */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
    color: #adb5bd;
    opacity: 1;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* ---- The admin pages' lists in the settings look; the cards, rows and sheets themselves are
   Shared.Localization's settings-look.css ---- */
.adm-title { font-size: 20px; font-weight: 600; margin: 4px 0 14px; }
/* Filters over a list: a search field and the chips or a segmented choice beside it, wrapping on phones. */
.adm-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.adm-search { position: relative; flex: 1; min-width: 200px; color: var(--st-text-3); }
.adm-search > svg { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.adm-search input { width: 100%; height: 34px; padding: 0 30px 0 32px; border: 0; border-radius: 8px; background: #e3e3e8; font-size: 14px; color: var(--st-text); outline: none; }
.adm-search-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 2px; display: inline-flex; color: var(--st-text-3); cursor: pointer; }
.adm-search-x:hover { color: var(--st-text); }
.adm-chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 0; border-radius: 8px; background: #e3e3e8; color: var(--st-text-2); font-size: 13px; cursor: pointer; white-space: nowrap; }
.adm-chip.st-on { background: var(--st-accent-bg); color: var(--st-accent-text); }
.adm-chip-x { display: inline-flex; padding: 0 0 0 2px; }
/* The chip's list opens under it, from its right edge (the chip ends the row). */
.adm-chip-wrap { position: relative; display: inline-flex; }
.adm-chip-pop { top: 38px; right: 0; }
.adm-menu-line { border-top: 0.5px solid var(--st-border); margin: 4px 6px; }
.adm-tick { width: 14px; display: inline-flex; }
/* A list row: a round mark, then a name over a gray line; tags and the chevron on the right. */
.adm-row { color: inherit; text-decoration: none; padding-top: 8px; padding-bottom: 8px; }
.adm-row:hover { background: rgba(0, 0, 0, 0.02); }
.adm-main { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.adm-text { display: flex; flex-direction: column; min-width: 0; }
.adm-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-text .st-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.adm-mark { width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--st-accent-bg); color: var(--st-accent-text); font-size: 13px; font-weight: 600; }
.adm-dim .adm-name, .adm-dim .adm-mark { opacity: 0.5; }
.adm-tags { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; }
.adm-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; color: var(--st-text-2); background: var(--st-bg); border: 0.5px solid var(--st-border); border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.adm-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.adm-tag.adm-green::before { background: #34c759; }
.adm-tag.adm-red::before { background: #ff3b30; }
.adm-tag.adm-orange::before { background: #ff9f0a; }
.adm-tag.adm-gray::before { background: var(--st-text-3); }
.adm-empty { justify-content: center; color: var(--st-text-2); min-height: 80px; }
.adm-more { text-align: center; color: var(--st-text-3); font-size: 12px; padding: 12px; }
/* A sheet's title with the item's mark before it. */
.adm-sheet-head { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; min-width: 0; }
.adm-sheet-head h3 { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-sheet .st-card { background: var(--st-bg); border-color: transparent; }
.adm-wrap { white-space: normal; text-align: right; }
/* A field typed right in its row (the invitations): label on the left, the value right-aligned. */
.adm-field { cursor: text; }
.adm-field > span { flex-shrink: 0; width: 150px; }
.adm-field input { flex: 1; min-width: 0; height: 30px; border: 0; padding: 0; background: none; text-align: right; font-size: 14px; color: var(--st-text-2); outline: none; }
.adm-field input:focus { color: var(--st-text); }
.adm-send { display: flex; justify-content: flex-end; margin: -6px 0 18px; }
.adm-code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; color: var(--st-text); background: var(--st-bg); padding: 1px 6px; border-radius: 5px; }
.adm-when { font-size: 12px; color: var(--st-text-2); white-space: nowrap; align-self: flex-start; padding-top: 2px; }
.adm-details { font-size: 12px; color: var(--st-text-2); margin-top: 2px; overflow-wrap: anywhere; }
@media (max-width: 640.98px) { .adm-field > span { width: 110px; } }
.st-foot.adm-error { color: var(--st-danger); }
/* An action in a sheet's card (send a reset email): accent text on the whole row, without the link underline. */
.adm-link-row { color: var(--st-accent-text); cursor: pointer; }
.adm-link-row:hover { color: var(--st-accent-text); }
.adm-link-row:hover { background: rgba(0, 0, 0, 0.03); }
/* An account's own page (UserAccountPage): back link, its head, squares for organizations and devices. */
.adm-back { display: inline-flex; align-items: center; gap: 2px; margin: 0 0 6px; font-size: 14px; color: var(--st-accent-text); text-decoration: none; }
.adm-back:hover { color: var(--st-accent-text); text-decoration: underline; }
.adm-head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 4px 0 20px; text-align: center; min-width: 0; }
.adm-head-name { font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.adm-mark.adm-big { width: 64px; height: 64px; font-size: 24px; }
.adm-square { width: 32px; height: 32px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: #e3e3e8; color: var(--st-text-2); font-size: 12px; font-weight: 600; }
.adm-dash { color: var(--st-text-3); }
.adm-red-text { color: var(--st-danger); }
.adm-orange-text { color: #c25e00; }
.adm-user-agent { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; color: var(--st-text-3); word-break: break-all; }
/* The invitations' "+ Նոր հրավեր" row and its menu (the panel's "+ Ավելացնել աշխատակից"). */
.adm-add-row { position: relative; }
.adm-add-menu { top: 40px; left: 50%; transform: translateX(-50%); color: var(--st-text); min-width: 260px; }
.adm-add-item { flex-direction: column; align-items: flex-start; gap: 0; }
.adm-add-item small { font-size: 11px; color: var(--st-text-2); }
.adm-add-item:hover small { color: rgba(255, 255, 255, 0.8); }
/* The history's action menu: opens from the chip's left edge (it starts the row), in groups, scrolling when long. */
.adm-chip-pop-left { right: auto; left: 0; }
.adm-menu-scroll { max-height: 360px; overflow-y: auto; min-width: 260px; }
.adm-menu-group { font-size: 11px; color: var(--st-text-2); padding: 4px 10px 2px; }
