/* Element defaults, the brand faces, buttons and form controls (from site.css and qonnect.css). */

/** {
    font-family: "Lato", sans-serif;
}*/

.page-wrapper {
    min-height: 100vh; /* full viewport height */
}

pre {
    white-space: pre-wrap !important; /* Since CSS 2.1 */
}

.tabs.tabs-card, .tabs.tabs-border-card {
    background: var(--qcb-surface) !important;
}

.table-container .form-check {
    margin: 0 auto !important;
}

.content-box {
    flex: 1;
}

/* A tick that means "done", where nothing else sets its colour. */
.qcb-icon-ok {
    color: green;
}

.spinner {
    border: 8px solid silver;
    border-top: 8px solid #337AB7;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 700ms linear infinite;
/*    top: 40%; */
/*    left: 50%;*/
    position: relative;
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

.loading-spinner-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300px;
    text-align: center;
    transform: translateX(-50%);
}

.loading-spinner-spanner {
    position: absolute;
    top: 50%;
    left: 0;
    background: #2a2a2a;
    width: 100%;
    display: block;
    text-align: center;
    height: 300px;
    color: var(--qcb-on-dark);
    transform: translateY(-50%);
    z-index: 1000;
    visibility: hidden;
}

.loading-spinner-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999; /*Cover everything except the spanner itself! */
    visibility: hidden;
}

.loading-spinner-loader,
.loading-spinner-loader:before,
.loading-spinner-loader:after {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation: loading-spinner-animation 1.8s infinite ease-in-out;
    animation: loading-spinner-animation 1.8s infinite ease-in-out;
}

.loading-spinner-loader {
    color: var(--qcb-on-dark);
    font-size: 10px;
    margin: 80px auto;
    position: relative;
    text-indent: -9999em;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation-delay: -0.16s;
    animation-delay: -0.16s;
}

.loading-spinner-loader:before,
.loading-spinner-loader:after {
    content: '';
    position: absolute;
    top: 0;
}

.loading-spinner-loader:before {
    left: -3.5em;
    -webkit-animation-delay: -0.32s;
    animation-delay: -0.32s;
}

.loading-spinner-loader:after {
    left: 3.5em;
}

@-webkit-keyframes loading-spinner-animation {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

@keyframes loading-spinner-animation {
    0%, 80%, 100% {
        box-shadow: 0 2.5em 0 -1.3em;
    }

    40% {
        box-shadow: 0 2.5em 0 0;
    }
}

.show {
    visibility: visible;
}

.loading-spinner-spanner.show, .loading-spinner-overlay.show {
    opacity: 1;
}

label {
    font-weight: bold;
}

.blazored-toast-container {
    z-index: 9999 !important;
}

/* Balzor */
#blazor-error-ui {
    background: var(--qcb-amber-50);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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, var(--qcb-failure);
    padding: 1rem 1rem 1rem 3.7rem;
    color: var(--qcb-on-fill);
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.dropdown-item {
    width: auto !important;
}

/* Style only the table cells in detail rows */
table .is-detail td,
table .is-detail th {
    background-color: var(--qcb-gray-50) !important;
    --bs-table-bg-state: var(--qcb-gray-50) !important;
}

/* Style only the table cells in master rows */
table .is-master td,
table .is-master th {
    background-color: var(--qcb-surface);
}

/* Selected item */
.dropdown-item.active, .dropdown-item:active {
    background-color: var(--qcb-carbon-05) !important;
    text-decoration: unset;
    /*    background-color: unset;*/
}

.subtle-btn {
    font-size: 0.7rem; /* Smaller font size */
    font-weight: bold;
    padding: 2px 8px; /* Adjust padding for a more subtle look */
    border-radius: 5px; /* Softened corners */
    color: #404040; /* Muted text color */
}

.log-line {
    padding: 2px 4px;
    margin-bottom: 2px;
    border-radius: 3px;
}

/* ---------------------------------------------------------------------------
   Top bar (#386): logo, navigation, tenant switcher, then the Help, Settings and
   account menus. Below the large breakpoint the navigation and the tenant switcher
   fold into the Menu button's panel. Colours come from the qcb tokens in ui-tokens.css.
   --------------------------------------------------------------------------- */
#app-header {
    height: 64px;
    min-height: 64px;
    max-height: 64px;
    display: flex;
    align-items: center;
    z-index: 500;
    border-bottom: 1px solid var(--qcb-gray-200);
    line-height: 1;
}

.qcb-topbar {
    position: relative;
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
    height: 100%;
    padding: 0 32px 0 40px;
    font-family: Lato, sans-serif;
}

/* The links sit in the middle of the bar (#404): the logo and the actions each take an
   equal share of what is left, so the link row stays centred whatever their own widths. */
.qcb-topbar-logo {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 200px;
}

.qcb-topbar-logo .qcb-brand {
    --qcb-brand-size: 44px;
}

.qcb-topbar-nav {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.qc-nav-links {
    display: flex;
}

.qc-nav-items {
    display: flex;
    align-items: center;
    gap: 22px;
}

/* Sentence case, as every other label in the app (#422); the names are written
   that way in NavMenu, so nothing transforms them here. */
.nav-item-main {
    display: flex;
    align-items: center;
    padding: 4px 0;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    white-space: nowrap;
    color: var(--qcb-gray-700) !important;
    text-decoration: none;
}

.nav-item-main:hover {
    color: var(--qcb-gray-900) !important;
    border-bottom-color: var(--qcb-gray-300);
}

.nav-item-main.active {
    color: var(--qcb-gray-900) !important;
    font-weight: 700;
    border-bottom-color: var(--qcb-teal-600);
}

.qcb-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    flex: 1 1 0;
}

.qcb-topbar-tenant {
    margin-right: 20px;
}

/* The tenant switcher: a native select dressed as the top bar's tenant button. */
.qcb-tenant-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.qcb-tenant-switcher > i {
    position: absolute;
    color: var(--qcb-gray-500);
    font-size: 16px;
    pointer-events: none;
}

.qcb-tenant-switcher > .ri-building-line {
    left: 11px;
}

.qcb-tenant-switcher > .qcb-tenant-chevron {
    right: 9px;
}

.qcb-tenant-select {
    appearance: none;
    -webkit-appearance: none;
    height: 36px;
    max-width: 240px;
    padding: 0 32px 0 34px;
    font: 13px Lato, sans-serif;
    color: var(--qcb-gray-800);
    background: var(--qcb-gray-50);
    border: 1px solid var(--qcb-gray-200);
    border-radius: 8px;
    text-overflow: ellipsis;
    cursor: pointer;
}

.qcb-tenant-select:hover {
    background: var(--qcb-gray-100);
}

/* The Help, Settings and Menu buttons. */
.qcb-topbar-icon-btn {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--qcb-gray-700);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.qcb-topbar-icon-btn:hover {
    background: var(--qcb-gray-100);
}

.qcb-topbar-icon-btn[aria-expanded="true"] {
    background: var(--qcb-teal-50);
    border-color: var(--qcb-teal-100);
}

/* The account button: the person's initials. */
.qcb-topbar-avatar {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-left: 6px;
    padding: 0;
    border: 2px solid var(--qcb-surface);
    border-radius: 50%;
    background: var(--qcb-teal-700);
    color: var(--qcb-on-fill);
    font: 700 13px Lato, sans-serif;
    letter-spacing: 0.04em;
    line-height: 1;
    cursor: pointer;
}

.qcb-topbar-avatar[aria-expanded="true"] {
    border-color: var(--qcb-teal-100);
}

/* The menus. Bootstrap shows them by adding .show. */
.qcb-topbar-panel.dropdown-menu {
    margin-top: 6px !important;
    padding: 10px;
    border: 1px solid var(--qcb-gray-200);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.14);
    font-family: Lato, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    z-index: 1050;
}

.qcb-help-menu {
    width: 260px;
}

.qcb-settings-menu {
    width: 260px;
    padding: 14px;
}

.qcb-settings-menu.has-two-columns {
    width: min(520px, calc(100vw - 24px));
}

.qcb-settings-menu.has-two-columns.show {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
}

.qcb-settings-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.has-two-columns .qcb-settings-group-platform {
    padding-left: 12px;
    border-left: 1px solid var(--qcb-gray-100);
}

.qcb-topbar-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.qcb-topbar-item.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: normal;
}

.qcb-topbar-item.dropdown-item.active {
    background: var(--qcb-teal-50) !important;
    color: var(--qcb-teal-700);
    font-weight: 700;
}

.qcb-topbar-item-muted.dropdown-item {
    color: var(--qcb-gray-500);
}

.qcb-topbar-divider {
    height: 0;
    margin: 6px 0;
    border-top: 1px solid var(--qcb-gray-100);
    list-style: none;
}

.qcb-topbar-version {
    padding: 6px 12px 2px;
    font-size: 11px;
    list-style: none;
}

/* Small rounded labels: roles on the account card, "Admins only" in Settings. */
.qcb-topbar-tag {
    display: inline-block;
    border-radius: 999px;
    line-height: 1.4;
}

.qcb-topbar-group-title .qcb-topbar-tag {
    padding: 1px 7px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* The account card. */
.qcb-account-card {
    width: 280px;
    padding: 14px;
}

.qcb-account-card.show {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qcb-account-head {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.qcb-topbar-avatar.qcb-account-avatar {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    margin-left: 0;
    border: 0;
    font-size: 14px;
    cursor: default;
}

.qcb-account-who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.qcb-account-name,
.qcb-account-email {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.qcb-account-name {
    font-size: 14px;
    font-weight: 700;
}

.qcb-account-email {
    font-size: 12px;
}

.qcb-account-roles {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.qcb-account-tenant {
    font-size: 12px;
}

.qcb-account-tenant strong {
    color: var(--qcb-gray-800);
}

.qcb-account-card .qcb-topbar-divider {
    margin: 0;
}

.qcb-account-signout.dropdown-item,
.qcb-account-signout.dropdown-item:hover,
.qcb-account-signout.dropdown-item:focus {
    color: var(--qcb-red-600);
}

.qcb-account-signout.dropdown-item:hover,
.qcb-account-signout.dropdown-item:focus {
    background: var(--qcb-red-50);
}

/* The Menu button and its panel exist for narrower screens only. The links fold into it
   below 1320px (#404): under that the logo, the link row and the actions with the
   widest tenant name (240px) don't fit side by side, and the links ran under the
   tenant switcher. */
.qcb-topbar-menu-toggle {
    display: none;
}

@media (min-width: 1320px) {
    .qcb-topbar-mobile {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .qcb-topbar {
        gap: 12px;
        padding: 0 12px 0 16px;
    }

    .qcb-topbar-logo {
        flex: 0 1 auto;
        min-width: 0;
    }

    .qcb-topbar-logo .qcb-brand {
        --qcb-brand-size: 36px;
    }
}

@media (max-width: 1319.98px) {
    .qcb-topbar-nav,
    .qcb-topbar-tenant {
        display: none;
    }

    .qcb-topbar-icon-btn.qcb-topbar-menu-toggle {
        display: grid;
    }

    .qcb-topbar-mobile {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        gap: 12px;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        padding: 4px 16px 16px;
        background: var(--qcb-surface);
        border-bottom: 1px solid var(--qcb-gray-200);
        box-shadow: 0 12px 24px rgba(17, 24, 39, 0.1);
    }

    .qcb-nav-vertical .qc-nav-items {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .qcb-nav-vertical .nav-item-main {
        padding: 14px 4px;
        border-bottom: 1px solid var(--qcb-gray-100);
        font-size: 14px;
    }

    .qcb-nav-vertical .nav-item-main.active {
        padding-left: 12px;
        border-bottom-color: var(--qcb-gray-100);
        box-shadow: inset 3px 0 0 var(--qcb-teal-600);
    }

    .qcb-topbar-mobile-tenant .qcb-tenant-select {
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 479.98px) {
    /* On a phone the menus hang from the bar with a gutter on each side, instead of
       wherever their button happens to be. */
    .qcb-topbar-panel.dropdown-menu.show {
        position: fixed !important;
        inset: 58px 12px auto auto !important;
        transform: none !important;
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 72px);
        overflow-y: auto;
    }

    .qcb-settings-menu.has-two-columns.show {
        inset: 58px 12px auto 12px !important;
        width: auto;
        grid-template-columns: minmax(0, 1fr);
    }

    .has-two-columns .qcb-settings-group-platform {
        padding: 8px 0 0;
        border-left: 0;
        border-top: 1px solid var(--qcb-gray-100);
    }
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
}

/* Limit min and max width on column resize */
.object-table colgroup col {
    min-width: 80px !important;
    max-width: 500px !important;
}

/* Authorizing Page */

/* Background blobs */
.authorizing-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: pulse 4s ease-in-out infinite;
}

.bg-teal {
    width: 260px;
    height: 260px;
    top: 20%;
    left: 20%;
}

.bg-indigo {
    width: 380px;
    height: 380px;
    background-color: #c7d2fe;
    bottom: 20%;
    right: 20%;
    animation-delay: 0.7s;
}

/* Spinner */
.spinner-stack {
    position: relative;
    width: 80px;
    height: 80px;
}

.spinner-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid var(--qcb-gray-200);
}

.ring-inner {
    inset: 12px;
}

.spin-teal {
    border-color: var(--qcb-teal-500) transparent transparent transparent;
    animation: spin 1.2s linear infinite;
}

.spin-indigo {
    border-color: var(--qcb-blue-600) transparent transparent transparent;
    animation: spin 1s linear infinite;
}

.reverse {
    animation-direction: reverse;
}

/* Progress bar */
.authorizing-progress {
    width: 260px;
    height: 6px;
}

/* Animations */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

.pricing-card {
    border: 2px solid transparent; /* always 2px */
    background: var(--qcb-surface);
    transition: transform 0.25s cubic-bezier(.4,0,.2,1), box-shadow 0.25s cubic-bezier(.4,0,.2,1), border-color 0.25s ease;
    cursor: pointer;
}

    .pricing-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
    }

    .pricing-card.selected,
    .pricing-card.current-plan {
        border-color: var(--qcb-brand-green);
        box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08), 0 0 0 4px rgba(94, 177, 165, 0.12);
    }

    .pricing-card:hover .btn-primary,
    .pricing-card.selected .btn-primary {
        background-color: var(--qcb-teal-700);
        border-color: var(--qcb-teal-700);
    }

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.pricing-features i {
    color: var(--qcb-brand-green);
    margin-top: 3px;
}

.pricing-price-wrapper {
    line-height: 1;
}

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 0;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--qcb-brand-green);
}

.price-toggle {
    background: rgb(243, 244, 246);
}

.price-toggle .btn {
    box-shadow: none !important;
    background: rgb(243, 244, 246);
}

.plan-scale-highlight {
    padding: 1.25rem;
    background: var(--qcb-gray-50);
    border-radius: 1rem;
}

.plan-scale-number {
    font-size: 1.8rem;
    font-weight: 700;
}

.plan-scale-label {
    font-size: 0.85rem;
    color: var(--qcb-gray-500);
    margin-bottom: 0.5rem;
}

.plan-scale-divider {
    height: 1px;
    background: var(--qcb-gray-200);
    margin: 0.75rem auto;
    width: 60%;
}

input::placeholder {
    opacity: 0.5 !important;
}

.maintenance-banner {
    width: 100%;
    padding: 20px 0;
    font-size: 1.05rem;
    position: relative;
    z-index: 50;
    transition: all 0.3s ease;
}

.maintenance-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.maintenance-left {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.maintenance-icon {
    font-size: 1.8rem;
    margin-top: 4px;
}

.maintenance-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.maintenance-message {
    font-size: 1.05rem;
    line-height: 1.4;
}

.maintenance-time {
    font-size: 0.95rem;
    opacity: 0.85;
    margin-top: 4px;
}

.maintenance-countdown {
    font-weight: 700;
    font-size: 1.15rem;
    white-space: nowrap;
}

.maintenance-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.maintenance-dismiss {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

    .maintenance-dismiss:hover {
        opacity: 1;
    }

.maintenance-banner.collapsed {
    padding: 8px 0;
}

.maintenance-collapsed {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.bg-warning-subtle {
    background: #fff6e5;
}

.bg-info-subtle {
    background: #e8f7fb;
}

/* Backup-integrity verification badge (job list rows) */
.bv-badge {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    white-space: nowrap;
}
.bv-badge i { font-size: .65rem; }
.bv-badge--none { background: var(--qcb-gray-100); color: var(--qcb-gray-500); border-color: var(--qcb-gray-200); }

.text-warning {
    color: var(--qcb-amber-600) !important;
}

.object-modal {
    padding: 2rem;
}

.object-modal-dialog .qcb-modal-header {
    padding: 1.5rem;
    width: 100%;
}

.object-modal-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.object-modal-sub {
    opacity: 0.9;
}

.object-modal table {
    border-collapse: collapse;
}

.object-modal thead th {
    background: var(--qcb-gray-50);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--qcb-gray-500);
}

.object-modal tbody tr:hover {
    background: var(--qcb-gray-100);
}

.object-modal code {
    background: var(--qcb-gray-100);
    padding: 3px 6px;
    border-radius: 6px;
    font-size: 0.75rem;
}

.object-modal-dialog .qcb-modal-body {
    padding: 0 !important;
}

.object-selection-box {
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

    .object-selection-box.auto {
        background: var(--qcb-gray-50);
    }

.object-selection-title {
    font-weight: 600;
    color: var(--qcb-gray-800);
}

.object-selection-description {
    font-size: 0.85rem;
    color: var(--qcb-gray-500);
}

.object-summary-card {
    margin-top: 0.25rem;
    background: var(--qcb-gray-50);
    border: 1px solid var(--qcb-gray-200);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.object-summary-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.object-summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.object-summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--qcb-gray-500);
}

.object-summary-count {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--qcb-gray-800);
}

.object-summary-right {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.object-summary-chip {
    display: flex;
    gap: 6px;
    align-items: center;
}

.object-types-count {
    font-size: 0.75rem;
}

.object-types-grid {
    margin-top: 0.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.object-type-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.15s ease;
    overflow: hidden;
}

.object-type-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1 1 auto;
}

    .object-type-left > div {
        min-width: 0;
        flex: 1 1 auto;
    }

.object-type-icon {
    width: 40px;
    height: 40px;
    background: var(--qcb-gray-100);
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: var(--qcb-gray-500);
}

.object-type-name {
    font-weight: 600;
    color: var(--qcb-gray-800);
}

.object-type-desc {
    font-size: 0.75rem;
    color: var(--qcb-gray-500);
}

.object-type-filter-chip {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.3rem;
    margin-top: 0.3rem;
    max-width: 100%;
    min-width: 0;
}

    .object-type-filter-chip i {
        font-size: 0.6rem;
        opacity: 0.75;
        flex-shrink: 0;
        margin-top: 0.2rem;
    }

    .object-type-filter-chip code {
        font-size: 0.7rem;
        color: #1d4ed8;
        background: none;
        padding: 0;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Toggle style */

.object-type-toggle {
    position: relative;
    width: 42px;
    height: 22px;
    border-radius: 999px;
    background: var(--qcb-gray-300);
    flex-shrink: 0;
}

    .object-type-toggle span {
        position: absolute;
        top: 3px;
        left: 3px;
        width: 16px;
        height: 16px;
        background: var(--qcb-surface);
        border-radius: 50%;
        transition: all 0.2s ease;
    }

    .object-type-toggle.on {
        background: var(--qcb-green-600);
    }

        .object-type-toggle.on span {
            left: 23px;
        }

.object-section {
    margin-bottom: 2.5rem;
}

.object-section-label {
    margin-bottom: 0.75rem;
}

.trial-header .trial-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.trial-badge-extended {
    display: inline-flex;
    align-items: center;
}

.input-with-icon {
    position: relative;
}

    .input-with-icon i {
        position: absolute;
        left: 12px;
        top: 12px; /* match input vertical padding */
        pointer-events: none;
        color: var(--qcb-gray-500);
    }

    .input-with-icon .form-control {
        padding-left: 38px;
    }

.modern-input {
    padding-left: 36px !important;
    border-radius: 8px !important;
    border: 1px solid var(--qcb-gray-200) !important;
    transition: all 0.2s ease;
}

    .modern-input:focus {
        border-color: var(--qcb-teal-500) !important;
        box-shadow: 0 0 0 2px rgba(20,184,166,0.15) !important;
    }

.promo-valid {
    background: var(--qcb-green-50);
    border: 1px solid var(--qcb-green-100);
    color: var(--qcb-green-700);
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
}

.promo-invalid {
    color: var(--qcb-red-600);
    font-size: 12px;
}

/* Valid */
.promo-input-valid {
    border-color: var(--qcb-green-600) !important;
    background-color: var(--qcb-green-50) !important;
}

/* Invalid */
.promo-input-invalid {
    border-color: #ef4444 !important;
    background-color: var(--qcb-red-50) !important;
}

/* Verifying */
.promo-input-verifying {
    border-color: var(--qcb-teal-500) !important;
    background-color: #f0fdfa !important;
}

.trial-start-modal .qcb-modal-footer {
    border: none;
}

.release-panel {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 420px;
    max-height: 75vh;
    background: var(--qcb-surface);
    border-radius: 14px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideIn 0.25s ease-out;
    border: 1px solid var(--qcb-gray-200);
}

/* On a phone the fixed 420px panel ran off the left edge of the screen (#448): it keeps
   the page's 16px gutter on both sides instead. */
@media (max-width: 499.98px) {
    .release-panel {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
    }
}

/* Header */
.release-header {
    padding: 14px 18px;
    background: var(--qcb-action-bg);
    color: var(--qcb-on-fill);
}

.release-title-wrapper {
    display: flex;
    flex-direction: column;
}

.release-badge {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.release-version {
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Close button */
.release-close-btn {
    background: transparent;
    border: none;
    color: var(--qcb-on-fill);
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0.85;
}

    .release-close-btn:hover {
        opacity: 1;
    }

/* Scrollable body */
.release-body {
    padding: 18px;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.5;
}

    /* Optional nice scrollbar */
    .release-body::-webkit-scrollbar {
        width: 6px;
    }

    .release-body::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 3px;
    }

/* Footer */
.release-footer {
    padding: 14px 18px;
    border-top: 1px solid var(--qcb-border);
    background: var(--qcb-surface-muted);
    text-align: right;
}

/* Footer with nav buttons — Newer/Older on the left, confirm on the right. The base
   .release-footer above is right-aligned for the single-release case, so we override
   to space-between when navigation is present. */
.release-footer-with-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    text-align: initial;
}

.release-counter {
    display: inline-block;
    margin-left: 8px;
}

/* Animation */
@keyframes slideIn {
    from {
        transform: translateY(12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Summary Box */
.release-summary-box {
    padding: 14px 16px;
    margin-bottom: 18px;
}

.release-summary-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: #00873D;
    margin-bottom: 6px;
}

.release-summary-text {
    font-size: 0.85rem;
    color: var(--qcb-gray-600);
}

/* Section */
.release-section {
    border-radius: 14px;
    background-color: var(--qcb-surface);
    border: 1px solid #e9ecef;
    margin-bottom: 12px;
    overflow: hidden;
    transition: box-shadow 0.25s ease, transform 0.15s ease;
}

    .release-section:hover {
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        transform: translateY(-1px);
    }

/* Clickable header */
.release-section-header {
    padding: 14px 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

    .release-section-header::after {
        content: "▸";
        position: absolute;
        right: 16px;
        transition: transform 0.2s ease;
    }

.release-section.open .release-section-header::after {
    transform: rotate(90deg);
}

/* Body */
.release-section-body {
    display: none;
    padding: 0 18px 14px 18px;
    font-size: 0.9rem;
    color: var(--qcb-gray-600);
}

.release-section.open .release-section-body {
    display: block;
}

/* Keyboard focus on a section header (#450). The section clips anything drawn outside
   it, so the ring is drawn just inside the header instead of around it. The child
   selector outranks the [tabindex] safety net in ui-components.css, which loads later. */
.release-section > .release-section-header:focus-visible {
    outline: 2px solid var(--qcb-teal-600);
    outline-offset: -3px;
    border-radius: 13px;
}

.release-editor {
    min-height: 500px;
    font-family: Consolas, monospace;
    resize: vertical;
}

.release-cta-wrapper {
    text-align: center;
    margin-top: 0.75rem;
}

.release-cta-button {
    font-weight: 600;
}

.release-footer-note {
    font-size: 0.85rem;
    color: var(--qcb-gray-500);
}

/*
    Qonnect Styling for frontend
    Copyright by Stretch Qonnect ApS.

    The design tokens this file used to define (--stretch-*, --main-*, --btn-* and
    --form-*) are now part of the one --qcb-* set in ui-tokens.css (#422).
*/

/* The brand faces, served from wwwroot/fonts. The paths are relative to this file
   (wwwroot/css), hence "../". The old '...\fonts\' paths never resolved, so
   Playfair never loaded and every page title fell back to the browser's default
   serif. Playfair Display is for page titles only (--qcb-font-heading); Lato is
   everything else (--qcb-font-body). Lato also comes from Google Fonts in
   App.razor; these local faces keep it on a server that cannot reach Google. */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Medium: the signed-out start page's section titles (#445), as on qloudcover.com.
   Without it a 500 weight falls back to the regular face. */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/PlayfairDisplay/PlayfairDisplay-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Light: "QLOUD COVER" in the brand mark (#608), as in the logo. */
@font-face {
    font-family: 'Lato';
    src: url('../fonts/Lato/Lato-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* IBM Plex Sans and Mono, the faces the tokens name (ui-tokens.css), in the weights the
   app uses. They ship with the app (#709) rather than from Google Fonts, so a server or
   browser without internet access draws the same type and no page load goes to Google.
   IBM's complete woff2 files (SIL OFL 1.1, OFL.txt beside them). */
@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans/IBMPlexSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans/IBMPlexSans-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Sans';
    src: url('../fonts/IBMPlexSans/IBMPlexSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono/IBMPlexMono-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IBM Plex Mono';
    src: url('../fonts/IBMPlexMono/IBMPlexMono-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Text & page */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    font-family: var(--qcb-font-body);
}

/* Exactly one scroll container, and it is the root.

   This block used to give BOTH html and body `height: 100%` and
   `overflow-y: auto`, which made each of them a scroll container clamped to
   the viewport while the layout inside (.page-wrapper, min-vh-100, plus the
   footer) is taller than that. Both then showed a scrollbar. Measured on the
   Overview page: html scrollHeight 1526, body scrollHeight 1851, both with
   clientHeight 935.

   `overflow-x` is why the two properties cannot be separated. When one axis is
   not `visible` the other computes to `auto`, so `overflow-x: hidden` on body
   would keep body scrolling vertically no matter what `overflow-y` said. It
   therefore belongs on the root only.

   Body now grows with its content instead of being clamped, and has no
   overflow of its own, so the page scrolls once at the root. */
html {
    height: 100%;
    overflow-x: hidden;
}

body {
    min-height: 100%;
}

/* Page titles. Every page has one h1, its title: Playfair Display at one size,
   the same whether it comes from the shared page header (Components/Shell) or is
   the bare h1 of a page not yet moved onto it. Replaces the 60px rule (#422). */
h1 {
    font-family: var(--qcb-font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--qcb-gray-900);
}

/* FocusOnNavigate (Routes.razor) moves focus to the page's h1 after every
   navigation, so a screen reader starts there. The heading is not a control and
   Tab never reaches it (Blazor gives it tabindex="-1"), so it draws no ring; the
   keyboard safety net in ui-components.css ([tabindex]:focus-visible) otherwise drew a box
   round every page title. Controls keep their ring. */
h1[tabindex="-1"]:focus,
h1[tabindex="-1"]:focus-visible {
    outline: none;
}

h2 {
    font-size: 18px;
}

/* Nav active underline color now Carbon (ink color) */
.navbar-nav .nav-item.active {
    border-color: var(--qcb-carbon) !important;
    font-weight: bold !important;
}

/* Bg mapping to new theme */
.bg-primary {
    background-color: var(--qcb-btn-primary-bg) !important;
}  /* Carbon */

.bg-secondary {
    background-color: var(--qcb-carbon) !important;
}

.list-group {
    height: auto;
    --bs-list-group-active-bg: var(--qcb-brand-green);
    --bs-list-group-active-border-color: var(--qcb-brand-green);
}

/* Buttons */

.btn {
    padding-left: var(--qcb-btn-padding-x);
    padding-right: var(--qcb-btn-padding-x);
    border-width: var(--qcb-btn-border-width);
    border-style: var(--qcb-btn-border-style);
    border-color: transparent;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
}

    .btn:focus {
        box-shadow: none !important;
    }

/* Keyboard focus on any button: a ring on :focus-visible only, so a mouse click
   leaves none behind. Each variant's :focus rule below changes the background. */
.btn:focus-visible {
    outline: 2px solid var(--qcb-btn-focus-color) !important;
    outline-offset: 2px;
}

/* Optional: override Bootstrap icon buttons */

/* === PRIMARY BUTTON === */
.btn-primary,
.btn-group .btn-success {
    color: var(--qcb-btn-primary-text);
    background-color: var(--qcb-btn-primary-bg);
    border-color: var(--qcb-btn-primary-border-color);
}

    .btn-primary:hover,
    .btn-group .btn-success:hover {
        background-color: var(--qcb-btn-primary-hover-bg);
    }

    .btn-primary:active,
    .btn-group .btn-success:active {
        background-color: var(--qcb-btn-primary-active-bg) !important;
    }

    .btn-primary:focus,
    .btn-group .btn-success:focus {
        background-color: var(--qcb-btn-primary-focus-bg);
    }

    .btn-primary:disabled,
    .btn-group .btn-success:disabled {
        background-color: var(--qcb-btn-primary-disabled-bg);
        color: var(--qcb-btn-primary-disabled-text);
    }

/* === SECONDARY BUTTON === */
.btn-secondary {
    border-radius: var(--qcb-btn-border-radius);
}

    .btn-secondary:active {
        background-color: var(--qcb-btn-secondary-active-bg) !important;
        color: var(--qcb-btn-secondary-active-text) !important;
    }

    .btn-secondary:focus {
        background-color: var(--qcb-btn-secondary-focus-bg) !important;
        color: var(--qcb-btn-secondary-focus-text) !important;
    }

    .btn-secondary:disabled {
        background-color: var(--qcb-btn-secondary-disabled-bg);
        color: var(--qcb-btn-disabled-text);
        border-color: var(--qcb-btn-secondary-disabled-border-color);
    }

.btn-default,
.btn-group .btn-primary,
.btn-group .btn-warning,
.modal-footer .btn-danger {
    color: var(--qcb-btn-default-text);
    background-color: var(--qcb-btn-default-bg);
    border-color: var(--qcb-btn-default-border-color);
    border-width: var(--qcb-btn-border-width);
    border-style: var(--qcb-btn-border-style);
    border-radius: var(--qcb-btn-border-radius);
}

    /* Hover */
    .btn-default:hover,
    .btn-group .btn-primary:hover,
    .btn-group .btn-warning:hover,
    .modal-footer .btn-danger:hover {
        background-color: var(--qcb-btn-default-hover-bg);
        color: var(--qcb-btn-default-text);
        border-color: var(--qcb-btn-default-border-color);
    }

    /* Active */
    .btn-default:active,
    .btn-group .btn-primary:active,
    .btn-group .btn-warning:active,
    .modal-footer .btn-danger:active {
        background-color: var(--qcb-btn-default-active-bg) !important;
        color: var(--qcb-btn-default-text) !important;
        border-color: var(--qcb-btn-default-border-color) !important;
    }

    /* Focus */
    .btn-default:focus,
    .btn-group .btn-primary:focus,
    .btn-group .btn-warning:focus,
    .modal-footer .btn-danger:focus {
        background-color: var(--qcb-btn-default-focus-bg) !important;
        color: var(--qcb-btn-default-text) !important;
    }

    /* Disabled */
    .btn-default:disabled,
    .btn-group .btn-primary:disabled,
    .btn-group .btn-warning:disabled,
    .modal-footer .btn-danger:disabled {
        background-color: var(--qcb-btn-default-disabled-bg);
        color: var(--qcb-btn-disabled-text);
        border-color: var(--qcb-btn-default-border-color);
    }

/* === DESTRUCTIVE BUTTON === */
.btn-destructive,
.btn-danger {
    color: var(--qcb-btn-destructive-text);
    background-color: var(--qcb-btn-destructive-bg);
    border-color: var(--qcb-btn-destructive-border-color);
    border-width: var(--qcb-btn-border-width);
    border-style: var(--qcb-btn-border-style);
    border-radius: var(--qcb-btn-border-radius);
}

    .btn-destructive:hover,
    .btn-danger:hover {
        background-color: var(--qcb-btn-destructive-hover-bg);
        color: var(--qcb-btn-destructive-text);
        border-color: var(--qcb-btn-destructive-border-color);
    }

    .btn-destructive:active,
    .btn-danger:active {
        background-color: var(--qcb-btn-destructive-active-bg) !important;
        color: var(--qcb-btn-destructive-text) !important;
    }

    .btn-destructive:focus,
    .btn-danger:focus {
        background-color: var(--qcb-btn-destructive-focus-bg) !important;
        color: var(--qcb-btn-destructive-text) !important;
    }

    .btn-destructive:disabled,
    .btn-danger:disabled {
        background-color: var(--qcb-btn-destructive-disabled-bg);
        color: var(--qcb-btn-disabled-text);
        border-color: var(--qcb-btn-destructive-border-color);
    }

/* === FORM CONTROLS === */
.form-control, .form-select {
    border: var(--qcb-field-border-width) var(--qcb-field-border-style) var(--qcb-field-border-color);
    border-radius: var(--qcb-field-border-radius);
}

    .form-control:hover, .form-select:hover {
        border-color: var(--qcb-field-hover-border-color) !important;
    }

    .form-control:focus, .form-select:focus {
        outline: 2px solid var(--qcb-field-focus-border-color);
        outline-offset: 0px;
        border-color: var(--qcb-field-border-color) !important;
    }

    .form-control:disabled, .form-select:disabled {
        background-color: var(--qcb-field-disabled-bg) !important;
        color: var(--qcb-field-disabled-text) !important;
        border-color: var(--qcb-field-disabled-border-color);
    }

    .form-control[readonly], .form-select[readonly] {
        background-color: var(--qcb-field-readonly-bg);
        border-color: var(--qcb-field-readonly-border-color);
    }

    .form-control.is-invalid, .form-select.is-invalid {
        border-color: var(--qcb-field-error-border-color) !important;
    }

.form-fixed {
    width:45em !important;
    max-width: 100% !important;
}
/* Hide seconds display on clock */
.bb-time-header span:nth-child(n+4) {
    display: none !important;
}

.bb-time-header {
    margin-right: 23.5rem !important;
    margin-top: 1.5rem !important;
}

.bb-time-body {
    margin-right: 60.2rem !important;
    margin-bottom: 2em !important;
}

.bb-time-footer {
    margin-left: 5.8rem !important;
}

.bb-time-footer .btn-pm {
    margin-right: 64.8rem !important;
}

    /*TODO is this usedfull*/
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem var(--qcb-surface), 0 0 0 0.25rem var(--qcb-brand-green);
}

/* Validation */

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.dropdown-header {
    font-weight: bold;
}

.btn-sign-up-monthly {
    font-weight: bold !important;
    color: var(--qcb-on-fill) !important;
    background-color: var(--qcb-gray-500) !important;
    text-shadow: 0 0 1px rgb(0 0 0 / 51%) !important;
    border: none !important;
}

.btn-sign-up-monthly:hover {
    background-color: var(--qcb-gray-600) !important;
}
.btn-sign-up-yearly {
    font-weight: bold !important;
    color: var(--qcb-on-fill) !important;
    text-shadow: 0 0 1px rgb(0 0 0 / 51%) !important;
    border: none !important;
}

.btn-sign-up-yearly:hover {
    background-color: var(--qcb-btn-primary-hover-bg) !important;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    min-height: 20px;
    color: red;
}

.table-hover > tbody > tr:hover > * {
    background-color: var(--qcb-hover);
}
/* hack to remove the black line around the video*/
video {
    clip-path: inset(1px 1px);
}
