/* ===== Prayers: base layout ===== */
:root {
    --bar: #1e5fbf;
    --on-bar: #ffffff;
    --text: #1f2328;
    --muted: #5b6470;
    --line: #e3e6ea;
    --red: #b3261e;
    --font-ui: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-text: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --text-size: 20px;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    background: #e9edf2;
    color: var(--text);
    font-family: var(--font-ui);
    font-size: 16px;
}

/* The app fills exactly the screen: bar and footer fixed, only the middle area scrolls. */
.page {
    position: relative;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
}

/* PC: the app as a page in a frame, centered, 720 px wide, full window height with a small margin. */
@media (min-width: 760px) {
    .page {
        max-width: 720px;
        height: calc(100vh - 32px);
        height: calc(100dvh - 32px);
        margin: 16px auto;
        border: 1px solid #cfd5dd;
        border-radius: 18px;
        box-shadow: 0 4px 24px rgba(20, 24, 31, 0.08);
    }
}

.top-bar,
.ct-footer {
    flex: 0 0 auto;
}

.content-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    /* Thin scrollbar inside the frame. */
    scrollbar-width: thin;
    scrollbar-color: #b9c1cc transparent;
}

    .content-scroll::-webkit-scrollbar {
        width: 8px;
    }

    .content-scroll::-webkit-scrollbar-thumb {
        background: #b9c1cc;
        border-radius: 4px;
    }

    .content-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

.top-bar {
    background: var(--bar);
    color: var(--on-bar);
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2px;
    padding: 0 6px;
}

.top-bar-title {
    font-size: 20px;
    font-weight: 600;
}

.content {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 16px;
}

.loading-text,
.placeholder-text {
    color: var(--muted);
    font-size: 17px;
}

.ct-footer {
    border-top: 1px solid var(--line);
    padding: 8px 16px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px 16px;
    font-size: 12px;
    color: var(--muted);
}

.app-version {
    margin-left: auto;
}

.contact-link {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    color: var(--bar);
    text-decoration: none;
    font-size: 13px;
}

    .contact-link:hover {
        text-decoration: underline;
    }

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Icon buttons in the bar (menu, back) ===== */
.icon-btn {
    width: 34px;
    height: 44px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .icon-btn svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .icon-btn:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .icon-btn:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

/* The title is a button (reload), drawn like plain text. */
button.top-bar-title {
    border: 0;
    background: transparent;
    color: inherit;
    font-family: var(--font-ui);
    text-align: left;
    padding: 0 0 0 4px;
    cursor: pointer;
    height: 44px;
}

.top-bar-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Start page ===== */
.front-text {
    padding: 8px 0 4px;
    border-bottom: 1px solid var(--line);
}

.front-text-head,
.prayer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.label-nr {
    font-size: 15px;
    font-weight: 600;
    color: var(--bar);
}

.label-no-nr {
    font-size: 15px;
    font-weight: 600;
    color: var(--red);
}

.group {
    padding-top: 16px;
}

.group-title {
    margin: 0;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.category-list,
.text-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .category-list li {
        border-top: 1px solid #eef0f3;
    }

.category-link {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

    .category-link:hover .category-name {
        color: var(--bar);
    }

.category-name {
    font-family: var(--font-text);
    font-size: 18px;
}

.category-count {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

    .category-count svg {
        fill: none;
        stroke: #8a929c;
        stroke-width: 2;
        stroke-linecap: round;
    }

.page-info {
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--muted);
}

/* Quick button of the open view */
.icon-btn.active {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== Arrow row at the top of every view ===== */
.arrow-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: -4px 0 8px;
    min-height: 48px;
}

/* ===== New page slides in after ‹ › or swiping (the old one was moved out by the finger, wwwroot/js/swipe.js) ===== */
@keyframes slide-in-from-right {
    from {
        transform: translateX(100%);
    }

    to {
        transform: none;
    }
}

@keyframes slide-in-from-left {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: none;
    }
}

.content.slide-next {
    animation: slide-in-from-right 0.22s ease-out;
}

.content.slide-prev {
    animation: slide-in-from-left 0.22s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .content.slide-next,
    .content.slide-prev {
        animation: none;
    }
}

.content-scroll {
    position: relative;
    overflow-x: hidden;
    /* The browser only scrolls up/down here; sideways movements go to swipe.js. */
    touch-action: pan-y;
}

/* Neighbour pages for swiping: hidden until swipe.js shows them at the visible part, just outside the edge. */
.peek {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    visibility: hidden;
    background: #ffffff;
    pointer-events: none;
}

.nav-btn-static {
    box-sizing: border-box;
}

.search-static {
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    color: var(--muted);
}

    .search-static.has-text {
        color: var(--text);
    }

.search-clear-static {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Search field in the arrow row ===== */
.search-box {
    flex: 1 1 140px;
    min-width: 0;
    max-width: 320px;
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 10px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

.search-input {
    width: 100%;
    min-width: 0;
    height: 38px;
    box-sizing: border-box;
    padding: 0 32px 0 32px;
    border: 1px solid #c9ced6;
    border-radius: 19px;
    font-family: var(--font-ui);
    font-size: 16px;
    color: var(--text);
    background: #ffffff;
}

    .search-input:focus {
        outline: none;
        border-color: var(--bar);
        box-shadow: 0 0 0 2px rgba(30, 95, 191, 0.2);
    }

.search-clear {
    position: absolute;
    right: 4px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    cursor: pointer;
}

    .search-clear:hover {
        background: #f1f4f8;
        color: var(--text);
    }

mark.hit {
    background: #ffe27a;
    color: inherit;
    border-radius: 2px;
    padding: 0 1px;
}

.nav-label {
    padding: 0 4px;
    text-align: center;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 600;
    color: var(--bar);
}

/* ===== Previous / next on the text page ===== */
.prayer-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #c9ced6;
    border-radius: 20px;
    background: #ffffff;
    color: var(--bar);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .nav-btn svg {
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .nav-btn:hover:not(:disabled) {
        background: #eef3fb;
        border-color: var(--bar);
    }

    .nav-btn:disabled {
        color: #b9c1cc;
        cursor: default;
    }

    .nav-btn:focus-visible {
        outline: 2px solid var(--bar);
        outline-offset: 2px;
    }

/* ===== Rows in lists ===== */
.text-row {
    border-top: 1px solid #eef0f3;
    display: flex;
    align-items: center;
}

.text-row-link {
    flex: 1;
    min-width: 0;
    min-height: 60px;
    padding: 10px 4px 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

    .text-row-link:hover .text-row-title {
        color: var(--bar);
    }

.text-row-label {
    flex: 0 0 auto;
    min-width: 52px;
    padding-top: 3px;
    font-size: 15px;
    font-weight: 600;
    color: var(--bar);
}

.text-row-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.text-row-title {
    font-family: var(--font-text);
    font-size: 17px;
    line-height: 1.4;
}

.text-row-initial {
    font-weight: 600;
}

    .text-row-initial.female {
        color: var(--red);
    }

.text-row-info {
    font-size: 13px;
    color: var(--muted);
}

.sub-heading h2 {
    margin: 0;
    padding: 18px 0 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.star-btn {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .star-btn svg {
        fill: none;
        stroke: #8a929c;
        stroke-width: 1.8;
        stroke-linejoin: round;
    }

    .star-btn.on svg {
        fill: #e0a100;
        stroke: #b07d00;
    }

    .star-btn:hover {
        background: #f1f4f8;
    }

    .star-btn:focus-visible {
        outline: 2px solid var(--bar);
        outline-offset: 2px;
    }

/* ===== Prayer text ===== */
.prayer-article {
    padding-top: 4px;
}

.text-body {
    font-family: var(--font-text);
    font-size: var(--text-size);
    line-height: 1.7;
    color: var(--text);
}

    .text-body p {
        margin: 0 0 20px;
    }

/* Large initial: exactly two lines high (top with line 1, bottom on the baseline of line 2) */
.text-body p.dropcap::first-letter {
    -webkit-initial-letter: 2;
    initial-letter: 2;
    font-weight: 600;
    margin-right: 0.1em;
}

.text-body p.dropcap.female::first-letter {
    color: var(--red);
}

/* Browsers without initial-letter (Firefox): close approximation */
@supports not ((initial-letter: 2) or (-webkit-initial-letter: 2)) {
    .text-body p.dropcap::first-letter {
        float: left;
        font-size: 3.58em;
        line-height: 0.78;
        padding-top: 0.06em;
        margin-right: 0.08em;
    }
}

.blk-paragraph::after {
    content: "";
    display: table;
    clear: both;
}

.text-body p.blk-hint {
    padding: 10px 14px;
    background: #f1f4f8;
    border-radius: 8px;
    font-family: var(--font-ui);
    font-size: 15px;
    line-height: 1.45;
    color: #3d444d;
}

.text-body p.blk-instruction {
    margin-bottom: 12px;
    font-family: var(--font-ui);
    font-style: italic;
    font-size: 16px;
    line-height: 1.5;
    color: var(--muted);
}

.text-body p.blk-invocation {
    text-align: center;
    font-style: italic;
}

.text-body p.blk-author {
    text-align: right;
    font-style: italic;
    font-size: 18px;
    color: #3d444d;
    margin-bottom: 6px;
}

.text-body p.blk-source {
    text-align: right;
    font-family: var(--font-ui);
    font-size: 13px;
    color: var(--muted);
}

.note-ref {
    font-family: var(--font-ui);
    font-size: 0.6em;
    font-weight: 600;
    color: var(--bar);
    padding: 0 1px;
}

.notes {
    margin-top: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-family: var(--font-ui);
    font-size: 14px;
    line-height: 1.5;
    color: #3d444d;
}

    .notes h2 {
        margin: 0 0 6px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .notes ol {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .notes li {
        margin-bottom: 4px;
    }

.note-num {
    font-weight: 600;
    color: var(--bar);
}

.note-kind {
    color: var(--muted);
}

/* ===== Favorites sort ===== */
.sort-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 4px 0 8px;
}

.sort-label {
    font-size: 14px;
    color: var(--muted);
}

.sort-btn {
    min-height: 36px;
    padding: 0 12px;
    border: 1px solid #c9ced6;
    border-radius: 18px;
    background: #ffffff;
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
}

    .sort-btn.active {
        background: #eef3fb;
        border-color: var(--bar);
        color: var(--bar);
        font-weight: 600;
    }

/* ===== Dialog ===== */
.dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(20, 24, 31, 0.55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 12px;
    overflow-y: auto;
}

.dialog {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 6px 6px 18px;
    border-bottom: 1px solid var(--line);
}

    .dialog-header h2 {
        margin: 0;
        font-size: 19px;
        font-weight: 600;
    }

.dialog-close {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    font-size: 20px;
    color: #3d444d;
    cursor: pointer;
}

    .dialog-close:hover {
        background: #f1f4f8;
    }

.dialog-body {
    padding: 8px 18px 18px;
}

    .dialog-body h3 {
        margin: 16px 0 4px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
    }

.dialog-intro {
    margin: 8px 0 0;
    font-size: 14px;
    color: var(--muted);
}

.check-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .check-list li {
        border-top: 1px solid #eef0f3;
    }

    .check-list a {
        display: flex;
        gap: 12px;
        align-items: flex-start;
        padding: 10px 0;
        color: var(--text);
        text-decoration: none;
    }

        .check-list a:hover {
            background: #f8f9fb;
        }

.check-label {
    flex: 0 0 auto;
    min-width: 86px;
    font-size: 14px;
    font-weight: 600;
    color: var(--bar);
}

    .check-label.no-nr {
        color: var(--red);
    }

.check-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 15px;
    line-height: 1.4;
}

.check-section {
    font-size: 13px;
    color: var(--muted);
}

.check-action {
    font-size: 13px;
    color: var(--muted);
}

.pill {
    display: inline-block;
    padding: 0 8px;
    border-radius: 10px;
    background: #eef0f3;
    color: #3d444d;
}

/* ===== Hamburger menu ===== */
.menu-backdrop {
    position: absolute;
    inset: 0;
    z-index: 90;
    background: rgba(20, 24, 31, 0.45);
}

.menu-drawer {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 91;
    width: 300px;
    max-width: 85%;
    background: #ffffff;
    color: var(--text);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.2);
}

.menu-head {
    flex: 0 0 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px 0 16px;
    background: var(--bar);
    color: var(--on-bar);
    font-size: 19px;
    font-weight: 600;
}

.menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 6px 0 16px;
}

.m-item {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 17px;
    color: var(--text);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

    .m-item:hover {
        background: #f1f4f8;
    }

    .m-item:focus-visible {
        outline: 2px solid var(--bar);
        outline-offset: -2px;
    }

    .m-item svg {
        flex: 0 0 auto;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .m-item .chev {
        margin-left: auto;
        transition: transform 0.15s;
    }

    .m-item[aria-expanded="true"] .chev {
        transform: rotate(90deg);
    }

.m-sub {
    list-style: none;
    margin: 0;
    padding: 0 0 6px;
}

    .m-sub .m-item {
        min-height: 42px;
        padding-left: 52px;
        font-size: 15px;
    }

.m-group {
    padding: 10px 16px 2px 52px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
    .m-item .chev {
        transition: none;
    }
}

/* ===== Info pages ===== */
.info-title {
    margin: 8px 0 12px;
    font-size: 22px;
    font-weight: 600;
}

.info-text {
    margin: 0 0 10px;
    font-size: 17px;
    line-height: 1.5;
}

.placeholder-mark {
    color: var(--red);
    font-weight: 600;
}

/* ===== Cover sheet: introduction texts in a smaller font, to fit on the first screen ===== */
.cover .text-body {
    font-size: 16px;
    line-height: 1.55;
}

    .cover .text-body p {
        margin-bottom: 10px;
    }

    .cover .text-body p.blk-author {
        font-size: 15px;
        margin-bottom: 4px;
    }

.cover-text + .cover-text {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

/* ===== Messages ===== */
.msg {
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0 16px;
    font-size: 17px;
    line-height: 1.45;
}

    .msg p {
        margin: 0 0 8px;
    }

        .msg p:last-child {
            margin-bottom: 0;
        }

.msg-error {
    background: #fdecea;
    color: var(--red);
    border: 1px solid #f3b8b2;
}

.msg-hint {
    background: #eef3fb;
    color: var(--text);
    border: 1px solid #c9d8f0;
}

.msg-detail {
    font-size: 14px;
    color: var(--muted);
}

.btn-primary {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 22px;
    background: var(--bar);
    color: var(--on-bar);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

    .btn-primary:disabled {
        background: #9aa3ad;
        cursor: not-allowed;
    }

/* ===== Localhost tools ===== */
.local-tools {
    margin-top: 16px;
    padding: 12px 16px 16px;
    border: 1px dashed var(--bar);
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.45;
}

    .local-tools h2 {
        margin: 0 0 6px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--bar);
    }

    .local-tools > p {
        margin: 0 0 12px;
    }

.result-box {
    margin-top: 16px;
    padding: 12px 16px;
    background: #eef7ee;
    border: 1px solid #b9dcb9;
    border-radius: 8px;
}

    .result-box h3 {
        margin: 0 0 8px;
        font-size: 16px;
        font-weight: 600;
    }

        .result-box h3:not(:first-child) {
            margin-top: 14px;
        }

    .result-box dl {
        display: grid;
        grid-template-columns: max-content 1fr;
        gap: 4px 16px;
        margin: 0;
    }

    .result-box dt {
        color: var(--muted);
    }

    .result-box dd {
        margin: 0;
        min-width: 0;
        overflow-wrap: anywhere;
        font-variant-numeric: tabular-nums;
    }

    .result-box ol {
        margin: 0;
        padding-left: 22px;
    }

        .result-box ol li {
            margin-bottom: 6px;
        }

/* ===== Temporary check box ===== */
.check-box {
    margin-top: 24px;
    padding: 12px 16px;
    border: 1px dashed #9aa3ad;
    border-radius: 8px;
    font-size: 15px;
}

    .check-box h2 {
        margin: 0 0 8px;
        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--muted);
    }

    .check-box dl {
        display: grid;
        grid-template-columns: max-content 1fr;
        gap: 4px 16px;
        margin: 0;
    }

    .check-box dt {
        color: var(--muted);
    }

    .check-box dd {
        margin: 0;
        min-width: 0;
        overflow-wrap: anywhere;
        font-variant-numeric: tabular-nums;
    }

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

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.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."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.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;
}