/* /Components/Layout/EmptyLayout.razor.rz.scp.css */
.page[b-ni9ju2k3f5] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ni9ju2k3f5] {
    flex: 1;
}

.sidebar[b-ni9ju2k3f5] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ni9ju2k3f5] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ni9ju2k3f5]  a, .top-row[b-ni9ju2k3f5]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ni9ju2k3f5]  a:hover, .top-row[b-ni9ju2k3f5]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ni9ju2k3f5]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ni9ju2k3f5] {
        justify-content: space-between;
    }

    .top-row[b-ni9ju2k3f5]  a, .top-row[b-ni9ju2k3f5]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ni9ju2k3f5] {
        flex-direction: row;
    }

    .sidebar[b-ni9ju2k3f5] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ni9ju2k3f5] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ni9ju2k3f5]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ni9ju2k3f5], article[b-ni9ju2k3f5] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ni9ju2k3f5] {
    background: lightyellow;
    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[b-ni9ju2k3f5] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-ur4psro41x] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-ur4psro41x] {
    flex: 1;
}

.sidebar[b-ur4psro41x] {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-ur4psro41x] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-ur4psro41x]  a, .top-row[b-ur4psro41x]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-ur4psro41x]  a:hover, .top-row[b-ur4psro41x]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-ur4psro41x]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

@media (max-width: 640.98px) {
    .top-row[b-ur4psro41x] {
        justify-content: space-between;
    }

    .top-row[b-ur4psro41x]  a, .top-row[b-ur4psro41x]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .page[b-ur4psro41x] {
        flex-direction: row;
    }

    .sidebar[b-ur4psro41x] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-ur4psro41x] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row.auth[b-ur4psro41x]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

    .top-row[b-ur4psro41x], article[b-ur4psro41x] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-ur4psro41x] {
    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[b-ur4psro41x] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-aye2hbwjfz] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-aye2hbwjfz] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-aye2hbwjfz] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-aye2hbwjfz] {
    font-size: 1.1rem;
}

.bi[b-aye2hbwjfz] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-aye2hbwjfz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-aye2hbwjfz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-aye2hbwjfz] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-aye2hbwjfz] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-aye2hbwjfz] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-aye2hbwjfz] {
        padding-bottom: 1rem;
    }

    .nav-item[b-aye2hbwjfz]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-aye2hbwjfz]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-aye2hbwjfz]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-aye2hbwjfz] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-aye2hbwjfz] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-aye2hbwjfz] {
        display: none;
    }

    .nav-scrollable[b-aye2hbwjfz] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-w8czbvtiyr],
.components-reconnect-repeated-attempt-visible[b-w8czbvtiyr],
.components-reconnect-failed-visible[b-w8czbvtiyr],
.components-pause-visible[b-w8czbvtiyr],
.components-resume-failed-visible[b-w8czbvtiyr],
.components-rejoining-animation[b-w8czbvtiyr] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-retrying[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-failed[b-w8czbvtiyr],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-w8czbvtiyr] {
    display: block;
}


#components-reconnect-modal[b-w8czbvtiyr] {
    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-w8czbvtiyr 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-w8czbvtiyr 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-w8czbvtiyr 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-w8czbvtiyr]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-w8czbvtiyr 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-w8czbvtiyr {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-w8czbvtiyr {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-w8czbvtiyr {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-w8czbvtiyr] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-w8czbvtiyr] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-w8czbvtiyr] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-w8czbvtiyr] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-w8czbvtiyr] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-w8czbvtiyr] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-w8czbvtiyr] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-w8czbvtiyr 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-w8czbvtiyr] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-w8czbvtiyr {
    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/Chat.razor.rz.scp.css */
/* Static layout styles for the chat wrapper rendered by History.razor.
   Dynamic content (chat-row, chat-bubble, buttons, etc.) is in app.css
   because Blazor CSS isolation does not apply to JavaScript-inserted HTML. */

.chat-wrapper[b-pnbq7xqwbj] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.chat-header[b-pnbq7xqwbj] {
    background: #1565c0;
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.chat-header-text[b-pnbq7xqwbj] {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.chat-status[b-pnbq7xqwbj] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.chat-reset-btn[b-pnbq7xqwbj] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s, background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.chat-reset-btn:hover[b-pnbq7xqwbj] {
    opacity: 1;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.75);
}

.chat-messages[b-pnbq7xqwbj] {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f4f6f8;
}

.chat-input-area[b-pnbq7xqwbj] {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-input-area .input-field[b-pnbq7xqwbj] {
    flex: 1;
}

.chat-input-area .input-field input[b-pnbq7xqwbj] {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    padding: 10px 16px;
    font-size: 0.875rem;
    outline: none;
    box-sizing: border-box;
}

.chat-input-area .input-field input:focus[b-pnbq7xqwbj] {
    border-color: #1565c0;
}

#sendBtn[b-pnbq7xqwbj] {
    background: #1565c0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    transition: background 0.18s;
}

#sendBtn:hover:not(:disabled)[b-pnbq7xqwbj] {
    background: #0d47a1;
}

#sendBtn:disabled[b-pnbq7xqwbj] {
    background: #b0bec5;
    cursor: default;
    opacity: 1;
}

/* ── Script configuration panel ───────────────────────────────────────── */

.chat-script-config[b-pnbq7xqwbj] {
    max-width: 820px;
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 20px 24px;
}

.chat-script-config-inner[b-pnbq7xqwbj] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.chat-script-config-row[b-pnbq7xqwbj] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-script-config-row label[b-pnbq7xqwbj] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #546e7a;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.chat-script-config-row select[b-pnbq7xqwbj] {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.875rem;
    color: #1a1a2e;
    background: #f9fafb;
    outline: none;
    cursor: pointer;
}

.chat-script-config-row select:focus[b-pnbq7xqwbj] {
    border-color: #1565c0;
}

#startChatBtn[b-pnbq7xqwbj] {
    align-self: flex-start;
    background: #1565c0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.18s;
}

#startChatBtn:hover[b-pnbq7xqwbj] {
    background: #0d47a1;
}

.restart-btn[b-pnbq7xqwbj] {
    width: 100%;
    padding: 10px 20px;
    border: 1.5px solid #1565c0;
    border-radius: 20px;
    background: #ffffff;
    color: #1565c0;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.18s, color 0.18s;
}

.restart-btn:hover[b-pnbq7xqwbj] {
    background: #1565c0;
    color: #ffffff;
}
/* /Components/Pages/Demo/Demo.razor.rz.scp.css */
/* Styles moved to wwwroot/css/keyfax-vnext.css (global — needed by child components) */
/* /Components/Pages/Telephone.razor.rz.scp.css */
/* Static layout styles for the phone simulator rendered by Policy.razor.
   Dynamic content (chat-row, chat-bubble, choice buttons, etc.) is in app.css
   because Blazor CSS isolation does not apply to JavaScript-inserted HTML. */

/* ── Script configuration panel ─────────────────────────────────────────── */

.ps-script-config[b-rl25mr681s] {
    max-width: 820px;
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 24px;
}

.ps-script-config-inner[b-rl25mr681s] {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-script-config-row[b-rl25mr681s] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ps-script-config-row label[b-rl25mr681s] {
    font-size: 0.8rem;
    font-weight: 600;
    color: #455a64;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.ps-script-config-row select[b-rl25mr681s] {
    padding: 8px 10px;
    border: 1px solid #cfd8dc;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #f8f9fa;
    color: #263238;
    cursor: pointer;
}

.ps-script-config-row select:focus[b-rl25mr681s] {
    outline: none;
    border-color: #1565c0;
    background: #ffffff;
}

/* #startSimBtn is styled globally in wwwroot/app.css (not here) so the rule also applies to the
   copy phone-sim.js re-injects via innerHTML, which carries no CSS-isolation scope attribute. */

/* ── Phone simulator wrapper ─────────────────────────────────────────────── */

.ps-wrapper[b-rl25mr681s] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 140px);
    max-width: 820px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

/* ── Header ──────────────────────────────────────────────────────────────── */

.ps-header[b-rl25mr681s] {
    background: #1b5e20;    /* deep green — distinct from the blue chat header */
    color: #ffffff;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ps-header-text[b-rl25mr681s] {
    color: #ffffff;
    font-weight: 600;
    font-size: 1rem;
}

.ps-status[b-rl25mr681s] {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.ps-locale-chip[b-rl25mr681s] {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 3px 10px;
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Messages area ───────────────────────────────────────────────────────── */

.ps-messages[b-rl25mr681s] {
    flex: 1;
    overflow-y: auto;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f4f6f8;
}

/* ── Partial (interim speech) text ───────────────────────────────────────── */

.ps-partial[b-rl25mr681s] {
    padding: 6px 16px;
    font-size: 0.82rem;
    font-style: italic;
    color: #78909c;
    background: #eceff1;
    border-top: 1px solid #e0e0e0;
    min-height: 26px;
    flex-shrink: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Controls ─────────────────────────────────────────────────────────────── */

.ps-controls[b-rl25mr681s] {
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Microphone button — prominent circle, green accent */
.ps-mic-btn[b-rl25mr681s] {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #2e7d32;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.35);
}

.ps-mic-btn:hover:not(:disabled)[b-rl25mr681s] {
    background: #1b5e20;
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.5);
}

.ps-mic-btn:disabled[b-rl25mr681s] {
    background: #b0bec5;
    box-shadow: none;
    cursor: not-allowed;
}

/* Pulsing ring while listening */
.ps-mic-active[b-rl25mr681s] {
    background: #c62828 !important;
    box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.6);
    animation: ps-mic-pulse-b-rl25mr681s 1.2s infinite;
}

@keyframes ps-mic-pulse-b-rl25mr681s {
    0%   { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(198, 40, 40, 0); }
    100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}

/* Text row: input + send button */
.ps-text-row[b-rl25mr681s] {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 8px;
    background: #f4f6f8;
    border: 1px solid #cfd8dc;
    border-radius: 24px;
    padding: 0 6px 0 14px;
}

.ps-text-row input[type="text"][b-rl25mr681s] {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #263238;
    padding: 10px 0;
    outline: none;
}

.ps-text-row input[type="text"][b-rl25mr681s]::placeholder {
    color: #90a4ae;
}

.ps-text-row #simSendBtn[b-rl25mr681s] {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #1565c0;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.ps-text-row #simSendBtn:hover:not(:disabled)[b-rl25mr681s] {
    background: #0d47a1;
}

.ps-text-row #simSendBtn:disabled[b-rl25mr681s] {
    background: #b0bec5;
    cursor: not-allowed;
}

/* ── Restart button (shown after call ends) ──────────────────────────────── */

.ps-restart-btn[b-rl25mr681s] {
    background: #1565c0;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
}

.ps-restart-btn:hover[b-rl25mr681s] {
    background: #0d47a1;
}

/* ── End-call button (injected inside simControls during call) ────────────── */

.ps-end-call-btn[b-rl25mr681s] {
    flex-shrink: 0;
    background: #c62828;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}

.ps-end-call-btn:hover[b-rl25mr681s] {
    background: #b71c1c;
}
