@import '_content/PSC.Blazor.Components.MarkdownEditor/PSC.Blazor.Components.MarkdownEditor.mlg14ggzcc.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Layout styles moved to app.css for theming support */
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* Nav styles moved to app.css for theming support */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-h02dmh7b8b],
.components-reconnect-repeated-attempt-visible[b-h02dmh7b8b],
.components-reconnect-failed-visible[b-h02dmh7b8b],
.components-pause-visible[b-h02dmh7b8b],
.components-resume-failed-visible[b-h02dmh7b8b],
.components-rejoining-animation[b-h02dmh7b8b] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-retrying[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-failed[b-h02dmh7b8b],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-h02dmh7b8b] {
    display: block;
}


#components-reconnect-modal[b-h02dmh7b8b] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-h02dmh7b8b 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-h02dmh7b8b 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-h02dmh7b8b 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-h02dmh7b8b]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-h02dmh7b8b 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-h02dmh7b8b {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-h02dmh7b8b {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-h02dmh7b8b {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-h02dmh7b8b] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-h02dmh7b8b] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-h02dmh7b8b] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-h02dmh7b8b] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-h02dmh7b8b] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-h02dmh7b8b] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-h02dmh7b8b] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-h02dmh7b8b 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-h02dmh7b8b] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-h02dmh7b8b {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Admin/Settings.razor.rz.scp.css */
/* Page-scoped responsive fixes for /admin/settings.
   Many help-text blocks here use inline <code> tags (e.g. appsettings keys,
   template placeholders) that don't word-break — combined with long URL
   placeholders in inputs and flex rows whose children can't shrink, the
   page can overflow an iPhone viewport. ::deep makes these rules apply
   to descendants of the scoped .admin-settings element. */

/* Hard cap on the container itself so no descendant can push the page
   wider than the viewport (e.g. raw HTML in the email template preview,
   a long connection-string placeholder, a wide `<pre>` block). Without
   this, iOS Mobile Safari zooms the whole page out instead of letting
   individual elements scroll — which is what made the tab bar LOOK
   non-scrolling: everything was just tiny.
   Using overflow-x: hidden (not `clip`) for broad browser support. */
.admin-settings[b-2wzc656d3f] {
    max-width: 100%;
    overflow-x: hidden;
}
.admin-settings[b-2wzc656d3f]  .card,
.admin-settings[b-2wzc656d3f]  .fli-form-page,
.admin-settings[b-2wzc656d3f]  .alert { max-width: 100%; }
.admin-settings[b-2wzc656d3f]  pre,
.admin-settings[b-2wzc656d3f]  .card-body > pre,
.admin-settings[b-2wzc656d3f]  .card-footer > pre { max-width: 100%; overflow-x: auto; }
/* The email-template preview is user-authored HTML — could be anything.
   Box it in so a stray fixed-width table can't push the page wider. */
.admin-settings[b-2wzc656d3f]  .card-footer > .border.rounded { max-width: 100%; overflow-x: auto; }

.admin-settings[b-2wzc656d3f]  code,
.admin-settings[b-2wzc656d3f]  dd { word-break: break-word; overflow-wrap: anywhere; }

.admin-settings[b-2wzc656d3f]  .d-flex > * { min-width: 0; }
.admin-settings[b-2wzc656d3f]  .text-truncate { min-width: 0; max-width: 100%; }
.admin-settings[b-2wzc656d3f]  input.form-control,
.admin-settings[b-2wzc656d3f]  textarea.form-control,
.admin-settings[b-2wzc656d3f]  .form-select { max-width: 100%; }
.admin-settings[b-2wzc656d3f]  table { word-break: break-word; }

/* Horizontal-scroll tab bar. The 6 tabs (General / Providers / Templates
   / Testing / Bounces / Reviews) exceed an iPhone's 375px width, so the
   row needs to scroll sideways. width:100% + max-width:100% pins the row
   to the container width so the scrollbar has something to overflow against.
   display:flex is restated because Bootstrap defaults to flex-wrap:wrap;
   the `min-width:0` + `flex-shrink:0` on the children keeps each tab at
   its natural width while letting the row scroll. */
.admin-settings[b-2wzc656d3f]  .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    min-width: 0;
}
.admin-settings[b-2wzc656d3f]  .nav-tabs::-webkit-scrollbar { display: none; }
.admin-settings[b-2wzc656d3f]  .nav-tabs .nav-item {
    flex-shrink: 0;
}
.admin-settings[b-2wzc656d3f]  .nav-tabs .nav-link {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Tablet + phone (below Bootstrap's lg — same breakpoint the grid uses
   to collapse col-lg-* to a single column). Anything that reads "big" on
   iPhone gets tuned here; the 575.98px block below handles the tiny-phone
   extras. */
@media (max-width: 991.98px) {
    /* rows="10" textareas dominate the screen on a phone — keep them tall
       enough to be usable but not a full-screen block. */
    .admin-settings[b-2wzc656d3f]  textarea.form-control {
        max-height: 260px;
        min-height: 140px;
    }
    /* Long template HTML is easier to read with slightly smaller text. */
    .admin-settings[b-2wzc656d3f]  textarea.font-monospace { font-size: .78rem !important; line-height: 1.35; }
    /* Card header right-hand badge (template key) drops below the title
       instead of being squeezed next to it. */
    .admin-settings[b-2wzc656d3f]  .card-header { flex-wrap: wrap; row-gap: .3rem; }
    /* The Save / Preview row — centre-align instead of the desktop
       split-left-and-right timestamp which wastes a whole row on mobile. */
    .admin-settings[b-2wzc656d3f]  .col-md-6.text-end { text-align: left !important; margin-top: .4rem; }
}

@media (max-width: 575.98px) {
    .admin-settings[b-2wzc656d3f]  .fli-page-header h1 { font-size: 1.4rem; }
    .admin-settings[b-2wzc656d3f]  .fli-form-page { max-width: 100% !important; padding: 0; }
    .admin-settings[b-2wzc656d3f]  .fli-form-page .card { margin-bottom: .75rem; }
    .admin-settings[b-2wzc656d3f]  .fli-form-page .card-body { padding: .85rem; }
    .admin-settings[b-2wzc656d3f]  .fli-form-page .card-header { padding: .55rem .85rem; }
    .admin-settings[b-2wzc656d3f]  .fli-form-page .card-header h5,
    .admin-settings[b-2wzc656d3f]  .fli-form-page .card-header h6 { font-size: .95rem; }
    .admin-settings[b-2wzc656d3f]  .nav-tabs .nav-link { padding: .35rem .55rem; font-size: .85rem; white-space: nowrap; }
    /* Tabs fill the screen with just icons — labels wrap below if they
       don't fit so you don't have to horizontally scroll a long tab row. */
    .admin-settings[b-2wzc656d3f]  .nav-tabs .nav-link i { margin-right: .25rem !important; }
    /* Stack the bounce filter row instead of forcing 3 selects across */
    .admin-settings[b-2wzc656d3f]  .row.g-2 > [class*="col-"] { margin-bottom: .4rem; }
    /* Smaller alert text + tighter padding */
    .admin-settings[b-2wzc656d3f]  .alert { padding: .65rem .75rem; font-size: .85rem; }
    /* Provider assignment selects + provider list rows */
    .admin-settings[b-2wzc656d3f]  .form-label { font-size: .9rem; }
    .admin-settings[b-2wzc656d3f]  .form-text { font-size: .75rem; }
    /* Textareas even tighter on phones. */
    .admin-settings[b-2wzc656d3f]  textarea.form-control { max-height: 220px; min-height: 120px; }
    /* Any stray wide content (email preview iframe etc) gets boxed in. */
    .admin-settings[b-2wzc656d3f]  .card-footer > div { overflow-x: auto; }
    /* Buttons on the template card wrap cleanly. */
    .admin-settings[b-2wzc656d3f]  .card-body .btn { margin-bottom: .3rem; }
    .admin-settings[b-2wzc656d3f]  .card-body .btn + .btn { margin-left: 0 !important; }
}
