﻿/* <copyright file="public_site.css" company="Laxson Solutions">
 * Laxson Solutions Development Team
 *
 * Description:
 * Defines presentation rules for public site.
 * </copyright> */

/* CONEXGO PUBLIC SITE CASCADE - generated by R18-206.6 on 2026-09-19 14:34:29 */
/* Historical source boundaries are retained for reviewability. */

@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

/* ==========================================================================
   SOURCE: wwwroot\assets\css\conexgo-dialogs.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/*
 * Conexgo dialog foundation.
 * This file styles the MudBlazor dialog shell and explicit Conexgo classes.
 * It does not infer business structure from row position or child order.
 */

:root {
    --cx-dialog-navy: #2c4c6c;
    --cx-dialog-navy-hover: #244563;
    --cx-dialog-text: #253858;
    --cx-dialog-muted: #667585;
    --cx-dialog-border: #d6e0ea;
    --cx-dialog-control-border: #cbd7e2;
    --cx-dialog-body: #f7f9fb;
    --cx-dialog-footer: #f4f7fa;
    --cx-dialog-primary: #31597f;
    --cx-dialog-primary-soft: #eaf1f7;
    --cx-dialog-success: #5f8667;
    --cx-dialog-success-hover: #4f7558;
    --cx-dialog-danger: #a44952;
    --cx-dialog-danger-soft: #fff5f5;
}

.mud-overlay.mud-overlay-dialog {
    background: rgba(24, 38, 56, .42) !important;
    backdrop-filter: none !important;
}

.mud-dialog {
    max-width: calc(100vw - 32px) !important;
    max-height: calc(100dvh - 32px) !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid #9fb2c6 !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 22px 56px rgba(23, 43, 77, .18), 0 5px 14px rgba(23, 43, 77, .08) !important;
    animation: none !important;
    transform: none !important;
}

.mud-dialog .mud-dialog-title,
.mud-dialog .dialog-background-title {
    min-height: 58px !important;
    min-width: 0 !important;
    padding: 12px 18px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex: 0 0 auto !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: 13px 13px 0 0 !important;
    background: var(--cx-dialog-navy) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    overflow-wrap: anywhere !important;
}

.mud-dialog .mud-dialog-title .mud-icon-button-root,
.mud-dialog .mud-dialog-title .mud-button-root {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    margin-left: auto !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, .95) !important;
    box-shadow: none !important;
}

.mud-dialog .mud-dialog-title .mud-icon-button-root:hover,
.mud-dialog .mud-dialog-title .mud-button-root:hover {
    background: rgba(255, 255, 255, .12) !important;
}

.mud-dialog .mud-dialog-content,
.mud-dialog .dialog-background-surface.mud-dialog-content {
    min-height: 0 !important;
    padding: clamp(12px, 1.15vw, 18px) !important;
    flex: 1 1 auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    background: var(--cx-dialog-body) !important;
    color: var(--cx-dialog-text) !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
    scrollbar-width: thin;
    scrollbar-color: #b7c4d0 transparent;
}

.mud-dialog .mud-dialog-content::-webkit-scrollbar {
    width: 8px;
}

.mud-dialog .mud-dialog-content::-webkit-scrollbar-track {
    background: transparent;
}

.mud-dialog .mud-dialog-content::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #b7c4d0;
    background-clip: padding-box;
}

/* Visual treatment only; component-local CSS owns the business layout. */
.cx-dialog-root .form-label,
.cx-dialog-root .control-label,
.cx-dialog-root .col-form-label,
.cx-dialog-root label[aspfor] {
    margin-bottom: 5px !important;
    color: #2c4c6c !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.cx-dialog-root .form-control,
.cx-dialog-root .form-select,
.cx-dialog-root input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.cx-dialog-root select,
.cx-dialog-root textarea {
    min-height: 38px !important;
    border: 1px solid var(--cx-dialog-control-border) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--cx-dialog-text) !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
    box-shadow: 0 1px 2px rgba(23, 43, 77, .025) !important;
}

.cx-dialog-root .form-control:hover,
.cx-dialog-root .form-select:hover,
.cx-dialog-root input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):hover,
.cx-dialog-root select:hover,
.cx-dialog-root textarea:hover {
    border-color: #b6c6d5 !important;
}

.cx-dialog-root .form-control:focus,
.cx-dialog-root .form-select:focus,
.cx-dialog-root input:focus,
.cx-dialog-root select:focus,
.cx-dialog-root textarea:focus {
    border-color: #6f8eac !important;
    outline: 0 !important;
    box-shadow: 0 0 0 3px rgba(61, 98, 135, .12) !important;
}

.cx-dialog-root .form-control:disabled,
.cx-dialog-root .form-select:disabled,
.cx-dialog-root input:disabled,
.cx-dialog-root select:disabled,
.cx-dialog-root textarea:disabled,
.cx-dialog-root .form-control[readonly] {
    border-color: #dbe3ea !important;
    background: #f1f4f7 !important;
    color: #667585 !important;
    opacity: 1 !important;
}

.cx-dialog-root .form-text,
.cx-dialog-root small,
.cx-dialog-root .text-muted,
.cx-dialog-root .validation-message {
    color: var(--cx-dialog-muted) !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

.cx-dialog-root .form-control-plaintext,
.cx-dialog-root .static-value,
.cx-dialog-root .readonly-value,
.cx-dialog-root .conexgo-dialog-static-value,
.cx-dialog-root .cx-r1-readonly-value {
    color: var(--cx-dialog-text) !important;
    font-size: 13.5px !important;
    line-height: 1.45 !important;
}

.mud-dialog .mud-dialog-actions,
.mud-dialog .dialog-background-surface.mud-dialog-actions,
.mud-dialog .cx-dialog-actions {
    min-height: 56px !important;
    padding: 8px 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex: 0 0 auto !important;
    flex-wrap: nowrap !important;
    border-top: 1px solid #dbe3eb !important;
    background: var(--cx-dialog-footer) !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
}

.mud-dialog .mud-dialog-actions > *,
.mud-dialog .cx-dialog-actions > * {
    flex: 0 0 auto !important;
}

.mud-dialog .mud-dialog-actions .mud-button-label,
.mud-dialog .cx-dialog-actions .mud-button-label {
    width: 100%;
    min-width: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    line-height: 1 !important;
}

.mud-dialog .mud-dialog-actions .mud-button-root,
.mud-dialog .mud-dialog-actions .btn,
.mud-dialog .cx-dialog-action {
    min-height: 36px !important;
    padding: 0 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    border-radius: 7px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease !important;
}

.mud-dialog .mud-dialog-actions .mud-button-root:hover,
.mud-dialog .mud-dialog-actions .btn:hover,
.mud-dialog .cx-dialog-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(31, 62, 91, .12) !important;
}

.mud-dialog .mud-dialog-actions i,
.mud-dialog .cx-dialog-action i {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1 !important;
}

.mud-dialog .conexgo-dialog-save,
.mud-dialog .cx-dialog-action--save {
    border-color: var(--cx-dialog-success) !important;
    background: var(--cx-dialog-success) !important;
    color: #ffffff !important;
}

.mud-dialog .conexgo-dialog-save:hover,
.mud-dialog .cx-dialog-action--save:hover {
    border-color: var(--cx-dialog-success-hover) !important;
    background: var(--cx-dialog-success-hover) !important;
}

.mud-dialog .conexgo-dialog-save-close,
.mud-dialog .cx-dialog-action--save-close {
    border-color: var(--cx-dialog-primary) !important;
    background: var(--cx-dialog-primary) !important;
    color: #fff !important;
}

.mud-dialog .conexgo-dialog-cancel,
.mud-dialog .cx-dialog-action--cancel {
    border-color: #c6d1dc !important;
    background: #fff !important;
    color: #566575 !important;
}

.mud-dialog .conexgo-dialog-delete,
.mud-dialog .cx-dialog-action--delete {
    margin-left: 0 !important;
    border-color: #efd9dc !important;
    background: var(--cx-dialog-danger-soft) !important;
    color: var(--cx-dialog-danger) !important;
}

.mud-dialog .conexgo-dialog-preview,
.mud-dialog .cx-dialog-action--preview {
    border-color: #c6d1dc !important;
    background: #fff !important;
    color: #566575 !important;
}

.mud-dialog .conexgo-dialog-publish,
.mud-dialog .cx-dialog-action--publish,
.mud-dialog .conexgo-dialog-send,
.mud-dialog .cx-dialog-action--send {
    border-color: #617aa2 !important;
    background: #617aa2 !important;
    color: #fff !important;
}

.mud-dialog .mud-button-root:disabled,
.mud-dialog .mud-button-root.mud-disabled,
.mud-dialog .btn:disabled,
.mud-dialog .btn.disabled {
    transform: none !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    opacity: .58 !important;
}

/* Explicit confirmation component. */
.cx-confirm-dialog {
    width: min(540px, calc(100vw - 24px)) !important;
    max-width: min(540px, calc(100vw - 24px)) !important;
}

/* Explicit account block notice dialog may use a wider canvas. */
.account-blocknotice-dialog {
    width: min(1080px, calc(100vw - 32px)) !important;
    max-width: min(1080px, calc(100vw - 32px)) !important;
}

@media (max-width: 767.98px) {
    .mud-dialog {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
        max-height: calc(100dvh - 16px) !important;
        border-radius: 12px !important;
    }

    .mud-dialog .mud-dialog-title,
    .mud-dialog .dialog-background-title {
        min-height: 58px !important;
        padding: 12px 14px !important;
        gap: 10px !important;
        border-radius: 11px 11px 0 0 !important;
        font-size: 19px !important;
    }

    .mud-dialog .mud-dialog-content,
    .mud-dialog .dialog-background-surface.mud-dialog-content {
        padding: 14px !important;
        font-size: 14.5px !important;
    }

    .mud-dialog .mud-dialog-actions,
    .mud-dialog .dialog-background-surface.mud-dialog-actions,
    .mud-dialog .cx-dialog-actions {
        min-height: 68px !important;
        padding: 12px !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scrollbar-width: thin;
    }

    .mud-dialog .mud-dialog-actions .mud-button-root,
    .mud-dialog .mud-dialog-actions .btn,
    .mud-dialog .cx-dialog-action {
        width: 44px !important;
        min-width: 44px !important;
        max-width: 44px !important;
        height: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
        flex: 0 0 44px !important;
        font-size: 0 !important;
        overflow: hidden !important;
    }

    .mud-dialog .mud-dialog-actions .mud-button-label,
    .mud-dialog .cx-dialog-actions .mud-button-label {
        width: 100% !important;
        height: 100% !important;
        gap: 0 !important;
    }

    .mud-dialog .mud-dialog-actions i,
    .mud-dialog .mud-dialog-actions svg,
    .mud-dialog .cx-dialog-action i,
    .mud-dialog .cx-dialog-action svg {
        width: 18px !important;
        height: 18px !important;
        margin: 0 !important;
        display: inline-grid !important;
        place-items: center !important;
        font-size: 16px !important;
        line-height: 1 !important;
    }
}

/* R5.4 - consistent section feedback inside every Conexgo dialog. */
@media (hover: hover) {
    .cx-dialog-root .cx-r1-section,
    .cx-dialog-root .cx-modal-group-v21,
    .cx-dialog-root .alert-email-form,
    .cx-dialog-root .alert-sms-form {
        transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
    }

    .cx-dialog-root .cx-r1-section:hover,
    .cx-dialog-root .cx-modal-group-v21:hover,
    .cx-dialog-root .alert-email-form:hover,
    .cx-dialog-root .alert-sms-form:hover {
        border-color: #b6c9d9 !important;
        box-shadow: 0 6px 16px rgba(44, 76, 108, .07);
    }
}

/* R5.6 - shared modal section system.
 * All section spacing, title, icon and description values live here so that
 * every Conexgo MudBlazor form uses the same visual rhythm.
 */
:root {
    --cx-modal-section-gap: 18px;
    --cx-modal-section-gap-mobile: 16px;
    --cx-modal-section-padding-x: 22px;
    --cx-modal-section-padding-y: 20px;
    --cx-modal-section-radius: 12px;
    --cx-modal-section-icon-size: 42px;
    --cx-modal-section-title-size: 1.08rem;
    --cx-modal-section-description-size: .93rem;
}

/* Every migrated modal uses these explicit section classes. */
.mud-dialog .cx-modal-layout-v21 .cx-r1-section,
.mud-dialog .cx-modal-layout-v21 fieldset.cx-modal-group-v21 {
    min-width: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding: var(--cx-modal-section-padding-y) var(--cx-modal-section-padding-x) calc(var(--cx-modal-section-padding-y) + 2px) !important;
    border: 1.6px solid #6f8da5 !important;
    border-radius: var(--cx-modal-section-radius) !important;
    background: #ffffff !important;
    box-shadow: 0 1px 3px rgba(44, 76, 108, .045) !important;
}

/* The gap is applied to the sections themselves, not to unrelated form rows. */
.mud-dialog .cx-modal-layout-v21 .cx-r1-section + .cx-r1-section,
.mud-dialog .cx-modal-layout-v21 fieldset.cx-modal-group-v21 + fieldset.cx-modal-group-v21,
.mud-dialog .cx-modal-layout-v21 form.cx-dialog-v17-form > .cx-r1-section + .cx-r1-section,
.mud-dialog .cx-modal-layout-v21 form.cx-dialog-v17-form > fieldset.cx-modal-group-v21 + fieldset.cx-modal-group-v21 {
    margin-top: var(--cx-modal-section-gap) !important;
}

.mud-dialog .cx-r1-section-title {
    width: auto !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 0 8px !important;
    padding: 0 !important;
    color: #244563 !important;
    font-size: var(--cx-modal-section-title-size) !important;
    font-weight: 850 !important;
    line-height: 1.35 !important;
}

.mud-dialog .cx-r1-section-icon {
    width: var(--cx-modal-section-icon-size) !important;
    height: var(--cx-modal-section-icon-size) !important;
    min-width: var(--cx-modal-section-icon-size) !important;
    flex: 0 0 var(--cx-modal-section-icon-size) !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 10px !important;
    background: #e7f0f7 !important;
    color: #315f8a !important;
    font-size: 1.05rem !important;
    line-height: 1 !important;
}

.mud-dialog .cx-r1-section-icon > i,
.mud-dialog .cx-r1-section-icon > svg {
    margin: 0 !important;
    line-height: 1 !important;
}

.mud-dialog .cx-r1-section-description {
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin: 0 0 18px !important;
    padding: 0 !important;
    color: #607284 !important;
    font-size: var(--cx-modal-section-description-size) !important;
    line-height: 1.45 !important;
}

.mud-dialog .cx-r1-section-description > i {
    margin: 0 !important;
    flex: 0 0 auto !important;
    color: #527493 !important;
    font-size: .84rem !important;
    line-height: 1 !important;
}

.mud-dialog .cx-r1-section-description > span {
    min-width: 0 !important;
    display: block !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
}

/* Shared field rows keep labels and controls aligned across every modal. */
.mud-dialog .cx-r1-form-row {
    min-width: 0 !important;
    align-items: start !important;
}

@media (max-width: 767.98px) {
    .mud-dialog .cx-modal-layout-v21 .cx-r1-section,
    .mud-dialog .cx-modal-layout-v21 fieldset.cx-modal-group-v21 {
        padding: 16px !important;
    }

    .mud-dialog .cx-modal-layout-v21 .cx-r1-section + .cx-r1-section,
    .mud-dialog .cx-modal-layout-v21 fieldset.cx-modal-group-v21 + fieldset.cx-modal-group-v21,
    .mud-dialog .cx-modal-layout-v21 form.cx-dialog-v17-form > .cx-r1-section + .cx-r1-section,
    .mud-dialog .cx-modal-layout-v21 form.cx-dialog-v17-form > fieldset.cx-modal-group-v21 + fieldset.cx-modal-group-v21 {
        margin-top: var(--cx-modal-section-gap-mobile) !important;
    }

    .mud-dialog .cx-r1-section-title {
        gap: 10px !important;
        font-size: 1rem !important;
    }

    .mud-dialog .cx-r1-section-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex-basis: 38px !important;
        font-size: 1rem !important;
    }

    .mud-dialog .cx-r1-section-description {
        align-items: flex-start !important;
        margin-bottom: 14px !important;
        font-size: .88rem !important;
    }

    .mud-dialog .cx-r1-section-description > i {
        margin-top: .2rem !important;
    }

    .mud-dialog .cx-r1-section-description > span {
        overflow: visible !important;
        white-space: normal !important;
        text-overflow: clip !important;
    }
}

/* R5.8 - consolidated Device_Config modal system.
 * Reference: Device_SOSButton.razor.
 * Scope is explicit: only dialogs carrying .cx-device-config-dialog.
 */
:root {
    --cx-device-modal-section-gap: 14px;
    --cx-device-modal-section-gap-mobile: 12px;
    --cx-device-modal-content-width: 1180px;
    --cx-device-modal-control-width: 940px;
    --cx-device-modal-label-width: 220px;
    --cx-device-modal-row-gap: 12px;
    --cx-device-modal-column-gap: 14px;
}

.cx-device-config-dialog .cx-device-config-layout,
.cx-device-config-dialog .cx-device-config-form,
.cx-device-config-dialog form.cx-dialog-v17-form {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: var(--cx-device-modal-section-gap) !important;
}

.cx-device-config-dialog .cx-device-config-layout > *,
.cx-device-config-dialog .cx-device-config-form > *,
.cx-device-config-dialog form.cx-dialog-v17-form > * {
    margin-top: 0;
    margin-bottom: 0;
}

.cx-device-config-dialog .cx-device-config-conditional-section {
    min-width: 0;
    gap: var(--cx-device-modal-section-gap);
}

.cx-device-config-dialog .cx-device-config-section,
.cx-device-config-dialog .cx-r1-section {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 15px 18px 17px !important;
    border: 1.6px solid #6f8da5 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(35, 60, 85, .05) !important;
}

.cx-device-config-dialog .cx-device-config-section-title,
.cx-device-config-dialog .cx-r1-section-title {
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: #244563 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
}

.cx-device-config-dialog .cx-device-config-section-icon,
.cx-device-config-dialog .cx-r1-section-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 8px !important;
    background: #edf3f8 !important;
    color: #315f8a !important;
    font-size: 13px !important;
}

.cx-device-config-dialog .cx-device-config-section-description,
.cx-device-config-dialog .cx-r1-section-description {
    min-width: 0;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 0 14px !important;
    color: #607284 !important;
    font-size: 12.5px !important;
    line-height: 1.45 !important;
}

.cx-device-config-dialog .cx-r1-section-description > i,
.cx-device-config-dialog .cx-device-config-section-description > i {
    flex: 0 0 auto;
    margin: 0 !important;
    color: #557a9b !important;
}

.cx-device-config-dialog .cx-r1-section-description > span,
.cx-device-config-dialog .cx-device-config-section-description > span {
    min-width: 0;
}

.cx-device-config-dialog .cx-r1-form-row,
.cx-device-config-dialog .cx-device-config-form-row {
    width: min(100%, var(--cx-device-modal-content-width));
    min-width: 0;
    margin: 0 auto var(--cx-device-modal-row-gap) !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(170px, var(--cx-device-modal-label-width)) minmax(0, var(--cx-device-modal-control-width));
    justify-content: center;
    align-items: start !important;
    gap: 8px var(--cx-device-modal-column-gap) !important;
}

.cx-device-config-dialog .cx-r1-form-row:last-child {
    margin-bottom: 0 !important;
}

.cx-device-config-dialog .cx-r1-form-row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cx-device-config-dialog .cx-r1-form-row > .form-label:first-child {
    grid-column: 1;
    padding-top: 11px !important;
    text-align: right !important;
}

.cx-device-config-dialog .cx-r1-form-row > [class*="col-"]:not(.form-label:first-child) {
    grid-column: 2;
}

.cx-device-config-dialog .cx-r1-form-row > .col-md-12,
.cx-device-config-dialog .cx-r1-form-row > .col-lg-12,
.cx-device-config-dialog .cx-r1-form-row > .conexgo-last-updated-card {
    grid-column: 1 / -1 !important;
}

.cx-device-config-dialog .cx-r1-form-row > [class*="col-"]:empty {
    display: none !important;
}

.cx-device-config-dialog .cx-r1-form-row > [class*="col-"]:empty + * {
    grid-column: 1 / -1 !important;
}

.cx-device-config-dialog .form-label > label:not(.custom-switch),
.cx-device-config-dialog label[aspfor],
.cx-device-config-dialog .cx-device-config-field > label,
.cx-device-config-dialog .cx-device-config-setting-copy > label,
.cx-device-config-dialog .cx-device-config-days-label {
    color: #52677a !important;
    font-size: .76rem !important;
    font-weight: 800 !important;
    letter-spacing: .045em !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

.cx-device-config-dialog .form-label > label:not(.custom-switch)::after,
.cx-device-config-dialog label[aspfor]::after,
.cx-device-config-dialog .cx-device-config-field > label::after,
.cx-device-config-dialog .cx-device-config-setting-copy > label::after {
    content: ":";
}

.cx-device-config-dialog input.form-control,
.cx-device-config-dialog select.form-control,
.cx-device-config-dialog .cx-native-control:not(textarea),
.cx-device-config-dialog .mud-input-control {
    width: 100% !important;
    min-width: 0 !important;
    max-width: var(--cx-device-modal-control-width) !important;
    border-color: #cfd9e3 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.cx-device-config-dialog textarea.form-control,
.cx-device-config-dialog textarea.cx-native-control,
.cx-device-config-dialog .cx-dialog-textarea {
    width: 100%;
    min-width: 0;
    max-width: var(--cx-device-modal-control-width);
    border-color: #cfd9e3 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.cx-device-config-dialog textarea.form-control,
.cx-device-config-dialog .cx-dialog-textarea,
.cx-device-config-dialog textarea.cx-native-control {
    height: 132px;
    min-height: 84px !important;
    max-height: none !important;
    resize: both !important;
    overflow: auto !important;
}

.cx-device-config-switch-stack {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.cx-device-config-switch-card {
    width: min(100%, var(--cx-device-modal-content-width));
    min-width: 0;
    min-height: 68px;
    margin: 0 auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    border: 1px solid #d8e2ec;
    border-radius: 10px;
    background: #f7f9fc;
}

.cx-device-config-setting-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.cx-device-config-setting-copy > span {
    color: #667585;
    font-size: .88rem;
    line-height: 1.45;
}

.cx-device-config-switch-control {
    margin: 0 !important;
}

.cx-device-config-field-grid {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: minmax(0, var(--cx-device-modal-control-width));
    justify-content: center;
    gap: 16px;
}

.cx-device-config-field-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cx-device-config-field {
    min-width: 0;
    display: grid;
    gap: 7px;
}

.cx-device-config-field > small {
    color: #667585;
    font-size: .82rem;
    line-height: 1.45;
}

.cx-device-config-unit-control {
    max-width: 420px;
}

.cx-device-config-recipient-stack {
    width: min(100%, 900px);
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.cx-device-config-last-updated,
.cx-device-config-readonly-card,
.cx-device-config-status-card {
    width: min(100%, var(--cx-device-modal-content-width));
    min-width: 0;
    margin: 0 auto;
    padding: 14px 16px;
    border: 1px solid #d6e0ea;
    border-left: 4px solid #3e6a99;
    border-radius: 9px;
    background: #f2f7fb;
    color: #526170;
}

.cx-device-config-last-updated {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
}

.cx-device-config-last-updated-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #e2edf6;
    color: #315f8a;
}

.cx-device-config-last-updated-label {
    color: #2c4c6c;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.cx-device-config-last-updated-value {
    margin-top: 3px;
    color: #344054;
    font-size: .9rem;
    font-weight: 650;
}

.cx-device-config-last-updated-by {
    margin-top: 2px;
    color: #667585;
    font-size: .84rem;
}

.cx-device-config-status-card {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cx-device-config-status-card--warning {
    border-left-color: #d69b41;
    background: #fff8ea;
    color: #8a5a14;
}

.cx-device-config-choice-grid {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cx-device-config-choice-grid--single {
    grid-template-columns: minmax(0, 1fr);
}

.cx-device-config-choice-card {
    position: relative;
    min-width: 0;
    min-height: 64px;
    padding: 14px 16px 14px 48px;
    display: flex;
    align-items: center;
    border: 1px solid #d5e0e9;
    border-radius: 10px;
    background: #f8fafc;
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.cx-device-config-choice-card:hover {
    transform: translateY(-1px);
    border-color: #9fb7cb;
    background: #eef5fa;
    box-shadow: 0 5px 12px rgba(44, 76, 108, .08);
}

.cx-device-config-choice-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cx-device-config-choice-indicator {
    position: absolute;
    left: 16px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    border: 2px solid #9aabba;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: inset 0 0 0 4px #ffffff;
}

.cx-device-config-choice-card > input:checked + .cx-device-config-choice-indicator {
    border-color: #315f8a;
    background: #315f8a;
}

.cx-device-config-choice-copy {
    min-width: 0;
    color: #344054;
    font-size: .92rem;
}

.cx-device-config-suboption-panel {
    margin: -2px 0 4px 24px;
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-left: 3px solid #9ab2c7;
    border-radius: 0 9px 9px 0;
    background: #f6f9fc;
}

.cx-device-config-check-card {
    position: relative;
    min-height: 40px;
    padding: 9px 11px 9px 40px;
    display: flex;
    align-items: center;
    border: 1px solid #d8e2ec;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
}

.cx-device-config-check-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cx-device-config-check-indicator {
    position: absolute;
    left: 11px;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border: 1px solid #a8b8c7;
    border-radius: 6px;
    background: #ffffff;
    color: transparent;
    font-size: 11px;
}

.cx-device-config-check-card > input:checked + .cx-device-config-check-indicator {
    border-color: #315f8a;
    background: #315f8a;
    color: #ffffff;
}

.cx-device-config-days-label {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 18px auto 9px;
}

.cx-device-config-day-grid {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.cx-device-config-day-card {
    position: relative;
    min-height: 58px;
    padding: 10px 8px 10px 34px;
    display: flex;
    align-items: center;
    border: 1px solid #d8e2ec;
    border-radius: 9px;
    background: #f8fafc;
    color: #344054;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}

.cx-device-config-day-card > input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.cx-device-config-day-check {
    position: absolute;
    left: 9px;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 1px solid #a8b8c7;
    border-radius: 5px;
    background: #ffffff;
    color: transparent;
    font-size: 10px;
}

.cx-device-config-day-card > input:checked + .cx-device-config-day-check {
    border-color: #315f8a;
    background: #315f8a;
    color: #ffffff;
}

.cx-device-config-dialog .cx-r1-sos-layout form {
    gap: var(--cx-device-modal-section-gap) !important;
}

.cx-device-config-dialog .cx-r1-sos-switch-row {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 0 auto;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(170px, 220px) auto minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    border: 1px solid #d8e2ec;
    border-radius: 10px;
    background: #f7f9fc;
}

.cx-device-config-dialog .cx-r2-sos-number-columns,
.cx-device-config-dialog .cx-r1-sos-number-row {
    width: min(100%, var(--cx-device-modal-content-width));
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(220px, .9fr) minmax(300px, 1.4fr);
    align-items: center;
    gap: 12px 16px;
}

.cx-device-config-dialog .cx-r2-sos-number-columns {
    margin-bottom: 10px;
    padding: 0 0 9px;
    border-bottom: 1px solid #e0e7ee;
    color: #52677a;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.cx-device-config-dialog .cx-r1-sos-number-row {
    margin-bottom: 12px;
}

.cx-device-config-dialog .cx-r1-sos-number-row:last-child {
    margin-bottom: 0;
}

.cx-device-config-dialog .cx-r1-sos-number-row > label {
    text-align: right;
}

.cx-device-config-dialog .cx-r1-sos-last-updated {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
}

@media (min-width: 992px) {
    .cx-device-config-dialog .cx-r1-section-description > span,
    .cx-device-config-dialog .cx-device-config-section-description > span {
        white-space: nowrap;
    }
}

@media (max-width: 1100px) {
    .cx-device-config-day-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .cx-device-config-dialog .cx-device-config-layout,
    .cx-device-config-dialog .cx-modal-layout-v21,
    .cx-device-config-dialog form.cx-dialog-v17-form,
    .cx-device-config-dialog .cx-device-config-form {
        gap: var(--cx-device-modal-section-gap-mobile) !important;
    }

    .cx-device-config-dialog .cx-device-config-section,
    .cx-device-config-dialog .cx-r1-section {
        padding: 16px !important;
    }

    .cx-device-config-dialog .cx-device-config-section-title,
    .cx-device-config-dialog .cx-r1-section-title {
        font-size: 1rem !important;
    }

    .cx-device-config-dialog .cx-device-config-section-icon,
    .cx-device-config-dialog .cx-r1-section-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
    }

    .cx-device-config-dialog .cx-r1-section-description > span,
    .cx-device-config-dialog .cx-device-config-section-description > span {
        white-space: normal;
    }

    .cx-device-config-dialog .cx-r1-form-row,
    .cx-device-config-dialog .cx-device-config-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 16px !important;
    }

    .cx-device-config-dialog .cx-r1-form-row > .form-label:first-child,
    .cx-device-config-dialog .cx-r1-form-row > [class*="col-"]:not(.form-label:first-child) {
        grid-column: 1 !important;
        grid-row: auto !important;
        padding-top: 0 !important;
        text-align: left !important;
    }

    .cx-device-config-switch-card {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 13px;
    }

    .cx-device-config-field-grid--two,
    .cx-device-config-choice-grid,
    .cx-device-config-suboption-panel,
    .cx-device-config-day-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-device-config-suboption-panel {
        margin-left: 0;
    }

    .cx-device-config-dialog .cx-r1-sos-switch-row {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .cx-device-config-dialog .cx-r1-sos-switch-description {
        grid-column: 1 / -1;
    }

    .cx-device-config-dialog .cx-r2-sos-number-columns {
        display: none;
    }

    .cx-device-config-dialog .cx-r1-sos-number-row {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 14px;
        border-bottom: 1px solid #e4eaf0;
    }

    .cx-device-config-dialog .cx-r1-sos-number-row > label {
        text-align: left;
    }
}

/* R5.9 - release consistency layer. Explicit classes only. */
.cx-standard-form-dialog {
    width: min(1240px, calc(100vw - 32px)) !important;
    max-width: min(1240px, calc(100vw - 32px)) !important;
}

.cx-standard-form-dialog .cx-modal-layout-v21 {
    width: min(100%, 1160px) !important;
    margin: 0 auto !important;
}

.cx-standard-form-dialog form.cx-dialog-v17-form {
    min-width: 0 !important;
    margin: 0 !important;
    display: grid !important;
    gap: 0 !important;
}

.cx-standard-form-dialog .cx-r1-section {
    padding: 20px 22px 22px !important;
}

.cx-standard-form-dialog .cx-r1-form-row {
    width: min(100%, 1050px) !important;
    margin: 0 auto 12px !important;
    display: grid !important;
    grid-template-columns: minmax(170px, 210px) minmax(0, 1fr) !important;
    justify-content: center !important;
    align-items: start !important;
    gap: 7px 18px !important;
}

.cx-standard-form-dialog .cx-r1-form-row:last-child { margin-bottom: 0 !important; }

.cx-standard-form-dialog .cx-r1-form-row > [class*="col-"] {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cx-standard-form-dialog .cx-r1-form-row > .form-label:first-child {
    padding-top: 10px !important;
    text-align: right !important;
}

.cx-standard-form-dialog .cx-r1-form-row > [class*="col-"]:not(.form-label:first-child) {
    grid-column: 2;
}

.cx-standard-form-dialog .cx-r1-section-description > span {
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
}

.cx-standard-form-dialog input.form-control,
.cx-standard-form-dialog select.form-control {
    width: 100% !important;
    max-width: 100% !important;
}

.cx-standard-form-dialog textarea.form-control {
    width: 100%;
    max-width: 100%;
}

/* Broad but explicit normalization for every migrated Conexgo form row.
 * Complex Device Config dialogs keep their dedicated R5.8 grid.
 */
.cx-dialog-root:not(.cx-device-config-dialog) form.cx-dialog-v17-form {
    width: min(100%, 1120px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

.cx-dialog-root:not(.cx-device-config-dialog) .cx-r1-form-row {
    width: min(100%, 1050px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

/* Stable footer order for full forms. Confirmation dialogs keep their own two-button order. */
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--save { order: 10; }
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--save-close { order: 20; }
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--publish,
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--send,
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--acknowledge,
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--preview,
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--subscribe,
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--reset { order: 30; }
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--cancel { order: 80; }
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--delete,
.cx-dialog-root:not(.cx-confirm-dialog) .cx-dialog-action--unsubscribe { order: 90; }

@media (hover: hover) {
    .cx-dialog-root .cx-r1-section:hover,
    .cx-dialog-root .cx-modal-group-v21:hover,
    .cx-dialog-root .alert-email-form:hover,
    .cx-dialog-root .alert-sms-form:hover {
        border-color: #6f8da5 !important;
        background: #ffffff !important;
        box-shadow: 0 1px 4px rgba(35, 60, 85, .05) !important;
    }
}

@media (max-width: 767.98px) {
    .cx-standard-form-dialog {
        width: calc(100vw - 16px) !important;
        max-width: calc(100vw - 16px) !important;
    }

    .cx-standard-form-dialog .cx-r1-form-row {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 5px !important;
        margin-bottom: 14px !important;
    }

    .cx-standard-form-dialog .cx-r1-form-row > .form-label:first-child,
    .cx-standard-form-dialog .cx-r1-form-row > [class*="col-"]:not(.form-label:first-child) {
        grid-column: 1 !important;
        padding-top: 0 !important;
        text-align: left !important;
    }
}

/* CONEXGO R5.10 - Device Geofence tabs and Online Service consistency */
.device-geofence-dialog .device-geofence-tabs {
    width: min(100%, var(--cx-device-modal-content-width, 1120px));
    margin: 2px auto 20px;
    padding: 0 8px;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    border-bottom: 1px solid #d7e1ea;
    scrollbar-width: thin;
}

.device-geofence-dialog .device-geofence-tab.nav-link {
    min-width: 0;
    min-height: 52px;
    margin: 0 0 -1px;
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    border-bottom-color: #d7e1ea;
    border-radius: 10px 10px 0 0;
    background: transparent;
    color: #617184;
    font: inherit;
    font-size: .86rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease;
}

.device-geofence-dialog .device-geofence-tab.nav-link:hover:not(:disabled),
.device-geofence-dialog .device-geofence-tab.nav-link:focus-visible {
    border-color: #c8d7e4 #c8d7e4 #d7e1ea;
    background: #f6f8fb;
    color: #2c4c6c;
    outline: none;
}

.device-geofence-dialog .device-geofence-tab.nav-link.active,
.device-geofence-dialog .device-geofence-tab-active {
    border-color: #d7e1ea #d7e1ea #ffffff;
    background: #ffffff;
    color: #2c4c6c;
    box-shadow: inset 0 3px 0 #3e6a99;
}

.device-geofence-dialog .device-geofence-tab-number {
    color: #3e6a99;
    font-weight: 800;
}

.device-geofence-dialog .device-geofence-tab-name {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.device-geofence-dialog .device-geofence-tab-status {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-size: 10px;
}

.device-geofence-dialog .device-geofence-tab-status-enabled {
    background: #e9f5ed;
    color: #347a4c;
}

.device-geofence-dialog .device-geofence-tab-status-disabled {
    background: #fbecef;
    color: #b14c59;
}

.cx-device-online-service .cx-device-config-field-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767.98px) {
    .device-geofence-dialog .device-geofence-tabs {
        margin-bottom: 16px;
        padding: 0 2px;
        gap: 4px;
    }

    .device-geofence-dialog .device-geofence-tab.nav-link {
        min-height: 46px;
        padding: 8px 10px;
        font-size: .8rem;
    }

    .device-geofence-dialog .device-geofence-tab-name {
        max-width: 105px;
    }

    .cx-device-online-service .cx-device-config-field-grid--two {
        grid-template-columns: minmax(0, 1fr);
    }
}



/* R6.7 - readable tables inside all Conexgo dialogs. */
.cx-dialog-root table th,
.cx-dialog-root table td,
.mud-dialog table th,
.mud-dialog table td {
    font-size: 14px !important;
    line-height: 1.5 !important;
}

@media (hover: hover) {
    .cx-dialog-root table tbody tr,
    .mud-dialog table tbody tr {
        transition: background-color .16s ease, box-shadow .16s ease;
    }

    .cx-dialog-root table tbody tr:hover > *,
    .mud-dialog table tbody tr:hover > * {
        background-color: #f3f7fa !important;
    }

    .cx-dialog-root table tbody tr:hover,
    .mud-dialog table tbody tr:hover {
        box-shadow: none !important;
    }
}


/* CONEXGO R6.2 — explicit centering and content integrity for migrated dialogs. */
.mud-dialog-container {
    padding: 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mud-dialog.cx-dialog-root {
    margin: auto !important;
    height: auto !important;
    min-height: 0 !important;
}

.mud-dialog.cx-dialog-root > .mud-dialog-content,
.mud-dialog.cx-dialog-root > .dialog-background-surface.mud-dialog-content {
    width: 100% !important;
    min-width: 0 !important;
}

.mud-dialog.cx-dialog-root .cx-modal-layout-v21,
.mud-dialog.cx-dialog-root .cx-r1-section,
.mud-dialog.cx-dialog-root .cx-modal-group-v21 {
    min-width: 0 !important;
}

@media (max-width: 767.98px) {
    .mud-dialog-container {
        padding: 7px !important;
    }

    .mud-dialog.cx-dialog-root {
        width: calc(100vw - 14px) !important;
        max-width: calc(100vw - 14px) !important;
        max-height: calc(100dvh - 14px) !important;
    }
}


/* CONEXGO R18.24 TARGETED TERMS GEOFENCE START */

/* Keep only scoped modal rules. Do not globally restyle legacy Blazored forms. */
.mud-dialog .conexgo-title-icon-terms::before {
    content: "\f56c" !important;
}

.mud-dialog .conexgo-title-icon-geofence::before {
    content: "\f5ee" !important;
}

.mud-dialog .conexgo-title-icon-terms::before,
.mud-dialog .conexgo-title-icon-geofence::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-weight: 900 !important;
}

/* Terms follows the same compact private-form envelope as Device_AddEdit. */
.cx-terms-dialog {
    width: min(1080px, calc(100vw - 32px)) !important;
    max-width: min(1080px, calc(100vw - 32px)) !important;
    max-height: min(86vh, 900px) !important;
    margin: auto !important;
}

.cx-terms-dialog .cx-terms-layout {
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.cx-terms-dialog .cx-terms-section {
    padding: 20px 22px 22px !important;
}

.cx-terms-dialog .cx-terms-document {
    max-height: min(54vh, 560px);
    margin-top: 14px;
    padding: 18px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #d8e2eb;
    border-radius: 8px;
    background: #ffffff;
    color: var(--cx-dialog-text, #253858);
    line-height: 1.55;
    scrollbar-width: thin;
    scrollbar-color: #b7c4d0 transparent;
}

.cx-terms-dialog .cx-terms-document > :first-child {
    margin-top: 0 !important;
}

.cx-terms-dialog .cx-terms-document > :last-child {
    margin-bottom: 0 !important;
}

.cx-terms-dialog .cx-terms-document h1,
.cx-terms-dialog .cx-terms-document h2,
.cx-terms-dialog .cx-terms-document h3,
.cx-terms-dialog .cx-terms-document h4 {
    margin-top: 1.1em;
    margin-bottom: .5em;
    color: #2c4c6c;
    font-weight: 700;
    line-height: 1.25;
}

.cx-terms-dialog .cx-terms-document h1 {
    font-size: 1.55rem;
}

.cx-terms-dialog .cx-terms-document h2 {
    font-size: 1.25rem;
}

.cx-terms-dialog .cx-terms-document p,
.cx-terms-dialog .cx-terms-document li {
    font-size: .94rem;
    line-height: 1.6;
}

.cx-terms-dialog .cx-terms-loading {
    min-height: 200px;
    display: grid;
    place-items: center;
}

.cx-terms-dialog .cx-terms-error {
    min-height: 120px;
    margin-top: 14px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid #e7c8cb;
    border-radius: 8px;
    background: #fff7f8;
    color: #8b3f47;
}

/* Geofence stays specialized; only the common shell/button language is shared. */
.cx-r1-device-geofence.cx-standard-form-dialog .device-geofence-tabs {
    border-color: #dbe4ec !important;
}

.cx-r1-device-geofence.cx-standard-form-dialog .device-geofence-dialog-actions {
    gap: 10px !important;
}

@media (max-width: 767.98px) {
    .cx-terms-dialog {
        width: calc(100vw - 14px) !important;
        max-width: calc(100vw - 14px) !important;
        max-height: calc(100dvh - 14px) !important;
    }

    .cx-terms-dialog .cx-terms-section {
        padding: 14px !important;
    }

    .cx-terms-dialog .cx-terms-document {
        max-height: 50vh;
        padding: 15px;
    }
}

/* CONEXGO R18.24 TARGETED TERMS GEOFENCE END */

/* R18-44 release candidate: compact, consistent dialog geometry. */
.cx-device-config-dialog .cx-r1-section.is-call-center-managed,
.cx-device-config-dialog .cx-r1-sos-numbers.is-call-center-managed {
    border-color: #7891a4 !important;
    background: #edf1f4 !important;
    box-shadow: none !important;
}

.cx-device-config-dialog .cx-r1-section.is-call-center-managed input:disabled,
.cx-device-config-dialog .cx-r1-sos-numbers.is-call-center-managed input:disabled {
    border-color: #c4ccd4 !important;
    background: #e4e8ec !important;
    color: #5c6873 !important;
    opacity: 1 !important;
}

.cx-device-config-dialog .cx-call-center-managed-notice {
    width: min(100%, var(--cx-device-modal-content-width));
    margin: 0 auto 13px !important;
    padding: 9px 11px !important;
    border: 1px solid #c5cfd8 !important;
    border-left: 3px solid #6f8190 !important;
    border-radius: 7px !important;
    background: #e5e9ed !important;
    color: #4c5c69 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.38 !important;
}

/* Legacy Blazored password/timezone dialogs use the same fieldset language as Terms. */
.cx-legacy-fieldset-modal {
    width: 100%;
    min-width: 0;
    color: #253858;
}

.cx-legacy-fieldset-modal .cx-modal-layout-v21 {
    width: 100%;
    display: grid;
    gap: 12px;
}

.cx-legacy-fieldset-modal .cx-r1-section {
    min-width: 0;
    margin: 0;
    padding: 15px 17px 17px;
    border: 1.5px solid #879fb1;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(44, 76, 108, .04);
}

.cx-legacy-fieldset-modal .cx-r1-section-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 5px;
    padding: 0 6px;
    color: #2c4c6c;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.cx-legacy-fieldset-modal .cx-r1-section-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 7px;
    background: #edf3f8;
    color: #315f8a;
    font-size: 12px;
}

.cx-legacy-fieldset-modal .cx-r1-section-description {
    margin: 0 0 13px;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: #617386;
    font-size: 12.5px;
    line-height: 1.4;
}

.cx-legacy-fieldset-modal .cx-legacy-note {
    margin: 0 0 14px;
    padding: 9px 11px;
    display: flex;
    gap: 7px;
    border: 1px solid #d6e0e8;
    border-left: 3px solid #557a9b;
    border-radius: 7px;
    background: #f7fafc;
    color: #52677a;
    font-size: 12px;
    line-height: 1.4;
}

.cx-legacy-fieldset-modal .cx-legacy-form-row {
    display: grid;
    grid-template-columns: minmax(145px, 190px) minmax(0, 1fr);
    align-items: center;
    gap: 8px 14px;
    margin: 0 0 12px;
}

.cx-legacy-fieldset-modal .cx-legacy-form-label {
    margin: 0;
    color: #42566c;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-align: right;
}

.cx-legacy-fieldset-modal .form-control,
.cx-legacy-fieldset-modal .cx-control-field {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 38px !important;
    font-size: 13px !important;
}

.cx-legacy-fieldset-modal .cx-legacy-fieldset-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-end;
}

.cx-legacy-fieldset-modal .cx-legacy-fieldset-actions .mud-button-root {
    min-height: 36px !important;
    padding: 7px 13px !important;
    font-size: 12.5px !important;
    font-weight: 650 !important;
}

.cx-legacy-timezone-modal .cx-legacy-timezone-help {
    margin-top: 7px;
    color: #687787;
    font-size: 11.5px;
    line-height: 1.4;
}

/* Alert answer and notification view are information-heavy: keep them readable, not oversized. */
.mud-dialog.cx-r1-alert-answer {
    width: min(920px, calc(100vw - 32px)) !important;
    max-width: min(920px, calc(100vw - 32px)) !important;
    max-height: min(88dvh, 820px) !important;
}

.mud-dialog.cx-r1-alert-answer .mud-dialog-content {
    padding: 14px 16px !important;
}

.mud-dialog.cx-r1-alert-answer .cx-r1-section {
    padding: 14px 16px 16px !important;
}

.mud-dialog.cx-r1-alert-answer .cx-r1-section-title {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.mud-dialog.cx-r1-alert-answer .cx-r1-section-icon {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    font-size: 12px !important;
}

.mud-dialog.cx-notification-view-dialog {
    width: min(840px, calc(100vw - 32px)) !important;
    max-width: min(840px, calc(100vw - 32px)) !important;
}

.mud-dialog.cx-notification-view-dialog .mud-dialog-content {
    padding: 14px 16px !important;
}

@media (max-width: 767.98px) {
    .cx-legacy-fieldset-modal .cx-legacy-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .cx-legacy-fieldset-modal .cx-legacy-form-label {
        text-align: left;
    }

    .mud-dialog.cx-r1-alert-answer,
    .mud-dialog.cx-notification-view-dialog {
        width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
    }
}


/* CONEXGO R18-46.1 - persistent section boundaries.
   Rest and hover deliberately use the same border/background. */
.mud-dialog.cx-dialog-root :is(
    .cx-r1-section,
    fieldset.cx-modal-group-v21,
    .cx-device-config-section,
    .alert-email-form,
    .alert-sms-form
) {
    border: 1.6px solid #6f8da5 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(35, 60, 85, .05) !important;
}

.mud-dialog.cx-dialog-root :is(
    .cx-r1-section,
    fieldset.cx-modal-group-v21,
    .cx-device-config-section,
    .alert-email-form,
    .alert-sms-form
):is(:hover, :focus-within) {
    border-color: #6f8da5 !important;
    background: #ffffff !important;
    box-shadow: 0 1px 4px rgba(35, 60, 85, .05) !important;
}
/* CONEXGO R18-46.1 END */

/* CONEXGO R18-97 START - TRAINING BOTTOM FORM ALIGNMENT */
/*
   Final alignment for the two compact rows at the bottom of Training_AddEdit.
   Goals:
   - same control start as every other field;
   - full-width Sort Order input for visual consistency;
   - one-line visibility label on desktop;
   - exact vertical centering of labels, number field and switch;
   - no special 23/77 grid override.
*/
html body.cx-design-system .cx-training-dialog
.cx-training-order-row,
html body.cx-design-system .cx-training-dialog
.cx-training-active-row {
    min-height: 52px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    align-items: center !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-order-row + .cx-training-active-row {
    margin-top: 4px !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-bottom-label {
    min-height: 52px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-bottom-label > label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    text-align: right !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-visibility-label > label {
    white-space: nowrap !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-bottom-control {
    min-height: 52px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-order-row .cx-training-order-input {
    width: 100% !important;
    max-width: none !important;
    min-height: 40px !important;
    margin: 0 !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-switch-control {
    justify-content: flex-start !important;
}

html body.cx-design-system .cx-training-dialog
.cx-training-switch-control .cx-switch--training,
html body.cx-design-system .cx-training-dialog
.cx-training-switch-control .cx-switch {
    margin: 0 !important;
    align-self: center !important;
}

/* On narrower dialogs, allow the long visibility label to wrap naturally. */
@media (max-width: 900px) {
    html body.cx-design-system .cx-training-dialog
    .cx-training-visibility-label > label {
        white-space: normal !important;
    }
}
/* CONEXGO R18-97 END - TRAINING BOTTOM FORM ALIGNMENT */

/* ==========================================================================
   SOURCE: wwwroot\css\conexgo-modal-title-icons-safe.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/* CONEXGO R2 — safe MudBlazor title icons.
   Explicit opt-in title classes only; no automatic DOM or business-layout inference. */

html body .mud-dialog .mud-dialog-title[class*="cx-modal-title-"],
html body .mud-dialog .dialog-background-title[class*="cx-modal-title-"] {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    min-width: 0 !important;
}

html body .mud-dialog .mud-dialog-title[class*="cx-modal-title-"]::before,
html body .mud-dialog .dialog-background-title[class*="cx-modal-title-"]::before {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    margin: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 30px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,.10) !important;
    color: inherit !important;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome !important;
    font-size: 14px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    text-rendering: auto !important;
    -webkit-font-smoothing: antialiased !important;
}

html body .mud-dialog .mud-dialog-title.cx-modal-title-account::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-account::before { content: "\f007" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-account-fall::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-account-fall::before { content: "\f21e" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-account-sos::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-account-sos::before { content: "\f132" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-alert-answer::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-alert-answer::before { content: "\f075" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-alert-view::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-alert-view::before { content: "\f06e" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-battery::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-battery::before { content: "\f243" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-blocked-account::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-blocked-account::before { content: "\f502" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-callcenter::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-callcenter::before { content: "\f590" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-checkin::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-checkin::before { content: "\f0ae" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-contacts::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-contacts::before { content: "\f2b9" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-country::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-country::before { content: "\f57d" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-delete-account::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-delete-account::before { content: "\f2ed" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-device::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-device::before { content: "\f3cd" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-device-callcenter::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-device-callcenter::before { content: "\f2a0" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-device-model::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-device-model::before { content: "\f2db" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-document-delete::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-document-delete::before { content: "\f2ed" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-document-edit::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-document-edit::before { content: "\f044" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-document-view::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-document-view::before { content: "\f06e" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-dot::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-dot::before { content: "\f7c0" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-fall::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-fall::before { content: "\f21e" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-geofence::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-geofence::before { content: "\f5ee" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-group::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-group::before { content: "\f0c0" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-language::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-language::before { content: "\f1ab" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-location::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-location::before { content: "\f3c5" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-manage-devices::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-manage-devices::before { content: "\f03a" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-message::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-message::before { content: "\f1d8" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-notification-edit::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-notification-edit::before { content: "\f0a1" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-notification-view::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-notification-view::before { content: "\f06e" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-offline::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-offline::before { content: "\f05e" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-password-reset::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-password-reset::before { content: "\f084" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-phone-events::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-phone-events::before { content: "\f095" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-push-notification::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-push-notification::before { content: "\f1d8" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-region::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-region::before { content: "\f57d" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-report-preview::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-report-preview::before { content: "\f201" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-report-subscribe::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-report-subscribe::before { content: "\f274" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-ringtone::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-ringtone::before { content: "\f028" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-sms::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-sms::before { content: "\f075" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-sos::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-sos::before { content: "\f132" !important; }

html body .mud-dialog .mud-dialog-title.cx-modal-title-speed::before,
html body .mud-dialog .dialog-background-title.cx-modal-title-speed::before { content: "\f625" !important; }

@media (max-width: 575.98px) {
    html body .mud-dialog .mud-dialog-title[class*="cx-modal-title-"]::before,
    html body .mud-dialog .dialog-background-title[class*="cx-modal-title-"]::before {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        flex-basis: 28px !important;
        font-size: 13px !important;
    }
}

/* ==========================================================================
   SOURCE: wwwroot\css\conexgo-responsive-shell.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/*
 * Conexgo responsive shell — consolidated.
 * Scope: top bar, sidebar, PagedList cards, dashboard and very small screens.
 * Page headers, dialogs, forms and device configuration are owned by explicit
 * component classes in conexgo-ui-foundation.css and local Razor styles.
 */

:root {
    --conexgo-mobile-header-bottom: 146px;
    --conexgo-mobile-gutter: 10px;
    --conexgo-action-size: 34px;
    --conexgo-control-radius: 8px;
}


/* ------------------------------------------------------------------
   Mobile shell and top bar
   ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    html body .app-header.app-header-modern {
        position: sticky !important;
        top: 0 !important;
        z-index: 1200 !important;
    }

    html body .app-content,
    html body .app-content .side-app {
        margin-top: 0 !important;
    }

    html body .app-header-modern .main-container {
        padding: 5px 8px !important;
    }

    html body .app-header-modern .app-header-main-row {
        row-gap: 2px !important;
    }

    html body .app-header-modern .app-header-left-zone {
        grid-template-columns: 38px minmax(0, 1fr) auto !important;
        gap: 6px !important;
    }

    html body .app-header-modern .app-sidebar__toggle {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        display: inline-grid !important;
        place-items: center !important;
        line-height: 0 !important;
    }

    html body .app-header-modern .app-sidebar__toggle::before,
    html body .app-header-modern .app-sidebar__toggle::after {
        display: none !important;
        content: none !important;
    }

    html body .app-header-modern .app-sidebar__toggle > i {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        line-height: 1 !important;
        transform: none !important;
    }

    html body .app-header-modern .app-header-brand-link {
        height: 38px !important;
        padding: 2px 4px !important;
    }

    html body .app-header-modern .header-brand-img {
        max-width: 108px !important;
        max-height: 29px !important;
    }

    html body .app-header-modern .topbar-version-pill {
        height: 38px !important;
        min-width: 88px !important;
        max-width: 104px !important;
        padding: 0 9px !important;
        gap: 6px !important;
        border-radius: 10px !important;
    }

    html body .app-header-modern .topbar-version-icon {
        width: 18px !important;
        min-width: 18px !important;
        font-size: 12px !important;
    }

    html body .app-header-modern .topbar-version-value {
        font-size: 9.5pt !important;
    }

    html body .app-header-modern .app-header-center-zone,
    html body .app-header-modern .app-header-right-zone {
        padding-top: 2px !important;
    }

    html body .app-header-modern .app-header-center-zone .nt-clock-card {
        min-height: 36px !important;
        height: 36px !important;
        border-radius: 10px !important;
    }

    html body .app-header-modern .app-header-right-zone,
    html body .app-header-modern .responsive-navbar {
        min-height: 38px !important;
    }

    html body .app-header-modern .responsive-navbar,
    html body .app-header-modern .app-header-action-zone,
    html body .app-header-modern .app-header-user-zone {
        gap: 6px !important;
        flex-wrap: nowrap !important;
    }

    html body .app-header-modern .nav-link.icon,
    html body .app-header-modern .notifications > .nav-link,
    html body .app-header-modern .message > .nav-link,
    html body .app-header-modern .profile-1 > .nav-link {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 999px !important;
        line-height: 1 !important;
    }

    html body .app-header-modern .nav-link.icon > i,
    html body .app-header-modern .notifications > .nav-link > i,
    html body .app-header-modern .message > .nav-link > i {
        margin: 0 !important;
        padding: 0 !important;
        font-size: 15px !important;
        line-height: 1 !important;
    }

    html body .app-header-modern .profile-1 .profile-user {
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
    }

    /* Header dropdowns behave like compact sheets below the top bar. */
    html body .app-header-modern .conexgo-header-dropdown-menu.show {
        position: fixed !important;
        top: calc(var(--conexgo-mobile-header-bottom) + 6px) !important;
        right: 10px !important;
        left: 10px !important;
        bottom: auto !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: calc(100dvh - var(--conexgo-mobile-header-bottom) - 18px) !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        transform: none !important;
        border-radius: 12px !important;
        box-shadow: 0 18px 44px rgba(20, 37, 57, .22) !important;
        z-index: 1000010 !important;
        overscroll-behavior: contain;
    }

    html body .app-header-modern .conexgo-header-notifications .conexgo-header-dropdown-menu.show,
    html body .app-header-modern .conexgo-header-alerts .conexgo-header-dropdown-menu.show {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body .app-header-modern .conexgo-header-profile .conexgo-header-dropdown-menu.show,
    html body .app-header-modern .conexgo-header-language .conexgo-header-dropdown-menu.show,
    html body .app-header-modern .conexgo-header-servers .conexgo-header-dropdown-menu.show {
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: 0 !important;
    }

    html body .app-header-modern .conexgo-header-dropdown-menu .dropdown-item {
        min-height: 42px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    html body .app-header-modern .conexgo-header-dropdown-menu
        :is(.notifications-menu, .message-menu, .message-menu-scroll) {
        max-height: calc(100dvh - var(--conexgo-mobile-header-bottom) - 150px) !important;
    }
}

/* ------------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------------ */
@media (max-width: 991.98px) {
    html body .app .app-sidebar-modern,
    html body .app.sidenav-toggled .app-sidebar-modern,
    html body .app.sidenav-toggled .app-sidebar-modern:hover {
        width: min(304px, calc(100vw - 48px)) !important;
        min-width: min(304px, calc(100vw - 48px)) !important;
        max-width: min(304px, calc(100vw - 48px)) !important;
    }

    html body .app-sidebar-modern .side-header {
        min-height: 60px !important;
        height: 60px !important;
        flex-basis: 60px !important;
        padding: 8px 9px 8px 12px !important;
    }

    html body .app-sidebar-modern .header-brand1 {
        min-height: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }

    html body .app-sidebar-modern .header-brand1 .header-brand-img {
        display: none !important;
    }

    html body .app-sidebar-modern .header-brand1 .light-logo1 {
        display: block !important;
        width: auto !important;
        height: auto !important;
        max-width: 142px !important;
        max-height: 36px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }

    html body .app-sidebar-modern .app-sidebar-mobile-close {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        padding: 0 !important;
        display: inline-grid !important;
        place-items: center !important;
        line-height: 0 !important;
    }

    html body .app-sidebar-modern .app-sidebar-mobile-close::before,
    html body .app-sidebar-modern .app-sidebar-mobile-close::after {
        display: none !important;
        content: none !important;
    }

    html body .app-sidebar-modern .app-sidebar-mobile-close > i {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 16px !important;
        line-height: 1 !important;
        transform: none !important;
    }

    html body .app-sidebar-modern .main-sidemenu {
        padding-top: 6px !important;
    }

    html body .app-sidebar-modern .side-menu__item {
        min-height: 48px !important;
        padding: 6px 8px !important;
        gap: 9px !important;
    }

    html body .app-sidebar-modern .side-menu__icon {
        width: 38px !important;
        min-width: 38px !important;
        height: 38px !important;
        flex-basis: 38px !important;
        font-size: 15px !important;
        border-radius: 9px !important;
    }

    html body .app-sidebar-modern .side-menu__label {
        font-size: 13px !important;
        line-height: 1.25 !important;
    }

    html body .app-sidebar-modern .sub-category h3 {
        padding: 8px 11px !important;
        font-size: 11px !important;
    }
}


/* ------------------------------------------------------------------
   PagedList and responsive table cards
   ------------------------------------------------------------------ */
@media (max-width: 767.98px) {
    html body .conexgo-pagedlist-toolbar {
        gap: 10px !important;
    }

    html body .conexgo-pagedlist-filters,
    html body .conexgo-pagedlist-pagination {
        width: 100% !important;
    }

    html body .conexgo-pagedlist-pagination .pagination {
        justify-content: center !important;
    }

    html body .conexgo-pagedlist-mobile-cards,
    html body table.conexgo-responsive-table-cards {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border: 0 !important;
        background: transparent !important;
    }

    html body .conexgo-pagedlist-mobile-cards thead,
    html body table.conexgo-responsive-table-cards thead {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody,
    html body .conexgo-pagedlist-mobile-cards tbody tr,
    html body table.conexgo-responsive-table-cards tbody,
    html body table.conexgo-responsive-table-cards tbody tr {
        width: 100% !important;
        min-width: 0 !important;
        display: block !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody tr,
    html body table.conexgo-responsive-table-cards tbody tr {
        margin: 0 0 10px !important;
        overflow: hidden !important;
        border: 1px solid #dde5ee !important;
        border-radius: 10px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(44, 76, 108, .06) !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td:not(.d-none),
    html body table.conexgo-responsive-table-cards tbody td {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 9px 11px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 5px !important;
        border: 0 !important;
        border-bottom: 1px solid #edf1f5 !important;
        background: transparent !important;
        color: #344054 !important;
        font-size: 12.5px !important;
        line-height: 1.35 !important;
        text-align: left !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        box-sizing: border-box !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td:last-child,
    html body table.conexgo-responsive-table-cards tbody td:last-child {
        border-bottom: 0 !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td:not(.d-none)::before,
    html body table.conexgo-responsive-table-cards tbody td::before {
        content: attr(data-label);
        width: 100% !important;
        display: block !important;
        color: #2c4c6c !important;
        font-size: 10.5px !important;
        font-weight: 800 !important;
        line-height: 1.2 !important;
        text-transform: uppercase !important;
        letter-spacing: .02em !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td:empty,
    html body table.conexgo-responsive-table-cards tbody td:empty {
        display: none !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td > *,
    html body table.conexgo-responsive-table-cards tbody td > * {
        min-width: 0 !important;
        max-width: 100% !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td
        :is(.form-control, .form-select, select, input, textarea, .input-group, .dropdown, .btn-group),
    html body table.conexgo-responsive-table-cards tbody td
        :is(.form-control, .form-select, select, input, textarea, .input-group, .dropdown, .btn-group) {
        width: 100% !important;
        max-width: 100% !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td .btn-list,
    html body .conexgo-pagedlist-mobile-cards tbody td.bstable-actions .btn-list,
    html body table.conexgo-responsive-table-cards tbody td .btn-list {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    html body .conexgo-pagedlist-mobile-cards tbody td .btn-list .btn,
    html body table.conexgo-responsive-table-cards tbody td .btn-list .btn {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 8px !important;
        line-height: 1 !important;
    }

    html body .cx-list-table-shell,
    html body .conexgo-responsive-table-shell {
        overflow: visible !important;
    }
}

/* Detail tables used inside dialogs. */
@media (max-width: 575.98px) {
    html body :is(.alert-answer-table, .alert-view-table) {
        width: 100% !important;
        table-layout: fixed !important;
    }

    html body :is(.alert-answer-table, .alert-view-table) tr {
        display: grid !important;
        grid-template-columns: minmax(92px, 34%) minmax(0, 1fr) !important;
        gap: 8px !important;
        padding: 8px 0 !important;
        border-bottom: 1px solid #edf1f5 !important;
    }

    html body :is(.alert-answer-table, .alert-view-table) th,
    html body :is(.alert-answer-table, .alert-view-table) td {
        width: auto !important;
        min-width: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }
}


/* ------------------------------------------------------------------
   Dashboard
   ------------------------------------------------------------------ */
@media (max-width: 1199.98px) {
    html body .conexgo-dashboard-mobile-shortcuts {
        display: none !important;
    }

    html body .conexgo-dashboard-smart-grid {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px !important;
        overflow: visible !important;
    }

    html body .conexgo-dashboard-smart-grid > .conexgo-dashboard-smart-item {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 !important;
        visibility: visible !important;
        transform: none !important;
    }

    html body .conexgo-dashboard-smart-item > .conexgo-dashboard-resizable-card,
    html body .conexgo-dashboard-configuration-card {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        resize: none !important;
        overflow: hidden !important;
    }

    html body .conexgo-dashboard-resizable-card > .card-body,
    html body .conexgo-dashboard-configuration-card > .card-body,
    html body .conexgo-dashboard-card-body-auto,
    html body .conexgo-dashboard-resizable-list {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        flex: 0 1 auto !important;
    }

    html body .conexgo-dashboard-resize-meta {
        display: none !important;
    }

    html body .conexgo-dashboard-ranked-item {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 12px !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        align-items: start !important;
        justify-content: start !important;
        gap: 9px !important;
    }

    html body .conexgo-dashboard-ranked-meter {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
    }
}

@media (max-width: 575.98px) {
    html body .conexgo-dashboard-resizable-card > .card-header,
    html body .conexgo-dashboard-configuration-card > .card-header {
        padding: 9px 11px !important;
    }

    html body .conexgo-dashboard-card-header h4 {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    html body .conexgo-dashboard-card-action {
        width: 30px !important;
        min-width: 30px !important;
        height: 30px !important;
        padding: 0 !important;
    }

    html body .conexgo-dashboard-resizable-card > .card-body,
    html body .conexgo-dashboard-configuration-card > .card-body {
        padding: 11px !important;
    }

    html body .conexgo-dashboard-filter-grid,
    html body .conexgo-dashboard-config-add-row,
    html body .conexgo-dashboard-config-actions,
    html body .conexgo-dashboard-visibility-panel {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* ------------------------------------------------------------------
   Small-screen finishing
   ------------------------------------------------------------------ */
@media (max-width: 359.98px) {
    :root {
        --conexgo-action-size: 33px;
        --conexgo-mobile-gutter: 7px;
    }

    html body .app-header-modern .header-brand-img {
        max-width: 84px !important;
    }

    html body .app-header-modern .topbar-version-pill {
        min-width: 82px !important;
        max-width: 92px !important;
        padding: 0 7px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html body *,
    html body *::before,
    html body *::after {
        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   SOURCE: wwwroot\css\conexgo-ui-foundation.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/*
 * Conexgo UI foundation — consolidated responsive rules.
 * Explicit semantic classes only. No :has(), nth-child business inference,
 * MutationObserver, or DOM reclassification.
 */

:root {
    --cx-navy: #2c4c6c;
    --cx-navy-strong: #244563;
    --cx-blue: #3e6a99;
    --cx-blue-hover: #31597f;
    --cx-green: #6b8f71;
    --cx-green-hover: #56765d;
    --cx-danger: #a44952;
    --cx-border: #d6e0ea;
    --cx-surface: #ffffff;
    --cx-soft: #f4f7fa;
    --cx-text: #253858;
    --cx-muted: #647487;
}

/* ---------- Page heading and action groups ---------- */
.cx-list-page-header,
.cx-page-header.cx-list-page-header,
.conexgo-list-page-header,
.cx-secondary-page-header,
.cx-log-list-page-header,
.device-page-header,
.conexgo-group-page-header {
    width: 100%;
    min-width: 0;
}

.cx-list-page-header-row,
.conexgo-list-page-header-row,
.device-page-header-layout {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cx-page-title-zone,
.device-page-title-zone {
    min-width: 0;
    flex: 1 1 auto;
}

.cx-page-actions,
.cx-secondary-page-actions,
.conexgo-list-page-actions,
.cx-log-list-page-actions,
.device-page-actions,
.conexgo-group-page-actions {
    min-width: 0;
    margin-left: auto;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    flex-wrap: wrap;
}

.cx-page-action {
    min-width: 40px;
    min-height: 40px;
    height: 40px;
    padding: 0 15px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #fff !important;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(31, 62, 91, .08);
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.cx-page-action > i,
.cx-page-action > span[class*="fa"],
.cx-page-action > span[class*="fe"] {
    width: 18px;
    height: 18px;
    margin: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 18px;
    font-size: 15px;
    line-height: 1;
}

.cx-page-action:hover,
.cx-page-action:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(31, 62, 91, .15);
}

.cx-page-action:active {
    transform: translateY(0);
}

.cx-page-action--primary,
.cx-page-action--csv {
    border-color: var(--cx-blue) !important;
    background: var(--cx-blue) !important;
}

.cx-page-action--primary:hover,
.cx-page-action--primary:focus-visible,
.cx-page-action--csv:hover,
.cx-page-action--csv:focus-visible {
    border-color: var(--cx-blue-hover) !important;
    background: var(--cx-blue-hover) !important;
}

.cx-page-action--excel {
    border-color: var(--cx-green) !important;
    background: var(--cx-green) !important;
}

.cx-page-action--excel:hover,
.cx-page-action--excel:focus-visible {
    border-color: var(--cx-green-hover) !important;
    background: var(--cx-green-hover) !important;
}

/* ---------- Shared list toolbar ---------- */
.cx-list-toolbar,
.account-list-toolbar,
.alert-list-toolbar,
.notification-list-toolbar,
.report-list-toolbar,
.cx-log-list-toolbar,
.country-list-toolbar,
.device-model-list-toolbar,
.group-list-toolbar,
.state-prov-list-toolbar,
.string-resource-list-toolbar,
.device-card-header {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px 14px !important;
    border: 0 !important;
    border-radius: 9px 9px 0 0 !important;
    background: var(--cx-navy) !important;
    color: #fff;
}

.cx-list-toolbar-row,
.account-list-toolbar-row,
.alert-list-toolbar-row,
.notification-list-toolbar-row,
.report-list-toolbar-row,
.country-list-toolbar-row,
.device-model-list-toolbar-row,
.group-list-toolbar-row,
.state-prov-list-toolbar-row,
.string-resource-list-toolbar-row,
.device-card-header-row {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px) !important;
    align-items: center;
    gap: 10px;
}

.cx-list-back-slot,
.cx-list-toolbar-back,
.account-list-toolbar-back,
.alert-list-toolbar-back,
.report-list-back-slot,
.country-list-toolbar-back,
.device-model-list-toolbar-back,
.group-list-toolbar-back,
.state-prov-list-toolbar-back,
.string-resource-list-toolbar-back,
.device-card-back {
    display: none !important;
}

.cx-list-search,
.cx-list-toolbar-search,
.account-list-toolbar-search,
.alert-list-search,
.notification-list-search,
.report-list-search,
.country-list-toolbar-search,
.device-model-list-toolbar-search,
.group-list-toolbar-search,
.state-prov-list-toolbar-search,
.string-resource-list-toolbar-search,
.device-card-search {
    width: min(100%, 480px) !important;
    min-width: 0;
    margin-left: auto !important;
    grid-column: 2 !important;
    justify-self: end;
}

.cx-list-search .dataTables_filter,
.cx-list-search .dataTables_filter > label,
.cx-list-toolbar-search .dataTables_filter,
.cx-list-toolbar-search .dataTables_filter > label,
.account-list-toolbar-search .dataTables_filter,
.account-list-toolbar-search .dataTables_filter > label,
.alert-list-search .dataTables_filter,
.alert-list-search .dataTables_filter > label,
.notification-list-search .dataTables_filter,
.notification-list-search .dataTables_filter > label,
.report-list-search .dataTables_filter,
.report-list-search .dataTables_filter > label,
.country-list-toolbar-search .dataTables_filter,
.country-list-toolbar-search .dataTables_filter > label,
.device-model-list-toolbar-search .dataTables_filter,
.device-model-list-toolbar-search .dataTables_filter > label,
.group-list-toolbar-search .dataTables_filter,
.group-list-toolbar-search .dataTables_filter > label,
.state-prov-list-toolbar-search .dataTables_filter,
.state-prov-list-toolbar-search .dataTables_filter > label,
.string-resource-list-toolbar-search .dataTables_filter,
.string-resource-list-toolbar-search .dataTables_filter > label,
.device-card-search .dataTables_filter,
.device-card-search .dataTables_filter > label {
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
    text-align: right !important;
}

.notification-list-toolbar-row {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 480px) !important;
}

.notification-list-toolbar-left {
    min-width: 0;
    display: flex !important;
    align-items: center;
    gap: 10px;
}

.notification-list-back-slot {
    display: none !important;
}

.notification-list-ack {
    min-height: 40px;
    height: 40px;
    padding: 0 14px;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    border: 1px solid #8b9bac !important;
    border-radius: 8px;
    background: #8b9bac !important;
    color: #fff !important;
    font-weight: 750;
    line-height: 1;
    transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.notification-list-ack > i {
    margin: 0 !important;
    line-height: 1;
}

.notification-list-ack:hover,
.notification-list-ack:focus-visible {
    transform: translateY(-1px);
    border-color: #748698 !important;
    background: #748698 !important;
    box-shadow: 0 5px 12px rgba(31, 62, 91, .15);
}

/* ---------- Mobile back control ---------- */
.cx-responsive-back-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: none !important;
    place-items: center !important;
    border: 1px solid rgba(255, 255, 255, .38) !important;
    border-radius: 999px !important;
    background: var(--cx-blue-hover) !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(18, 47, 76, .25) !important;
    line-height: 1 !important;
    transition: transform .16s ease, background-color .16s ease, box-shadow .16s ease !important;
}

.cx-responsive-back-button > i {
    width: 100%;
    height: 100%;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
}

.cx-responsive-back-button:hover,
.cx-responsive-back-button:focus-visible {
    background: var(--cx-navy-strong) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(18, 47, 76, .32) !important;
}

/* ---------- Modal semantic sections ---------- */
.cx-dialog-root .cx-modal-layout-v21 {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 24px !important;
}

.cx-dialog-root .cx-r1-section,
.cx-dialog-root .report-subscribe-section {
    min-width: 0;
    margin: 0 !important;
    padding: 18px 20px 20px !important;
    border: 1px solid var(--cx-border) !important;
    border-radius: 13px !important;
    background: var(--cx-surface) !important;
    box-shadow: 0 4px 14px rgba(35, 60, 85, .045) !important;
}

.cx-dialog-root .cx-r1-section + .cx-r1-section,
.cx-dialog-root .report-subscribe-section + .report-subscribe-section {
    margin-top: 0 !important;
}

.cx-dialog-root .cx-r1-section-title,
.cx-dialog-root .report-subscribe-section-title {
    max-width: 100%;
    margin: 0 0 6px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    color: var(--cx-navy) !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
}

.cx-dialog-root .cx-r1-section-icon,
.cx-dialog-root .report-subscribe-section-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 42px !important;
    border: 1px solid #d9e5ef !important;
    border-radius: 11px !important;
    background: #eaf2f8 !important;
    color: #315f8a !important;
    font-size: 17px !important;
    line-height: 1 !important;
}

.cx-dialog-root .cx-r1-section-icon > i,
.cx-dialog-root .report-subscribe-section-icon > i {
    margin: 0 !important;
    font-size: inherit !important;
    line-height: 1 !important;
}

.cx-dialog-root .cx-r1-section-description,
.cx-dialog-root .report-subscribe-section-description {
    margin: 0 0 18px !important;
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    color: var(--cx-muted) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

.cx-dialog-root .cx-r1-section-description > i {
    margin-top: 4px !important;
    color: #527493 !important;
    font-size: 13px !important;
}

.cx-dialog-root .cx-r1-form-row {
    margin-bottom: 16px !important;
}

.cx-dialog-root .cx-r1-form-row:last-child {
    margin-bottom: 0 !important;
}

.cx-dialog-root textarea.form-control,
.cx-dialog-root textarea.cx-dialog-textarea,
.cx-dialog-root .cx-dialog-textarea {
    width: 100%;
    min-height: 84px !important;
    max-height: none !important;
    resize: both !important;
    overflow: auto !important;
    box-sizing: border-box !important;
}

/* Do not set height with !important: the browser resize handle must own inline height. */
.cx-dialog-root textarea:not([style*="height"]),
.cx-dialog-root .cx-dialog-textarea:not([style*="height"]) {
    height: 132px;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .cx-list-page-header-row,
    .conexgo-list-page-header-row,
    .device-page-header-layout {
        align-items: flex-start;
    }
}

@media (max-width: 767.98px) {
    .cx-list-page-header-row,
    .conexgo-list-page-header-row,
    .device-page-header-layout {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .cx-page-actions,
    .cx-secondary-page-actions,
    .conexgo-list-page-actions,
    .cx-log-list-page-actions,
    .device-page-actions,
    .conexgo-group-page-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-end !important;
        gap: 8px !important;
    }

    .cx-page-action {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        overflow: hidden;
    }

    .cx-page-action > span:not([class*="fa"]):not([class*="fe"]) {
        display: none !important;
    }

    .cx-page-action > i,
    .cx-page-action > span[class*="fa"],
    .cx-page-action > span[class*="fe"] {
        width: 100% !important;
        height: 100% !important;
        flex: 0 0 100% !important;
        display: grid !important;
        place-items: center !important;
    }

    .cx-list-toolbar,
    .account-list-toolbar,
    .alert-list-toolbar,
    .notification-list-toolbar,
    .report-list-toolbar,
    .cx-log-list-toolbar,
    .country-list-toolbar,
    .device-model-list-toolbar,
    .group-list-toolbar,
    .state-prov-list-toolbar,
    .string-resource-list-toolbar,
    .device-card-header {
        padding: 10px !important;
    }

    .cx-list-toolbar-row,
    .account-list-toolbar-row,
    .alert-list-toolbar-row,
    .notification-list-toolbar-row,
    .report-list-toolbar-row,
    .country-list-toolbar-row,
    .device-model-list-toolbar-row,
    .group-list-toolbar-row,
    .state-prov-list-toolbar-row,
    .string-resource-list-toolbar-row,
    .device-card-header-row {
        grid-template-columns: 40px minmax(0, 1fr) !important;
        gap: 8px !important;
    }

    .cx-list-back-slot,
    .cx-list-toolbar-back,
    .account-list-toolbar-back,
    .alert-list-toolbar-back,
    .report-list-back-slot,
    .country-list-toolbar-back,
    .device-model-list-toolbar-back,
    .group-list-toolbar-back,
    .state-prov-list-toolbar-back,
    .string-resource-list-toolbar-back,
    .device-card-back {
        display: flex !important;
        align-items: center;
        justify-content: center;
        grid-column: 1;
    }

    .cx-list-search,
    .cx-list-toolbar-search,
    .account-list-toolbar-search,
    .alert-list-search,
    .notification-list-search,
    .report-list-search,
    .country-list-toolbar-search,
    .device-model-list-toolbar-search,
    .group-list-toolbar-search,
    .state-prov-list-toolbar-search,
    .string-resource-list-toolbar-search,
    .device-card-search {
        width: 100% !important;
        margin: 0 !important;
        grid-column: 2 !important;
        justify-self: stretch !important;
    }

    .notification-list-toolbar-row {
        grid-template-columns: 88px minmax(0, 1fr) !important;
    }

    .notification-list-toolbar-left {
        width: 88px;
        min-width: 88px;
        display: grid !important;
        grid-template-columns: 40px 40px;
        align-items: center;
        gap: 8px;
    }

    .notification-list-back-slot {
        width: 40px;
        min-width: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    .notification-list-toolbar-left .cx-responsive-back-button {
        display: grid !important;
    }

    .notification-list-ack {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        overflow: hidden;
    }

    .notification-list-ack > span {
        display: none !important;
    }

    .notification-list-ack > i {
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }

    .cx-responsive-back-button {
        display: inline-grid !important;
    }

    .cx-dialog-root .cx-modal-layout-v21 {
        gap: 16px !important;
    }

    .cx-dialog-root .cx-r1-section,
    .cx-dialog-root .report-subscribe-section {
        padding: 15px !important;
    }

    .cx-dialog-root .cx-r1-section-title,
    .cx-dialog-root .report-subscribe-section-title {
        gap: 10px !important;
        font-size: 17px !important;
    }

    .cx-dialog-root .cx-r1-section-icon,
    .cx-dialog-root .report-subscribe-section-icon {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        flex-basis: 38px !important;
        font-size: 15px !important;
    }

    .cx-dialog-root .cx-r1-section-description,
    .cx-dialog-root .report-subscribe-section-description {
        margin-bottom: 14px !important;
        font-size: 14px !important;
    }
}

/* ---------- Explicit secondary page headers ---------- */
.cx-page-header-with-mobile-back,
.cx-settings-page-header {
    min-width: 0;
}

.cx-page-header-mobile-back {
    display: none !important;
}

.cx-page-header-copy {
    min-width: 0;
}

/* ---------- Final mobile alignment safeguards ---------- */
@media (max-width: 767.98px) {
    .cx-list-page-header .cx-list-page-header-row,
    .cx-list-page-header .conexgo-list-page-header-row,
    .cx-list-page-header .device-page-header-layout {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
    }

    .cx-list-page-header .cx-page-actions,
    .cx-list-page-header .cx-secondary-page-actions,
    .cx-list-page-header .conexgo-list-page-actions,
    .cx-list-page-header .cx-log-list-page-actions,
    .cx-list-page-header .device-page-actions,
    .cx-list-page-header .conexgo-group-page-actions {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .cx-list-page-header .cx-page-actions > .d-inline-flex,
    .cx-list-page-header .conexgo-list-page-actions > .d-inline-flex,
    .cx-list-page-header .device-page-downloads {
        width: auto !important;
        margin: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
    }

    .cx-list-page-header .cx-page-action,
    .cx-list-page-header .device-page-action,
    .cx-list-page-header .device-page-downloads .btn,
    .cx-list-page-header .conexgo-alert-download-button {
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 !important;
        display: inline-grid !important;
        place-items: center !important;
        flex: 0 0 40px !important;
        border-radius: 8px !important;
        line-height: 1 !important;
    }

    .cx-list-page-header .cx-page-action > i,
    .cx-list-page-header .device-page-action > i,
    .cx-list-page-header .device-page-downloads .btn > i,
    .cx-list-page-header .conexgo-alert-download-button > i {
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        display: grid !important;
        place-items: center !important;
        line-height: 1 !important;
    }

    .cx-list-page-header .cx-page-action > span:not([class*="fa"]):not([class*="fe"]),
    .cx-list-page-header .device-page-action > span:not([class*="fa"]):not([class*="fe"]),
    .cx-list-page-header .device-page-downloads .btn > span:not([class*="fa"]):not([class*="fe"]),
    .cx-list-page-header .conexgo-alert-download-button > span:not([class*="fa"]):not([class*="fe"]) {
        display: none !important;
    }

    .cx-page-header-with-mobile-back,
    .cx-settings-page-header {
        width: 100%;
        display: grid !important;
        grid-template-columns: 40px minmax(0, 1fr);
        align-items: start;
        gap: 10px;
    }

    .cx-page-header-with-mobile-back > .cx-page-header-mobile-back,
    .cx-settings-page-header > .cx-page-header-mobile-back {
        display: inline-grid !important;
        margin-top: 1px !important;
    }
}

/* R5.4 - shared soft hover for data rows. */
@media (hover: hover) {
    table.dataTable tbody tr,
    .table-hover tbody tr,
    .mud-table-body .mud-table-row {
        transition: background-color .16s ease, box-shadow .16s ease;
    }

    table.dataTable tbody tr:hover > td,
    table.dataTable tbody tr:hover > th,
    .table-hover tbody tr:hover > td,
    .table-hover tbody tr:hover > th,
    .mud-table-body .mud-table-row:hover .mud-table-cell {
        background-color: #f6f8fb !important;
    }

    table.dataTable tbody tr:hover,
    .table-hover tbody tr:hover,
    .mud-table-body .mud-table-row:hover {
        box-shadow: none !important;
    }
}

/* R5.9 - use the same hover family as the sidebar links. */
@media (hover: hover) {
    .account-list-card-body table tbody tr:hover > td,
    .account-list-card-body table tbody tr:hover > th,
    .cx-list-table-shell table tbody tr:hover > td,
    .cx-list-table-shell table tbody tr:hover > th {
        background: #f6f8fb !important;
        border-color: #e3e8ef !important;
    }
}

.alert-filter-inline {
    justify-content: flex-start !important;
}



/* R6.7 - consistent readable table typography and soft Conexgo row hover. */
.cx-list-table-shell table tbody td,
.card-body table tbody td,
table.dataTable tbody td,
.table tbody td {
    font-size: 14px;
    line-height: 1.5;
}

@media (hover: hover) {
    .cx-list-table-shell table tbody tr,
    .card-body table tbody tr,
    table.dataTable tbody tr,
    .table tbody tr,
    .mud-table-body .mud-table-row {
        transition: background-color .16s ease, box-shadow .16s ease;
    }

    .cx-list-table-shell table tbody tr:hover > *,
    .card-body table tbody tr:hover > *,
    table.dataTable tbody tr:hover > *,
    .table tbody tr:hover > *,
    .mud-table-body .mud-table-row:hover .mud-table-cell {
        background-color: #f3f7fa !important;
    }

    .cx-list-table-shell table tbody tr:hover,
    .card-body table tbody tr:hover,
    table.dataTable tbody tr:hover,
    .table tbody tr:hover,
    .mud-table-body .mud-table-row:hover {
        box-shadow: none !important;
    }
}


/* R6.9 - readable data-log hover details. */
.cx-design-system a.tip {
    position: relative;
    color: inherit !important;
    text-decoration: none !important;
}

.cx-design-system a.tip > span {
    position: absolute !important;
    z-index: 2500 !important;
    top: calc(100% + 8px) !important;
    left: 0 !important;
    width: min(420px, 78vw) !important;
    max-height: 280px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    overflow: auto !important;
    color: #26384b !important;
    -webkit-text-fill-color: #26384b !important;
    background: #ffffff !important;
    border: 1px solid #d4dee8 !important;
    border-radius: 10px !important;
    box-shadow: 0 12px 30px rgba(35, 60, 85, .16) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-4px) !important;
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease !important;
    pointer-events: none !important;
}

.cx-design-system a.tip:hover > span,
.cx-design-system a.tip:focus-visible > span {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

@media (max-width: 767.98px) {
    .cx-design-system a.tip > span {
        position: fixed !important;
        top: auto !important;
        right: 16px !important;
        bottom: 16px !important;
        left: 16px !important;
        width: auto !important;
        max-height: 42vh !important;
    }
}


/* R7 — table readability and telemetry popovers. */
.cx-design-system .cx-list-table-shell table tbody td,
.cx-design-system .card-body table tbody td,
.cx-design-system table.dataTable tbody td,
.cx-design-system .table tbody td,
.cx-design-system .mud-table-body .mud-table-cell {
    color: var(--cx-text);
    font-size: 14px;
    line-height: 1.5;
}

@media (hover: hover) {
    .cx-design-system .cx-list-table-shell table tbody tr:hover > *,
    .cx-design-system .card-body table tbody tr:hover > *,
    .cx-design-system table.dataTable tbody tr:hover > *,
    .cx-design-system .table tbody tr:hover > *,
    .cx-design-system .mud-table-body .mud-table-row:hover .mud-table-cell {
        color: var(--cx-text) !important;
        background-color: #f3f7fa !important;
        -webkit-text-fill-color: currentColor;
    }
}

.cx-design-system .cx-data-log-trigger {
    display: inline;
    color: inherit;
    text-decoration: none;
    cursor: help;
    outline: none;
}

.cx-design-system .cx-data-log-trigger:focus-visible {
    border-radius: 4px;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .16);
}

.cx-design-system .cx-data-log-trigger > .cx-data-log-details {
    display: none !important;
}

.cx-rich-popover-surface {
    position: fixed;
    z-index: 10050;
    display: block;
    width: min(520px, calc(100vw - 24px));
    max-height: min(520px, calc(100vh - 24px));
    padding: 14px 16px;
    overflow: auto;
    color: #2b4564;
    -webkit-text-fill-color: #2b4564;
    background: #ffffff;
    border: 1px solid #cad7e3;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(35, 60, 85, .18);
    font-size: 13px;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-3px) scale(.995);
    transform-origin: top left;
    pointer-events: none;
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.cx-rich-popover-surface.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.cx-rich-popover-surface,
.cx-rich-popover-surface * {
    color: #2b4564 !important;
    -webkit-text-fill-color: #2b4564 !important;
}

.cx-rich-popover-surface b,
.cx-rich-popover-surface strong {
    color: #294d70 !important;
    font-weight: 750;
}

@media (max-width: 767.98px) {
    .cx-rich-popover-surface {
        right: 12px !important;
        bottom: 12px !important;
        left: 12px !important;
        top: auto !important;
        width: auto;
        max-height: 46vh;
    }
}

/* ==========================================================================
   SOURCE: wwwroot\css\conexgo-control-system.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/*
 * Conexgo Explicit Control System R6.10 - simple controls
 * Shared visual foundation for explicit Blazor controls.
 * No DOM cloning, no native select/date/time overlay, no browser picker dependency.
 */

.cx-design-system {
    --cx-control-primary-900: #24425f;
    --cx-control-primary-800: #2c4c6c;
    --cx-control-primary-700: #35628c;
    --cx-control-primary-600: #3e6a99;
    --cx-control-primary-100: #eaf1f7;
    --cx-control-primary-050: #f5f8fb;
    --cx-control-border: #d5dfe9;
    --cx-control-border-hover: #bdcad7;
    --cx-control-text: #263b52;
    --cx-control-muted: #66778a;
    --cx-control-surface: #ffffff;
    --cx-control-disabled: #f3f6f8;
    --cx-control-success: #6b9671;
    --cx-control-danger: #b24d59;
    --cx-control-warning: #ad7b35;
    --cx-control-radius: 10px;
    --cx-control-radius-popover: 14px;
    --cx-control-height: 46px;
    --cx-control-height-compact: 40px;
    --cx-control-focus: 0 0 0 2px rgba(62, 106, 153, .085);
    --cx-control-shadow: 0 14px 34px rgba(36, 66, 95, .13);
    --cx-control-ease: cubic-bezier(.2, .72, .26, 1);
}

/* --------------------------------------------------------------------------
   Shared fields
   -------------------------------------------------------------------------- */
.cx-design-system .cx-control-field {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.cx-design-system .cx-control-label {
    margin: 0;
    color: var(--cx-control-text);
    font-size: .82rem;
    font-weight: 760;
    line-height: 1.35;
}

.cx-design-system .cx-control-help {
    margin-top: 1px;
    color: var(--cx-control-muted);
    font-size: .76rem;
    line-height: 1.42;
}

.cx-design-system .cx-control,
.cx-design-system .cx-control .mud-input-control,
.cx-design-system .cx-control .mud-input-control-input-container,
.cx-design-system .cx-control .mud-input {
    width: 100%;
    min-width: 0;
}

.cx-design-system .cx-control .mud-input-root,
.cx-design-system .cx-control .mud-input-slot {
    min-height: var(--cx-control-height);
    color: var(--cx-control-text);
    font-size: .94rem;
    font-weight: 560;
    line-height: 1.35;
}

.cx-design-system .cx-control--compact .mud-input-root,
.cx-design-system .cx-control--compact .mud-input-slot {
    min-height: var(--cx-control-height-compact);
    font-size: .88rem;
}

.cx-design-system .cx-control .mud-input-outlined-border {
    border-color: var(--cx-control-border) !important;
    border-radius: var(--cx-control-radius) !important;
    transition: border-color .16s var(--cx-control-ease),
                box-shadow .16s var(--cx-control-ease),
                background-color .16s var(--cx-control-ease);
}

.cx-design-system .cx-control .mud-input:hover:not(.mud-disabled) .mud-input-outlined-border {
    border-color: var(--cx-control-border-hover) !important;
}

.cx-design-system .cx-control .mud-input:focus-within .mud-input-outlined-border,
.cx-design-system .cx-control .mud-input.mud-input-focused .mud-input-outlined-border {
    border-color: var(--cx-control-primary-600) !important;
    box-shadow: var(--cx-control-focus) !important;
}

.cx-design-system .cx-control .mud-input-adornment {
    color: var(--cx-control-primary-700);
}

.cx-design-system .cx-control .mud-icon-button {
    width: 34px;
    height: 34px;
    margin-inline: 3px;
    border-radius: 9px;
    color: var(--cx-control-primary-700);
    transition: background-color .14s var(--cx-control-ease), color .14s var(--cx-control-ease), transform .14s var(--cx-control-ease);
}

.cx-design-system .cx-control .mud-icon-button:hover:not(.mud-disabled) {
    background: var(--cx-control-primary-050);
    color: var(--cx-control-primary-900);
    transform: translateY(-.5px);
}

.cx-design-system .cx-control .mud-input.mud-disabled,
.cx-design-system .cx-control .mud-input.mud-readonly {
    background: var(--cx-control-disabled);
    border-radius: var(--cx-control-radius);
    opacity: 1;
}

.cx-design-system .cx-control .mud-input.mud-disabled .mud-input-slot,
.cx-design-system .cx-control .mud-input.mud-readonly .mud-input-slot {
    color: #718093;
    -webkit-text-fill-color: #718093;
}

/* Existing non-Mud fields still use the same interaction language. */
.cx-design-system :is(input.form-control, textarea.form-control, select.form-control, select.form-select):not([type="checkbox"]):not([type="radio"]) {
    border-color: var(--cx-control-border);
    border-radius: var(--cx-control-radius);
    box-shadow: none;
    transition: border-color .16s var(--cx-control-ease), box-shadow .16s var(--cx-control-ease), background-color .16s var(--cx-control-ease);
}

.cx-design-system :is(input.form-control, textarea.form-control, select.form-control, select.form-select):not([type="checkbox"]):not([type="radio"]):hover:not(:disabled) {
    border-color: var(--cx-control-border-hover);
}

.cx-design-system :is(input.form-control, textarea.form-control, select.form-control, select.form-select):not([type="checkbox"]):not([type="radio"]):focus {
    border-color: var(--cx-control-primary-600);
    box-shadow: var(--cx-control-focus);
    outline: 0;
}

.cx-design-system textarea.form-control {
    min-height: 84px;
    max-height: none;
    resize: vertical;
}

/* --------------------------------------------------------------------------
   Select popovers
   -------------------------------------------------------------------------- */
.cx-design-system .cx-control-select .mud-select-input {
    padding-inline: 14px 42px !important;
}

.cx-design-system .cx-control-select-popover,
.cx-design-system .mud-popover.cx-control-select-popover {
    margin-top: 5px;
    padding: 6px;
    overflow: hidden;
    border: 1px solid #dce4ec;
    border-radius: var(--cx-control-radius-popover) !important;
    background: var(--cx-control-surface);
    box-shadow: var(--cx-control-shadow) !important;
    animation: cx-control-popover-in .16s var(--cx-control-ease) both;
}

.cx-design-system .cx-control-select-popover .mud-list {
    padding: 0;
}

.cx-design-system .cx-control-select-popover .mud-list-item {
    min-height: 42px;
    margin: 2px 0;
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--cx-control-text);
    font-size: .9rem;
    line-height: 1.35;
    transition: background-color .12s var(--cx-control-ease), color .12s var(--cx-control-ease), transform .12s var(--cx-control-ease);
}

.cx-design-system .cx-control-select-popover .mud-list-item:hover,
.cx-design-system .cx-control-select-popover .mud-list-item:focus-visible {
    background: #f5f8fb;
    color: var(--cx-control-primary-900);
    transform: translateX(1px);
}

.cx-design-system .cx-control-select-popover .mud-list-item-selected,
.cx-design-system .cx-control-select-popover .mud-selected-item {
    background: #eaf1f7 !important;
    color: var(--cx-control-primary-800) !important;
    font-weight: 720;
}

.cx-design-system .cx-control-select-popover .mud-list-item-selected::after,
.cx-design-system .cx-control-select-popover .mud-selected-item::after {
    content: "\2713";
    margin-left: auto;
    color: var(--cx-control-primary-700);
    font-weight: 900;
}

/* --------------------------------------------------------------------------
   Date and time pickers
   -------------------------------------------------------------------------- */
.cx-design-system .cx-control-time .mud-input-slot,
.cx-design-system .cx-control-day .mud-input-slot {
    padding-inline: 14px 4px !important;
}

.cx-design-system .cx-control-datetime-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(150px, .8fr);
    gap: 10px;
}

.cx-design-system .mud-picker-popover {
    overflow: hidden;
    border: 1px solid #dce4ec;
    border-radius: 16px !important;
    background: #fff;
    box-shadow: var(--cx-control-shadow) !important;
    animation: cx-control-popover-in .16s var(--cx-control-ease) both;
}

.cx-design-system .mud-picker {
    color: var(--cx-control-text);
    background: #fff;
}

.cx-design-system .mud-picker-toolbar {
    background: var(--cx-control-primary-800) !important;
    color: #fff !important;
}

.cx-design-system .mud-picker-calendar-header-transition,
.cx-design-system .mud-picker-calendar-header {
    color: var(--cx-control-primary-900);
    font-weight: 780;
}

.cx-design-system .mud-picker-calendar-header .mud-icon-button,
.cx-design-system .mud-picker .mud-icon-button {
    border-radius: 9px;
    color: var(--cx-control-primary-700);
    transition: background-color .12s var(--cx-control-ease), color .12s var(--cx-control-ease), transform .12s var(--cx-control-ease);
}

.cx-design-system .mud-picker-calendar-header .mud-icon-button:hover,
.cx-design-system .mud-picker .mud-icon-button:hover {
    background: var(--cx-control-primary-050);
    color: var(--cx-control-primary-900);
    transform: none;
}

.cx-design-system .mud-day {
    border-radius: 10px;
    transition: background-color .12s var(--cx-control-ease), color .12s var(--cx-control-ease), box-shadow .12s var(--cx-control-ease);
}

.cx-design-system .mud-day:hover:not(.mud-disabled) {
    background: var(--cx-control-primary-050);
    color: var(--cx-control-primary-800);
}

.cx-design-system .mud-day.mud-selected,
.cx-design-system .mud-picker .mud-button-filled-primary {
    background: var(--cx-control-primary-600) !important;
    color: #fff !important;
    box-shadow: 0 5px 12px rgba(62, 106, 153, .18) !important;
}

.cx-design-system .mud-day.mud-current {
    box-shadow: inset 0 0 0 1px var(--cx-control-primary-600);
    color: var(--cx-control-primary-700);
    font-weight: 780;
}

.cx-design-system .mud-timepicker-hour,
.cx-design-system .mud-timepicker-minute,
.cx-design-system .mud-picker .mud-picker-stick {
    color: var(--cx-control-primary-700);
}

.cx-design-system .mud-picker .mud-picker-stick-dot,
.cx-design-system .mud-picker .mud-picker-stick {
    background-color: var(--cx-control-primary-600) !important;
}

/* --------------------------------------------------------------------------
   PagedList layout using the same explicit controls
   -------------------------------------------------------------------------- */
.cx-design-system .cx-paged-list .conexgo-pagedlist-toolbar {
    align-items: end;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-filters {
    align-items: end;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-field {
    gap: 6px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-field-label {
    color: #667085;
    font-size: .78rem;
    font-weight: 760;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-size-select {
    width: 116px;
    min-width: 116px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-range-select {
    width: 205px;
    min-width: 205px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom {
    margin: 0 0 14px;
    padding: 18px;
    border: 1px solid #dce4ec;
    border-top: 3px solid var(--cx-control-success);
    border-radius: 12px;
    background: #f9fbfc;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-group {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(180px, 1.35fr) minmax(130px, .65fr);
    align-items: end;
    gap: 12px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-date-input,
.cx-design-system .cx-paged-list .conexgo-pagedlist-time-input {
    width: 100%;
    min-width: 0;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-separator {
    height: var(--cx-control-height-compact);
    display: grid;
    place-items: center;
    color: #8391a0;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-apply {
    min-width: 120px;
    height: var(--cx-control-height-compact);
    padding: 0 18px;
    border: 1px solid var(--cx-control-primary-800);
    border-radius: 10px;
    background: var(--cx-control-primary-800);
    color: #fff;
    font-weight: 740;
    transition: background-color .14s var(--cx-control-ease), border-color .14s var(--cx-control-ease), transform .14s var(--cx-control-ease), box-shadow .14s var(--cx-control-ease);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-apply:hover {
    border-color: var(--cx-control-primary-900);
    background: var(--cx-control-primary-900);
    box-shadow: 0 5px 12px rgba(44, 76, 108, .12);
    transform: translateY(-.5px);
}

/* Page-specific widths without page-specific visual systems. */
.cx-design-system .cx-control--dashboard-filter,
.cx-design-system .cx-control--history,
.cx-design-system .cx-control--filter,
.cx-design-system .cx-control--form,
.cx-design-system .cx-control--report,
.cx-design-system .cx-control--timezone,
.cx-design-system .cx-control--admin,
.cx-design-system .cx-control--device-location,
.cx-design-system .cx-control--priority,
.cx-design-system .cx-control--language-picker,
.cx-design-system .cx-control--header-language {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Checkboxes, radios, buttons and toasts retained from the shared system
   -------------------------------------------------------------------------- */
.cx-design-system input[type="checkbox"]:not(.custom-switch-input),
.cx-design-system input[type="radio"]:not(.custom-switch-input) {
    accent-color: var(--cx-control-primary-600);
}

.cx-design-system .btn,
.cx-design-system .mud-button-root,
.cx-design-system .cx-dialog-action {
    transition: background-color .15s var(--cx-control-ease), border-color .15s var(--cx-control-ease), color .15s var(--cx-control-ease), box-shadow .15s var(--cx-control-ease), transform .15s var(--cx-control-ease) !important;
}

.cx-design-system .btn:hover:not(:disabled),
.cx-design-system .mud-button-root:hover:not(.mud-disabled),
.cx-design-system .cx-dialog-action:hover:not(:disabled) {
    transform: translateY(-.5px);
}

.cx-design-system .btn:active:not(:disabled),
.cx-design-system .mud-button-root:active:not(.mud-disabled) {
    transform: none;
}

.cx-design-system .blazored-toast-container {
    width: min(390px, calc(100vw - 24px));
    padding: 12px;
}

.cx-design-system .conexgo-toast {
    position: relative;
    min-height: 76px;
    margin-bottom: 12px;
    padding: 17px 52px 17px 72px !important;
    display: flex !important;
    align-items: center !important;
    border: 1px solid #dce4ec !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--cx-control-text) !important;
    box-shadow: 0 16px 38px rgba(36, 66, 95, .16) !important;
    animation: cx-toast-in .22s var(--cx-control-ease) both;
}

.cx-design-system .conexgo-toast::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    border-radius: 14px 0 0 14px;
    background: var(--cx-control-primary-600);
}

.cx-design-system .conexgo-toast .blazored-toast-icon {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    display: grid !important;
    place-items: center !important;
    border-radius: 999px !important;
    transform: translateY(-50%) !important;
    background: var(--cx-control-primary-100) !important;
    color: var(--cx-control-primary-700) !important;
}

.cx-design-system .conexgo-toast .blazored-toast-message {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--cx-control-text) !important;
    font-size: .91rem !important;
    font-weight: 700 !important;
    line-height: 1.42 !important;
}

.cx-design-system .conexgo-toast .blazored-toast-close {
    position: absolute !important;
    top: 13px !important;
    right: 13px !important;
    width: 30px !important;
    height: 30px !important;
    border: 1px solid var(--cx-control-border) !important;
    border-radius: 999px !important;
    display: grid !important;
    place-items: center !important;
    background: #fff !important;
    color: #8291a1 !important;
}

.cx-design-system .conexgo-toast-success::before { background: #689470; }
.cx-design-system .conexgo-toast-success .blazored-toast-icon { background: #edf6ef !important; color: #4f8259 !important; }
.cx-design-system .conexgo-toast-error::before { background: var(--cx-control-danger); }
.cx-design-system .conexgo-toast-error .blazored-toast-icon { background: #fbeff1 !important; color: var(--cx-control-danger) !important; }
.cx-design-system .conexgo-toast-warning::before { background: var(--cx-control-warning); }
.cx-design-system .conexgo-toast-warning .blazored-toast-icon { background: #fbf4e9 !important; color: var(--cx-control-warning) !important; }

@keyframes cx-control-popover-in {
    from { opacity: 0; transform: translateY(-3px) scale(.992); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes cx-toast-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 991.98px) {
    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-separator {
        height: 18px;
        transform: rotate(90deg);
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-apply {
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .cx-design-system .cx-control-datetime-grid,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-group {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-size-select,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-range-select {
        width: 100%;
        min-width: 0;
    }

    .cx-design-system .mud-picker-popover {
        max-width: calc(100vw - 24px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system *,
    .cx-design-system *::before,
    .cx-design-system *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* --------------------------------------------------------------------------
   Explicit boolean controls
   -------------------------------------------------------------------------- */
.cx-design-system .cx-checkbox,
.cx-design-system .cx-switch {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--cx-control-text);
    cursor: pointer;
    user-select: none;
}

.cx-design-system .cx-checkbox > .cx-boolean-native,
.cx-design-system .cx-switch > .cx-boolean-native {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.cx-design-system .cx-checkbox-box {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--cx-control-border-hover);
    border-radius: 6px;
    background: #fff;
    color: #fff;
    transition: border-color .14s var(--cx-control-ease), background-color .14s var(--cx-control-ease), box-shadow .14s var(--cx-control-ease);
}

.cx-design-system .cx-checkbox-box i {
    font-size: 10px;
    line-height: 1;
    transform: scale(.7);
    opacity: 0;
    transition: transform .14s var(--cx-control-ease), opacity .14s var(--cx-control-ease);
}

.cx-design-system .cx-checkbox:hover .cx-checkbox-box {
    border-color: #9fb2c5;
    background: #fbfcfd;
}

.cx-design-system .cx-checkbox > .cx-boolean-native:checked + .cx-checkbox-box {
    border-color: var(--cx-control-primary-600);
    background: var(--cx-control-primary-600);
}

.cx-design-system .cx-checkbox > .cx-boolean-native:checked + .cx-checkbox-box i {
    transform: scale(1);
    opacity: 1;
}

.cx-design-system .cx-checkbox > .cx-boolean-native:focus-visible + .cx-checkbox-box,
.cx-design-system .cx-switch > .cx-boolean-native:focus-visible + .cx-switch-track {
    box-shadow: var(--cx-control-focus);
}

.cx-design-system .cx-checkbox-label,
.cx-design-system .cx-switch-label {
    min-width: 0;
    color: var(--cx-control-text);
    font-size: .88rem;
    font-weight: 680;
    line-height: 1.35;
}

.cx-design-system .cx-switch-track {
    position: relative;
    width: 46px;
    height: 26px;
    flex: 0 0 46px;
    border: 1px solid #c5d0db;
    border-radius: 999px;
    background: #e7edf2;
    transition: border-color .16s var(--cx-control-ease), background-color .16s var(--cx-control-ease), box-shadow .16s var(--cx-control-ease);
}

.cx-design-system .cx-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 4px rgba(36, 66, 95, .18);
    transition: transform .18s var(--cx-control-ease);
}

.cx-design-system .cx-switch:hover .cx-switch-track {
    border-color: #acbccb;
    background: #e1e8ee;
}

.cx-design-system .cx-switch > .cx-boolean-native:checked + .cx-switch-track {
    border-color: var(--cx-control-primary-700);
    background: var(--cx-control-primary-700);
}

.cx-design-system .cx-switch > .cx-boolean-native:checked + .cx-switch-track .cx-switch-thumb {
    transform: translateX(20px);
}

.cx-design-system .cx-switch-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.cx-design-system .cx-switch-help,
.cx-design-system .cx-boolean-help {
    color: var(--cx-control-muted);
    font-size: .78rem;
    line-height: 1.42;
}

.cx-design-system .cx-switch--compact {
    gap: 0;
}

.cx-design-system .cx-switch--compact .cx-switch-copy {
    display: none;
}

.cx-design-system .cx-checkbox > .cx-boolean-native:disabled + .cx-checkbox-box,
.cx-design-system .cx-switch > .cx-boolean-native:disabled + .cx-switch-track {
    opacity: .62;
    cursor: not-allowed;
}

.cx-design-system .conexgo-dashboard-visibility-option {
    width: 100%;
    justify-content: space-between;
}

.cx-design-system .conexgo-dashboard-visibility-option .cx-checkbox-label {
    order: -1;
}

/* Global fallback for legacy boolean inputs that have not yet been migrated. */
.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native),
.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native) {
    width: 20px;
    height: 20px;
    margin: 0;
    display: inline-grid;
    place-content: center;
    border: 1.5px solid var(--cx-control-border-hover);
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    vertical-align: middle;
    transition: border-color .14s var(--cx-control-ease), background-color .14s var(--cx-control-ease), box-shadow .14s var(--cx-control-ease);
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native) {
    border-radius: 6px;
}

.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native) {
    border-radius: 50%;
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native)::before {
    content: "";
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    opacity: 0;
    transform: translateY(-1px) rotate(-45deg) scale(.75);
    transition: opacity .12s var(--cx-control-ease), transform .12s var(--cx-control-ease);
}

.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native)::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    opacity: 0;
    transform: scale(.65);
    transition: opacity .12s var(--cx-control-ease), transform .12s var(--cx-control-ease);
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native):checked,
.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native):checked {
    border-color: var(--cx-control-primary-600);
    background: var(--cx-control-primary-600);
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native):checked::before,
.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native):checked::before {
    opacity: 1;
    transform: translateY(-1px) rotate(-45deg) scale(1);
}

.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native):checked::before {
    transform: scale(1);
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native):hover:not(:disabled),
.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native):hover:not(:disabled) {
    border-color: #9fb2c5;
    background-color: #fbfcfd;
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native):checked:hover:not(:disabled),
.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native):checked:hover:not(:disabled) {
    border-color: var(--cx-control-primary-700);
    background-color: var(--cx-control-primary-700);
}

.cx-design-system input[type="checkbox"]:not(.custom-switch-input):not(.cx-boolean-native):focus-visible,
.cx-design-system input[type="radio"]:not(.custom-switch-input):not(.cx-boolean-native):focus-visible {
    outline: 0;
    box-shadow: var(--cx-control-focus);
}

/* ==========================================================================
   CONEXGO GLOBAL FORM CONTROL FOUNDATION R7
   --------------------------------------------------------------------------
   Authoritative shared layer for the entire portal.

   Select rule:
   - CxSelect and CxTimePicker render native Bootstrap form-select controls.
   - The arrow below is the Bootstrap 5.1 form-select SVG, not an injected icon.
   - No duplicate MudBlazor adornment, pseudo-element or JavaScript wrapper.
   ========================================================================== */

.cx-design-system {
    --cx-r7-control-height: 44px;
    --cx-r7-control-radius: 10px;
    --cx-r7-border: #cfdbe6;
    --cx-r7-border-hover: #aebfd0;
    --cx-r7-surface: #ffffff;
    --cx-r7-surface-subtle: #f7f9fc;
    --cx-r7-text: #243a52;
    --cx-r7-muted: #66788b;
    --cx-r7-primary: #3e6a99;
    --cx-r7-primary-dark: #2c4c6c;
    --cx-r7-success: #6b9671;
    --cx-r7-focus-ring: 0 0 0 3px rgba(62, 106, 153, .115);
    --cx-r7-shadow-soft: 0 4px 12px rgba(36, 66, 95, .055);
    --cx-r7-shadow-focus: 0 8px 20px rgba(36, 66, 95, .09);
    --cx-r7-ease: cubic-bezier(.2, .72, .26, 1);
}

/* Shared field structure */
.cx-design-system .cx-control-field {
    width: 100%;
    min-width: 0;
    display: grid;
    align-content: end;
    gap: 7px;
}

.cx-design-system .cx-control-label,
.cx-design-system .conexgo-pagedlist-field-label,
.cx-design-system .device-filter-label {
    margin: 0;
    color: #39526c;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.25;
}

.cx-design-system .cx-control-help {
    margin: 0;
    color: var(--cx-r7-muted);
    font-size: 12px;
    line-height: 1.42;
}

.cx-design-system .cx-native-select-shell {
    position: relative;
    width: 100%;
    min-width: 0;
}

/* Bootstrap-native selects: exact Bootstrap 5.1 arrow and geometry */
.cx-design-system select.form-select:not([multiple]):not([size]),
.cx-design-system .cx-native-select {
    width: 100% !important;
    min-width: 0 !important;
    height: var(--cx-r7-control-height) !important;
    min-height: var(--cx-r7-control-height) !important;
    max-height: var(--cx-r7-control-height) !important;
    padding: 0 2.75rem 0 .875rem !important;
    display: block !important;
    overflow: hidden;
    border: 1px solid var(--cx-r7-border) !important;
    border-radius: var(--cx-r7-control-radius) !important;
    background-color: var(--cx-r7-surface) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23596f85' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right .875rem center !important;
    background-size: 16px 12px !important;
    color: var(--cx-r7-text) !important;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: 650 !important;
    line-height: 1.25 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer;
    box-shadow: var(--cx-r7-shadow-soft) !important;
    transition:
        border-color .16s var(--cx-r7-ease),
        background-color .16s var(--cx-r7-ease),
        box-shadow .16s var(--cx-r7-ease),
        transform .16s var(--cx-r7-ease) !important;
}

.cx-design-system select.form-select:not([multiple]):not([size]):hover:not(:disabled),
.cx-design-system .cx-native-select:hover:not(:disabled) {
    border-color: var(--cx-r7-border-hover) !important;
    background-color: #fbfdff !important;
    box-shadow: 0 6px 16px rgba(36, 66, 95, .075) !important;
}

.cx-design-system select.form-select:not([multiple]):not([size]):focus,
.cx-design-system .cx-native-select:focus {
    border-color: var(--cx-r7-primary) !important;
    outline: 0 !important;
    background-color: #ffffff !important;
    box-shadow:
        var(--cx-r7-focus-ring),
        var(--cx-r7-shadow-focus) !important;
}

.cx-design-system select.form-select:not([multiple]):not([size]):active:not(:disabled),
.cx-design-system .cx-native-select:active:not(:disabled) {
    transform: translateY(.5px);
}

.cx-design-system select.form-select:not([multiple]):not([size]):disabled,
.cx-design-system .cx-native-select:disabled {
    border-color: #dce4ec !important;
    background-color: #f1f4f7 !important;
    color: #788797 !important;
    cursor: not-allowed;
    box-shadow: none !important;
    opacity: 1;
}

.cx-design-system .cx-native-select.is-invalid,
.cx-design-system .cx-native-select:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #b24d59 !important;
}

.cx-design-system .cx-native-select.is-invalid:focus {
    box-shadow:
        0 0 0 3px rgba(178, 77, 89, .12),
        var(--cx-r7-shadow-focus) !important;
}

.cx-design-system .cx-control--compact {
    --cx-r7-control-height: 44px;
}

.cx-design-system .cx-control--header-language {
    --cx-r7-control-height: 38px;
    font-size: 12.5px !important;
}

.cx-design-system .cx-control--language-picker {
    --cx-r7-control-height: 40px;
    font-size: 13px !important;
}

/* Time: Bootstrap arrow on the right, dedicated clock icon on the left */
.cx-design-system .cx-time-select-shell {
    position: relative;
}

.cx-design-system .cx-time-leading-icon {
    position: absolute;
    z-index: 2;
    left: 13px;
    top: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #55718d;
    font-size: 14px;
    pointer-events: none;
    transform: translateY(-50%);
    transition:
        color .16s var(--cx-r7-ease),
        transform .16s var(--cx-r7-ease);
}

.cx-design-system .cx-time-select {
    padding-left: 42px !important;
    font-variant-numeric: tabular-nums;
}

.cx-design-system .cx-time-select-shell:hover .cx-time-leading-icon,
.cx-design-system .cx-time-select-shell:focus-within .cx-time-leading-icon {
    color: var(--cx-r7-primary-dark);
    transform: translateY(-50%) scale(1.04);
}

/* Shared Cx checkbox */
.cx-design-system .cx-checkbox,
.cx-design-system .cx-switch {
    position: relative;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cx-r7-text);
    cursor: pointer;
    user-select: none;
}

.cx-design-system .cx-boolean-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cx-design-system .cx-checkbox-box {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    flex: 0 0 20px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #aebfce !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transition:
        border-color .14s var(--cx-r7-ease),
        background-color .14s var(--cx-r7-ease),
        box-shadow .14s var(--cx-r7-ease),
        transform .14s var(--cx-r7-ease) !important;
}

.cx-design-system .cx-checkbox-box i {
    font-size: 11px;
    opacity: 0;
    transform: scale(.72);
    transition:
        opacity .12s var(--cx-r7-ease),
        transform .12s var(--cx-r7-ease);
}

.cx-design-system .cx-checkbox:hover .cx-checkbox-box {
    border-color: #8fa7bc !important;
    transform: translateY(-.5px);
}

.cx-design-system .cx-checkbox > .cx-boolean-native:checked + .cx-checkbox-box {
    border-color: var(--cx-r7-primary) !important;
    background: var(--cx-r7-primary) !important;
    box-shadow: 0 4px 10px rgba(62, 106, 153, .18) !important;
}

.cx-design-system .cx-checkbox > .cx-boolean-native:checked + .cx-checkbox-box i {
    opacity: 1;
    transform: scale(1);
}

.cx-design-system .cx-checkbox > .cx-boolean-native:focus-visible + .cx-checkbox-box,
.cx-design-system .cx-switch > .cx-boolean-native:focus-visible + .cx-switch-track {
    box-shadow: var(--cx-r7-focus-ring) !important;
}

.cx-design-system .cx-checkbox-label,
.cx-design-system .cx-switch-label {
    color: var(--cx-r7-text);
    font-size: 14px;
    font-weight: 650;
    line-height: 1.35;
}

/* Shared Cx switch */
.cx-design-system .cx-switch-track {
    position: relative;
    width: 42px !important;
    min-width: 42px !important;
    height: 24px !important;
    flex: 0 0 42px !important;
    border: 1px solid #b7c5d2 !important;
    border-radius: 999px !important;
    background: #dfe6ec !important;
    box-shadow: inset 0 1px 2px rgba(36, 66, 95, .08);
    transition:
        border-color .16s var(--cx-r7-ease),
        background-color .16s var(--cx-r7-ease),
        box-shadow .16s var(--cx-r7-ease) !important;
}

.cx-design-system .cx-switch-thumb {
    position: absolute;
    left: 3px;
    top: 3px;
    width: 16px !important;
    height: 16px !important;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(36, 66, 95, .22);
    transform: translateX(0);
    transition: transform .18s var(--cx-r7-ease) !important;
}

.cx-design-system .cx-switch:hover .cx-switch-track {
    border-color: #9eb0c0 !important;
}

.cx-design-system .cx-switch > .cx-boolean-native:checked + .cx-switch-track {
    border-color: var(--cx-r7-primary) !important;
    background: var(--cx-r7-primary) !important;
    box-shadow: inset 0 1px 2px rgba(36, 66, 95, .08), 0 4px 10px rgba(62, 106, 153, .14);
}

.cx-design-system .cx-switch > .cx-boolean-native:checked + .cx-switch-track .cx-switch-thumb {
    transform: translateX(18px) !important;
}

.cx-design-system .cx-switch-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.cx-design-system .cx-switch-help {
    color: var(--cx-r7-muted);
    font-size: 12px;
    line-height: 1.35;
}

/* Legacy native checkbox/radio fallback */
.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input),
.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input) {
    width: 20px !important;
    min-width: 20px !important;
    height: 20px !important;
    min-height: 20px !important;
    margin: 0 !important;
    flex: 0 0 20px !important;
    display: inline-grid !important;
    place-content: center !important;
    border: 1.5px solid #aebfce !important;
    background-color: #ffffff !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer;
    box-shadow: none !important;
    vertical-align: middle;
    transition:
        border-color .14s var(--cx-r7-ease),
        background-color .14s var(--cx-r7-ease),
        box-shadow .14s var(--cx-r7-ease),
        transform .14s var(--cx-r7-ease) !important;
}

.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input) {
    border-radius: 6px !important;
}

.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input) {
    border-radius: 50% !important;
}

.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input)::before,
.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input)::before {
    display: none !important;
    content: none !important;
}

.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input):checked {
    border-color: var(--cx-r7-primary) !important;
    background-color: var(--cx-r7-primary) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2.2' d='m3.2 8.3 3 3 6.6-7'/%3E%3C/svg%3E") !important;
    background-size: 13px 13px !important;
}

.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input):checked {
    border-color: var(--cx-r7-primary) !important;
    background-color: var(--cx-r7-primary) !important;
    background-image: radial-gradient(circle, #fff 0 35%, transparent 39%) !important;
}

.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input):hover:not(:disabled),
.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input):hover:not(:disabled) {
    border-color: #8fa7bc !important;
    transform: translateY(-.5px);
}

.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input):focus-visible,
.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input):focus-visible {
    outline: 0 !important;
    box-shadow: var(--cx-r7-focus-ring) !important;
}

/* Bootstrap form-switch restoration after the legacy checkbox fallback */
.cx-design-system .form-switch .form-check-input {
    width: 42px !important;
    min-width: 42px !important;
    height: 24px !important;
    min-height: 24px !important;
    border-radius: 999px !important;
    background-position: left center !important;
    background-size: contain !important;
}

.cx-design-system .form-switch .form-check-input:checked {
    background-position: right center !important;
}

/* PagedList: professional toolbar and date range */
.cx-design-system .cx-paged-list .conexgo-pagedlist-toolbar {
    width: 100% !important;
    min-width: 0;
    margin: 0 0 16px !important;
    display: grid !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) !important;
    align-items: end !important;
    gap: 16px 24px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-filters {
    min-width: 0;
    display: flex !important;
    align-items: end !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-field {
    min-width: 0;
    display: grid !important;
    align-content: end !important;
    gap: 7px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-field-label--icon {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-label-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5ee;
    border-radius: 7px;
    background: #ffffff;
    color: #4f7396;
    font-size: 11px;
    box-shadow: 0 2px 7px rgba(36, 66, 95, .045);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-size-select {
    width: 150px !important;
    min-width: 150px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-range-select {
    width: 270px !important;
    min-width: 240px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination {
    min-width: 0;
    justify-self: end;
    align-self: end;
    margin: 0 !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .pagination {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 7px !important;
    margin: 0 !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link {
    min-width: 42px !important;
    height: 42px !important;
    padding: 0 11px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #d2dde7 !important;
    border-radius: 9px !important;
    background: #ffffff !important;
    color: #315575 !important;
    font-size: 13px !important;
    font-weight: 720 !important;
    box-shadow: 0 3px 9px rgba(36, 66, 95, .04) !important;
    transition:
        border-color .14s var(--cx-r7-ease),
        background-color .14s var(--cx-r7-ease),
        color .14s var(--cx-r7-ease),
        box-shadow .14s var(--cx-r7-ease),
        transform .14s var(--cx-r7-ease) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link:hover {
    border-color: #9eb4c7 !important;
    background: #f5f8fb !important;
    color: var(--cx-r7-primary-dark) !important;
    box-shadow: 0 6px 14px rgba(36, 66, 95, .08) !important;
    transform: translateY(-1px);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-item.disabled .page-link {
    border-color: #e3e9ef !important;
    background: #f7f9fb !important;
    color: #a8b4c0 !important;
    box-shadow: none !important;
    transform: none !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-page-status .page-link {
    min-width: 116px !important;
    border-color: var(--cx-r7-primary-dark) !important;
    background: var(--cx-r7-primary-dark) !important;
    color: #ffffff !important;
    cursor: default;
    box-shadow: 0 6px 14px rgba(44, 76, 108, .14) !important;
    transform: none !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom {
    position: relative;
    margin: 0 0 18px !important;
    padding: 18px !important;
    overflow: visible;
    border: 1px solid #d8e2eb !important;
    border-top: 0 !important;
    border-radius: 13px !important;
    background:
        radial-gradient(circle at 100% 0, rgba(62, 106, 153, .055), transparent 34%),
        linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%) !important;
    box-shadow: 0 6px 18px rgba(36, 66, 95, .045);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    border-radius: 13px 0 0 13px;
    background: linear-gradient(180deg, var(--cx-r7-primary) 0%, var(--cx-r7-success) 100%);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-fields {
    width: 100% !important;
    min-width: 0;
    display: grid !important;
    grid-template-columns: minmax(360px, 1fr) 34px minmax(360px, 1fr) minmax(140px, auto) !important;
    align-items: end !important;
    gap: 16px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-group {
    min-width: 0;
    display: grid !important;
    grid-template-columns: minmax(220px, 1fr) minmax(160px, 180px) !important;
    align-items: end !important;
    gap: 13px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-date-input,
.cx-design-system .cx-paged-list .conexgo-pagedlist-time-input {
    width: 100% !important;
    min-width: 0 !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-separator {
    height: var(--cx-r7-control-height) !important;
    min-height: var(--cx-r7-control-height) !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #6f8295 !important;
    font-size: 13px;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-custom-separator i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dce5ed;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 3px 9px rgba(36, 66, 95, .05);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-apply {
    min-width: 140px !important;
    height: var(--cx-r7-control-height) !important;
    min-height: var(--cx-r7-control-height) !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    border: 1px solid var(--cx-r7-primary-dark) !important;
    border-radius: 10px !important;
    background: var(--cx-r7-primary-dark) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 760 !important;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(44, 76, 108, .13) !important;
    transition:
        border-color .15s var(--cx-r7-ease),
        background-color .15s var(--cx-r7-ease),
        box-shadow .15s var(--cx-r7-ease),
        transform .15s var(--cx-r7-ease) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-apply:hover,
.cx-design-system .cx-paged-list .conexgo-pagedlist-apply:focus-visible {
    border-color: #213d58 !important;
    background: #213d58 !important;
    box-shadow: 0 9px 20px rgba(44, 76, 108, .18) !important;
    transform: translateY(-1px);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-apply:focus-visible {
    outline: 0;
    box-shadow:
        var(--cx-r7-focus-ring),
        0 9px 20px rgba(44, 76, 108, .18) !important;
}

/* Devices page filter panel */
.cx-design-system .device-filter-panel--professional {
    position: relative;
    padding: 16px 18px 18px !important;
    overflow: hidden;
    border-top: 1px solid #e4eaf0;
    border-bottom: 1px solid #dce4ec;
    background:
        radial-gradient(circle at 100% 0, rgba(62, 106, 153, .05), transparent 34%),
        linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 100%) !important;
}

.cx-design-system .device-filter-panel--professional::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, var(--cx-r7-primary) 0%, var(--cx-r7-success) 100%);
}

.cx-design-system .device-filter-toolbar {
    min-width: 0;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.cx-design-system .device-filter-summary {
    min-width: 0;
    min-height: 36px;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    color: var(--cx-r7-muted);
    font-size: 12.5px;
}

.cx-design-system .device-filter-count,
.cx-design-system .device-filter-updating {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cx-design-system .device-filter-count strong {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e2eb;
    border-radius: 999px;
    background: #ffffff;
    color: var(--cx-r7-primary-dark);
    font-size: 12px;
    font-weight: 820;
    box-shadow: 0 3px 9px rgba(36, 66, 95, .05);
}

.cx-design-system .device-filter-updating {
    color: var(--cx-r7-primary-dark);
    font-weight: 720;
}

.cx-design-system .device-filter-updating-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--cx-r7-primary);
    animation: cx-r7-pulse 1.2s ease-out infinite;
}

.cx-design-system .device-filter-reset {
    min-height: 38px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #cbd8e3;
    border-radius: 9px;
    background: #ffffff;
    color: #315575;
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(36, 66, 95, .045);
    transition:
        border-color .15s var(--cx-r7-ease),
        background-color .15s var(--cx-r7-ease),
        box-shadow .15s var(--cx-r7-ease),
        transform .15s var(--cx-r7-ease) !important;
}

.cx-design-system .device-filter-reset:hover:not(:disabled),
.cx-design-system .device-filter-reset:focus-visible:not(:disabled) {
    border-color: #96adc1;
    background: #fdfefe;
    color: #24425f;
    box-shadow: 0 7px 16px rgba(36, 66, 95, .09);
    transform: translateY(-1px);
}

.cx-design-system .device-filter-reset:focus-visible {
    outline: 0;
    box-shadow:
        var(--cx-r7-focus-ring),
        0 7px 16px rgba(36, 66, 95, .09);
}

.cx-design-system .device-filter-reset:disabled {
    opacity: .62;
    cursor: not-allowed;
}

.cx-design-system .device-filter-reset i {
    transition: transform .2s var(--cx-r7-ease);
}

.cx-design-system .device-filter-reset:hover:not(:disabled) i {
    transform: rotate(-24deg);
}

.cx-design-system .device-filter-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
}

.cx-design-system .device-filter-field {
    min-width: 0;
    display: grid;
    align-content: end;
    gap: 8px;
    animation: cx-r7-field-in .2s var(--cx-r7-ease) both;
}

.cx-design-system .device-filter-field:nth-child(2) { animation-delay: 18ms; }
.cx-design-system .device-filter-field:nth-child(3) { animation-delay: 36ms; }
.cx-design-system .device-filter-field:nth-child(4) { animation-delay: 54ms; }
.cx-design-system .device-filter-field:nth-child(5) { animation-delay: 72ms; }
.cx-design-system .device-filter-field:nth-child(6) { animation-delay: 90ms; }

.cx-design-system .device-filter-label {
    min-height: 26px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.cx-design-system .device-filter-label > span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cx-design-system .device-filter-label-icon {
    width: 25px;
    height: 25px;
    min-width: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dae5ee;
    border-radius: 7px;
    background: #ffffff;
    color: #4f7396;
    font-size: 10.5px;
    box-shadow: 0 2px 7px rgba(36, 66, 95, .045);
    transition:
        border-color .15s var(--cx-r7-ease),
        background-color .15s var(--cx-r7-ease),
        color .15s var(--cx-r7-ease),
        transform .15s var(--cx-r7-ease);
}

.cx-design-system .device-filter-field:hover .device-filter-label-icon,
.cx-design-system .device-filter-field:focus-within .device-filter-label-icon {
    border-color: #b7cadb;
    background: #edf4fa;
    color: var(--cx-r7-primary-dark);
    transform: translateY(-1px);
}

.cx-design-system .device-filter-control {
    width: 100%;
    min-width: 0;
}

/* Global control animation */
@keyframes cx-r7-popover-in {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(.992);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes cx-r7-field-in {
    from {
        opacity: 0;
        transform: translateY(4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cx-r7-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(62, 106, 153, .24);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(62, 106, 153, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(62, 106, 153, 0);
    }
}

@media (max-width: 1399.98px) {
    .cx-design-system .device-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-fields {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-separator {
        display: none !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-apply {
        width: 100% !important;
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 991.98px) {
    .cx-design-system .cx-paged-list .conexgo-pagedlist-toolbar {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-pagination {
        justify-self: start;
    }

    .cx-design-system .device-filter-panel--professional {
        padding: 15px 14px 16px !important;
    }

    .cx-design-system .device-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 13px;
    }
}

@media (max-width: 767.98px) {
    .cx-design-system .cx-control-datetime-grid,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-fields,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom-group {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-filters {
        width: 100%;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-size-select,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-range-select {
        width: 100% !important;
        min-width: 0 !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-pagination {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .pagination {
        width: max-content;
        min-width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .cx-design-system .device-filter-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .cx-design-system .device-filter-reset {
        width: 100%;
        min-height: 42px;
    }

    .cx-design-system .device-filter-grid,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-filters {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-custom {
        padding: 14px !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link {
        min-width: 38px !important;
        height: 38px !important;
        padding: 0 8px !important;
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-page-status .page-link {
        min-width: 96px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system .device-filter-field,
    .cx-design-system .device-filter-updating-dot,
    .cx-design-system .mud-picker-popover {
        animation: none !important;
    }

    .cx-design-system *,
    .cx-design-system *::before,
    .cx-design-system *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ==========================================================================
   CONEXGO CUSTOM CONTROL EXPERIENCE R8
   Practicora-inspired custom select/time interaction:
   - no native browser select menu;
   - portalled popover with internal scroll;
   - keyboard navigation, selected check and visible hover;
   - professional pagination motion.
   ========================================================================== */

.cx-design-system .cx-custom-select-root {
    position: relative;
    isolation: isolate;
}

.cx-design-system .cx-custom-select-option-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    pointer-events: none !important;
}

.cx-design-system .cx-custom-select-trigger {
    width: 100%;
    min-width: 0;
    height: var(--cx-r7-control-height, 44px);
    min-height: var(--cx-r7-control-height, 44px);
    padding: 0 8px 0 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    border: 1px solid var(--cx-r7-border);
    border-radius: var(--cx-r7-control-radius);
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    color: var(--cx-r7-text);
    font: inherit;
    font-size: 14px;
    font-weight: 660;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
    box-shadow: var(--cx-r7-shadow-soft);
    transition:
        border-color .16s var(--cx-r7-ease),
        background-color .16s var(--cx-r7-ease),
        box-shadow .16s var(--cx-r7-ease),
        transform .16s var(--cx-r7-ease);
}

.cx-design-system .cx-custom-select-trigger--with-icon {
    grid-template-columns: 28px minmax(0, 1fr) 34px;
    padding-left: 10px;
}

.cx-design-system .cx-custom-select-trigger:hover:not(:disabled) {
    border-color: #9eb3c7;
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(36, 66, 95, .085);
    transform: translateY(-1px);
}

.cx-design-system .cx-custom-select-trigger:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-open {
    border-color: var(--cx-r7-primary);
    outline: 0;
    background: #ffffff;
    box-shadow:
        var(--cx-r7-focus-ring),
        var(--cx-r7-shadow-focus);
}

.cx-design-system .cx-custom-select-trigger.is-open {
    transform: translateY(-1px);
}

.cx-design-system .cx-custom-select-trigger:active:not(:disabled) {
    transform: translateY(0);
}

.cx-design-system .cx-custom-select-trigger:disabled {
    border-color: #dce4ec;
    background: #f1f4f7;
    color: #788797;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 1;
}

.cx-design-system .cx-custom-select-trigger.is-invalid {
    border-color: #b24d59;
}

.cx-design-system .cx-custom-select-trigger.is-invalid:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-invalid.is-open {
    box-shadow:
        0 0 0 3px rgba(178, 77, 89, .12),
        var(--cx-r7-shadow-focus);
}

.cx-design-system .cx-custom-select-leading-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef4f9;
    color: #3e6a99;
    font-size: 13px;
    transition:
        background-color .16s var(--cx-r7-ease),
        color .16s var(--cx-r7-ease),
        transform .16s var(--cx-r7-ease);
}

.cx-design-system .cx-custom-select-trigger:hover .cx-custom-select-leading-icon,
.cx-design-system .cx-custom-select-trigger.is-open .cx-custom-select-leading-icon {
    background: #e4eef7;
    color: #2c4c6c;
    transform: scale(1.04);
}

.cx-design-system .cx-custom-select-value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.cx-design-system .cx-custom-select-value.is-placeholder,
.cx-design-system .cx-custom-select-placeholder {
    color: #8090a0;
    font-weight: 560;
}

.cx-design-system .cx-custom-select-chevron {
    width: 34px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e3eaf1;
    border-radius: 8px;
    color: #526d87;
    font-size: 12px;
    transition:
        background-color .16s var(--cx-r7-ease),
        color .16s var(--cx-r7-ease),
        transform .2s var(--cx-r7-ease);
}

.cx-design-system .cx-custom-select-trigger:hover .cx-custom-select-chevron {
    background: #f1f6fa;
    color: #2c4c6c;
}

.cx-design-system .cx-custom-select-trigger.is-open .cx-custom-select-chevron {
    background: #eaf2f8;
    color: #2c4c6c;
}

.cx-design-system .cx-custom-select-trigger.is-open .cx-custom-select-chevron i {
    transform: rotate(180deg);
}

.cx-design-system .cx-custom-select-chevron i {
    transition: transform .2s var(--cx-r7-ease);
}

.cx-design-system .mud-popover.cx-custom-select-popover,
.cx-design-system .cx-custom-select-popover {
    z-index: 1400 !important;
    margin-top: 7px;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
}

.cx-design-system .cx-custom-select-menu {
    width: 100%;
    min-width: 100%;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: 1px solid #d7e1ea;
    border-radius: 13px;
    background:
        radial-gradient(circle at 100% 0, rgba(62, 106, 153, .055), transparent 34%),
        #ffffff;
    box-shadow:
        0 18px 40px rgba(36, 66, 95, .16),
        0 4px 12px rgba(36, 66, 95, .08);
    animation: cx-r8-popover-in .17s var(--cx-r7-ease) both;
    scrollbar-width: thin;
    scrollbar-color: #9fb2c5 transparent;
}

.cx-design-system .cx-custom-select-menu::-webkit-scrollbar {
    width: 8px;
}

.cx-design-system .cx-custom-select-menu::-webkit-scrollbar-track {
    background: transparent;
}

.cx-design-system .cx-custom-select-menu::-webkit-scrollbar-thumb {
    border: 2px solid transparent;
    border-radius: 999px;
    background: #9fb2c5;
    background-clip: padding-box;
}

.cx-design-system .cx-custom-select-option {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    margin: 1px 0;
    padding: 8px 10px 8px 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #29435d;
    font: inherit;
    font-size: 14px;
    font-weight: 570;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition:
        background-color .12s var(--cx-r7-ease),
        color .12s var(--cx-r7-ease),
        transform .12s var(--cx-r7-ease);
}

.cx-design-system .cx-custom-select-option:hover:not(:disabled),
.cx-design-system .cx-custom-select-option.is-active:not(:disabled) {
    background: #f0f5f9;
    color: #213d58;
    transform: translateX(2px);
}

.cx-design-system .cx-custom-select-option.is-selected {
    background: #e5eff7;
    color: #244d73;
    font-weight: 760;
}

.cx-design-system .cx-custom-select-option.is-selected:hover,
.cx-design-system .cx-custom-select-option.is-selected.is-active {
    background: #dceaf5;
}

.cx-design-system .cx-custom-select-option:focus-visible {
    outline: 0;
    background: #edf4f9;
    box-shadow: inset 0 0 0 2px rgba(62, 106, 153, .22);
}

.cx-design-system .cx-custom-select-option:disabled,
.cx-design-system .cx-custom-select-option.is-disabled {
    color: #9aa6b2;
    cursor: not-allowed;
    opacity: .68;
}

.cx-design-system .cx-custom-select-option-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cx-design-system .cx-custom-select-option-check {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: transparent;
    color: #3e6a99;
    font-size: 11px;
    opacity: 0;
    transform: scale(.72);
    transition:
        opacity .12s var(--cx-r7-ease),
        transform .12s var(--cx-r7-ease),
        background-color .12s var(--cx-r7-ease);
}

.cx-design-system .cx-custom-select-option.is-selected .cx-custom-select-option-check {
    background: rgba(62, 106, 153, .1);
    opacity: 1;
    transform: scale(1);
}

.cx-design-system .cx-custom-select-option--clear {
    margin-bottom: 5px;
    border-bottom: 1px solid #edf1f5;
    border-radius: 9px 9px 4px 4px;
    color: #66788b;
}

.cx-design-system .cx-custom-select-empty {
    padding: 14px 12px;
    color: #7b8a99;
    font-size: 13px;
    text-align: center;
}

.cx-design-system .cx-custom-time-menu .cx-custom-select-option-label {
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
}

.cx-design-system .cx-control-time .cx-custom-select-value {
    font-variant-numeric: tabular-nums;
}

/* Restore professional pagination feedback and preserve disabled clarity. */
.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link {
    position: relative;
    overflow: hidden;
    transition:
        border-color .16s var(--cx-r7-ease),
        background-color .16s var(--cx-r7-ease),
        color .16s var(--cx-r7-ease),
        box-shadow .16s var(--cx-r7-ease),
        transform .16s var(--cx-r7-ease);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:hover {
    border-color: #7f9bb5;
    background: #edf4f9;
    color: #244d73;
    box-shadow: 0 7px 16px rgba(44, 76, 108, .11);
    transform: translateY(-2px);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:focus-visible {
    border-color: var(--cx-r7-primary);
    outline: 0;
    background: #ffffff;
    box-shadow:
        0 0 0 3px rgba(62, 106, 153, .12),
        0 7px 16px rgba(44, 76, 108, .1);
    transform: translateY(-1px);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:active {
    transform: translateY(0) scale(.97);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link i {
    transition: transform .16s var(--cx-r7-ease);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:hover i {
    transform: scale(1.08);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.conexgo-pagedlist-page-status .page-link {
    box-shadow: 0 8px 18px rgba(44, 76, 108, .13);
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item.disabled .page-link {
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

@keyframes cx-r8-popover-in {
    from {
        opacity: 0;
        transform: translateY(-5px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575.98px) {
    .cx-design-system .cx-custom-select-menu {
        border-radius: 12px;
    }

    .cx-design-system .cx-custom-select-option {
        min-height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system .cx-custom-select-menu {
        animation: none !important;
    }

    .cx-design-system .cx-custom-select-trigger,
    .cx-design-system .cx-custom-select-chevron,
    .cx-design-system .cx-custom-select-chevron i,
    .cx-design-system .cx-custom-select-option,
    .cx-design-system .cx-custom-select-option-check,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link {
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   CONEXGO PROFESSIONAL POLISH R8.1
   Softer reusable controls, compact pagination and aligned Device Config forms.
   ========================================================================== */

/* Custom selects: keep the custom menu, remove cheap-looking movement. */
.cx-design-system .cx-custom-select-trigger {
    transition:
        border-color .18s cubic-bezier(.2, .72, .26, 1),
        background-color .18s cubic-bezier(.2, .72, .26, 1),
        box-shadow .18s cubic-bezier(.2, .72, .26, 1) !important;
}

.cx-design-system .cx-custom-select-trigger:hover:not(:disabled) {
    border-color: #aebfce;
    background: #fff;
    box-shadow: 0 4px 12px rgba(36, 66, 95, .05);
    transform: none;
}

.cx-design-system .cx-custom-select-trigger:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-open {
    background: #fff;
    box-shadow:
        0 0 0 3px rgba(62, 106, 153, .085),
        0 5px 14px rgba(36, 66, 95, .055);
    transform: none;
}

.cx-design-system .cx-custom-select-trigger:hover .cx-custom-select-leading-icon,
.cx-design-system .cx-custom-select-trigger.is-open .cx-custom-select-leading-icon {
    background: #eaf2f8;
    transform: none;
}

.cx-design-system .cx-custom-select-menu {
    border-color: #d9e3eb;
    box-shadow:
        0 14px 30px rgba(36, 66, 95, .115),
        0 3px 9px rgba(36, 66, 95, .05);
    animation-duration: .19s;
}

.cx-design-system .cx-custom-select-option {
    transition:
        background-color .16s cubic-bezier(.2, .72, .26, 1),
        color .16s cubic-bezier(.2, .72, .26, 1) !important;
}

.cx-design-system .cx-custom-select-option:hover:not(:disabled),
.cx-design-system .cx-custom-select-option.is-active:not(:disabled) {
    background: #f4f7fa;
    color: #29445e;
    transform: none;
}

.cx-design-system .cx-custom-select-option.is-selected {
    background: #eaf2f8;
    color: #294f72;
}

.cx-design-system .cx-custom-select-option.is-selected:hover,
.cx-design-system .cx-custom-select-option.is-selected.is-active {
    background: #e4eef6;
}

.cx-design-system .cx-custom-select-option.is-selected .cx-custom-select-option-check {
    background: rgba(62, 106, 153, .07);
}

.cx-design-system .device-filter-field:hover .device-filter-icon,
.cx-design-system .device-filter-field:focus-within .device-filter-icon,
.cx-design-system .device-filter-reset:hover:not(:disabled),
.cx-design-system input[type="checkbox"]:not(.cx-boolean-native):not(.custom-switch-input):hover:not(:disabled),
.cx-design-system input[type="radio"]:not(.cx-boolean-native):not(.custom-switch-input):hover:not(:disabled) {
    transform: none !important;
}

/* Pagination: less empty space, no exaggerated lift, subtle directional feedback. */
.cx-design-system .cx-paged-list .conexgo-pagedlist-toolbar {
    min-height: 0 !important;
    margin: 0 0 12px !important;
    padding: 2px 0 4px !important;
    align-items: center !important;
    gap: 12px 18px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination {
    align-self: center !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .pagination {
    gap: 6px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link {
    min-width: 40px !important;
    height: 40px !important;
    padding: 0 9px !important;
    border-color: #d4dfe8 !important;
    border-radius: 9px !important;
    background: #fff !important;
    color: #315575 !important;
    box-shadow: none !important;
    cursor: pointer;
    transition:
        border-color .18s cubic-bezier(.2, .72, .26, 1),
        background-color .18s cubic-bezier(.2, .72, .26, 1),
        color .18s cubic-bezier(.2, .72, .26, 1),
        box-shadow .18s cubic-bezier(.2, .72, .26, 1) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:hover {
    border-color: #afc0cf !important;
    background: #f5f8fa !important;
    color: #284e70 !important;
    box-shadow: 0 3px 10px rgba(36, 66, 95, .05) !important;
    transform: none !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:focus-visible {
    border-color: #6689a8 !important;
    outline: 0;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .085) !important;
    transform: none !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link:active {
    background: #eef3f7 !important;
    box-shadow: none !important;
    transform: none !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status) .page-link i {
    transition: transform .18s cubic-bezier(.2, .72, .26, 1) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status)
.page-link:hover .fa-chevron-left,
.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status)
.page-link:hover .fa-angles-left {
    transform: translateX(-1px) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status)
.page-link:hover .fa-chevron-right,
.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status)
.page-link:hover .fa-angles-right {
    transform: translateX(1px) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-page-status .page-link {
    min-width: 106px !important;
    border-color: #315879 !important;
    background: #315879 !important;
    color: #fff !important;
    cursor: default;
    box-shadow: 0 3px 10px rgba(44, 76, 108, .08) !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-pagination
.page-item.disabled .page-link {
    border-color: #e2e8ee !important;
    background: #f7f9fb !important;
    color: #adb8c3 !important;
    cursor: default;
    box-shadow: none !important;
}

/* All Device Config dialogs: one coherent input foundation. */
.cx-design-system .cx-device-config-dialog .form-control,
.cx-design-system .cx-device-config-dialog .form-select,
.cx-design-system .cx-device-config-dialog input:not([type="checkbox"]):not([type="radio"]),
.cx-design-system .cx-device-config-dialog textarea {
    border-color: #cfdae4;
    border-radius: 10px;
    background-color: #fff;
    color: #29435d;
    box-shadow: none;
    transition:
        border-color .18s cubic-bezier(.2, .72, .26, 1),
        background-color .18s cubic-bezier(.2, .72, .26, 1),
        box-shadow .18s cubic-bezier(.2, .72, .26, 1);
}

.cx-design-system .cx-device-config-dialog .form-control:hover:not(:disabled),
.cx-design-system .cx-device-config-dialog .form-select:hover:not(:disabled),
.cx-design-system .cx-device-config-dialog input:not([type="checkbox"]):not([type="radio"]):hover:not(:disabled),
.cx-design-system .cx-device-config-dialog textarea:hover:not(:disabled) {
    border-color: #afc0cf;
}

.cx-design-system .cx-device-config-dialog .form-control:focus,
.cx-design-system .cx-device-config-dialog .form-select:focus,
.cx-design-system .cx-device-config-dialog input:not([type="checkbox"]):not([type="radio"]):focus,
.cx-design-system .cx-device-config-dialog textarea:focus {
    border-color: #6689a8;
    outline: 0;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .085);
}

/* B-DOTS: component classes already exist; align them as a real form. */
.cx-design-system .cx-r1-device-dot .cx-modal-group-v21--device-dot {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.cx-design-system .cx-r1-device-dot .cx-device-config-section-description {
    margin: 0 0 18px;
    padding: 12px 14px;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    border: 1px solid #dce6ef;
    border-radius: 10px;
    background: #f7fafc;
    color: #526a81;
    font-size: 13px;
    line-height: 1.55;
}

.cx-design-system .cx-r1-device-dot .device-dot-form {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 18px !important;
}

.cx-design-system .cx-r1-device-dot .device-dot-summary,
.cx-design-system .cx-r1-device-dot .device-dot-section {
    min-width: 0;
    padding: 16px;
    border: 1px solid #d9e4ed;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(36, 66, 95, .04);
}

.cx-design-system .cx-r1-device-dot .device-dot-summary {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
}

.cx-design-system .cx-r1-device-dot .device-dot-summary-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e3ed;
    border-radius: 11px;
    background: #edf4f9;
    color: #315879;
}

.cx-design-system .cx-r1-device-dot .device-dot-summary-content,
.cx-design-system .cx-r1-device-dot .device-dot-section {
    display: grid;
    gap: 13px;
}

.cx-design-system .cx-r1-device-dot .device-dot-summary-title-row,
.cx-design-system .cx-r1-device-dot .device-dot-section-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cx-design-system .cx-r1-device-dot .device-dot-summary-title,
.cx-design-system .cx-r1-device-dot .device-dot-section-heading > div {
    color: #29455f;
    font-size: 14px;
    font-weight: 780;
}

.cx-design-system .cx-r1-device-dot .device-dot-summary-description {
    color: #536b82;
    font-size: 13.5px;
    line-height: 1.58;
}

.cx-design-system .cx-r1-device-dot .device-dot-status {
    min-height: 30px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 760;
}

.cx-design-system .cx-r1-device-dot .device-dot-status-enabled {
    border-color: #bdd9c4;
    background: #edf8f0;
    color: #2f6940;
}

.cx-design-system .cx-r1-device-dot .device-dot-status-disabled {
    border-color: #e4c9cd;
    background: #fbf1f2;
    color: #8a3e49;
}

.cx-design-system .cx-r1-device-dot .device-dot-section-heading > div {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.cx-design-system .cx-r1-device-dot .device-dot-section-heading > div > i {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef4f9;
    color: #3e6a99;
}

/* B-DOTS device cards: keep each beacon compact, readable and responsive. */
.cx-design-system .cx-r1-device-dot .device-dot-count {
    min-width: 28px;
    height: 28px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5e1ea;
    border-radius: 999px;
    background: #f5f8fb;
    color: #315879;
    font-size: 12px;
    font-weight: 780;
    font-variant-numeric: tabular-nums;
}

.cx-design-system .cx-r1-device-dot .device-dot-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
    align-items: stretch;
    justify-content: start;
    gap: 14px;
}

.cx-design-system .cx-r1-device-dot .device-dot-card {
    min-width: 0;
    min-height: 156px;
    padding: 14px;
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "status details"
        "status action";
    gap: 12px 16px;
    overflow: hidden;
    border: 1px solid #d8e3ec;
    border-radius: 12px;
    background: #fbfcfd;
    box-shadow: none;
}

.cx-design-system .cx-r1-device-dot .device-dot-card-status {
    grid-area: status;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: start;
    gap: 10px;
}

.cx-design-system .cx-r1-device-dot .device-dot-image {
    width: 84px;
    height: 84px;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.cx-design-system .cx-r1-device-dot .device-dot-connection {
    max-width: 100%;
    min-height: 28px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 760;
    line-height: 1;
    white-space: nowrap;
}

.cx-design-system .cx-r1-device-dot .device-dot-connected {
    border-color: #bdd9c4;
    background: #edf8f0;
    color: #2f6940;
}

.cx-design-system .cx-r1-device-dot .device-dot-disconnected {
    border-color: #e1c8cc;
    background: #fbf1f2;
    color: #8a3e49;
}

.cx-design-system .cx-r1-device-dot .device-dot-card-details {
    grid-area: details;
    min-width: 0;
    padding-top: 2px;
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 10px;
}

.cx-design-system .cx-r1-device-dot .device-dot-name {
    max-width: 100%;
    overflow: hidden;
    color: #29455f;
    font-size: 15px;
    font-weight: 780;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cx-design-system .cx-r1-device-dot .device-dot-battery {
    min-height: 30px;
    padding: 0 9px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dce5ec;
    border-radius: 8px;
    background: #fff;
    color: #4d657c;
    font-size: 12px;
    font-weight: 720;
    font-variant-numeric: tabular-nums;
}

.cx-design-system .cx-r1-device-dot .device-dot-battery > i {
    color: #4f789d;
}

.cx-design-system .cx-r1-device-dot .device-dot-card-action {
    grid-area: action;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    align-self: end;
}

.cx-design-system .cx-r1-device-dot .device-dot-locate-button {
    width: auto;
    min-width: 0;
    min-height: 36px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #cbd9e4;
    border-radius: 9px;
    background: #fff;
    color: #315879;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    line-height: 1.2;
    cursor: pointer;
}

.cx-design-system .cx-r1-device-dot .device-dot-locate-button:hover:not(:disabled) {
    border-color: #aebfcd;
    background: #f5f8fb;
    color: #294f70;
}

.cx-design-system .cx-r1-device-dot .device-dot-locate-button:focus-visible {
    outline: 0;
    border-color: #6689a8;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .085) !important;
}

.cx-design-system .cx-r1-device-dot .device-dot-locate-button:disabled {
    cursor: not-allowed;
    opacity: .58;
}

.cx-design-system .cx-r1-device-dot .device-dot-locate-button > img {
    width: 17px;
    height: 17px;
    display: block;
    object-fit: contain;
}

.cx-design-system .cx-r1-device-dot .device-dot-unavailable {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e1e7ec;
    border-radius: 9px;
    background: #f7f9fb;
    color: #8a98a6;
    font-size: 13px;
}

@media (max-width: 767.98px) {
    .cx-design-system .cx-r1-device-dot .device-dot-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-design-system .cx-r1-device-dot .device-dot-card {
        width: 100%;
        max-width: 520px;
        grid-template-columns: 92px minmax(0, 1fr);
    }
}

@media (max-width: 479.98px) {
    .cx-design-system .cx-r1-device-dot .device-dot-card {
        padding: 12px;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px 12px;
    }

    .cx-design-system .cx-r1-device-dot .device-dot-image {
        width: 72px;
        height: 72px;
    }

    .cx-design-system .cx-r1-device-dot .device-dot-connection {
        padding: 0 7px;
        font-size: 10.75px;
    }
}

.cx-design-system .cx-r1-device-dot .device-dot-battery-field-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
    align-items: start;
    gap: 14px 18px;
}

.cx-design-system .cx-r1-device-dot .device-dot-battery-input-wrap {
    position: relative;
    min-width: 0;
    width: 100%;
}

.cx-design-system .cx-r1-device-dot .device-dot-battery-input {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding-right: 52px;
    font-variant-numeric: tabular-nums;
}

.cx-design-system .cx-r1-device-dot .device-dot-battery-suffix {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 46px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #e1e8ee;
    border-radius: 0 9px 9px 0;
    background: #f5f8fa;
    color: #526b82;
    font-size: 13px;
    font-weight: 760;
    pointer-events: none;
}

.cx-design-system .cx-r1-device-dot .device-dot-battery-description {
    min-height: 46px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    border-left: 3px solid #86a3bd;
    border-radius: 7px;
    background: #f7fafc;
    color: #5b7186;
    font-size: 12.75px;
    line-height: 1.5;
}

.cx-design-system .cx-r1-device-dot .device-dot-recipients {
    min-width: 0;
    display: grid;
    gap: 14px;
}

.cx-design-system .cx-r1-device-dot .device-dot-card,
.cx-design-system .cx-r1-device-dot .device-dot-locate-button {
    transition:
        border-color .18s cubic-bezier(.2, .72, .26, 1),
        background-color .18s cubic-bezier(.2, .72, .26, 1),
        box-shadow .18s cubic-bezier(.2, .72, .26, 1) !important;
}

.cx-design-system .cx-r1-device-dot .device-dot-card:hover,
.cx-design-system .cx-r1-device-dot .device-dot-locate-button:hover:not(:disabled) {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(36, 66, 95, .05) !important;
}

@keyframes cx-r8-popover-in {
    from {
        opacity: 0;
        transform: translateY(-3px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 767.98px) {
    .cx-design-system .cx-r1-device-dot .device-dot-battery-field-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system .cx-custom-select-trigger,
    .cx-design-system .cx-custom-select-option,
    .cx-design-system .cx-paged-list .conexgo-pagedlist-pagination .page-link,
    .cx-design-system .cx-device-config-dialog .form-control,
    .cx-design-system .cx-device-config-dialog input,
    .cx-design-system .cx-device-config-dialog textarea {
        transition-duration: .01ms !important;
    }
}

/* ==========================================================================
   CONEXGO COLLAPSIBLE FILTERS + RESPONSIVE ERGONOMICS R8.2
   Shared disclosure for every ResponsiveFilterPanel, compact adaptive grids
   and one restrained focus treatment across lists and forms.
   ========================================================================== */

.cx-design-system {
    --cx-r82-focus-border: #6b8ba7;
    --cx-r82-focus-ring: 0 0 0 3px rgba(62, 106, 153, .075);
    --cx-r82-focus-shadow: 0 4px 12px rgba(36, 66, 95, .045);
}

/* Shared filter disclosure: used by Devices, Alerts and future pages. */
.cx-filter-disclosure {
    width: 100%;
    min-width: 0;
    margin: 0 0 12px;
    overflow: visible;
    border: 1px solid #dbe4ec;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 3px 12px rgba(36, 66, 95, .035);
}

.cx-filter-disclosure-toggle {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-radius: 11px;
    background: #ffffff;
    color: #29445e;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background-color .18s cubic-bezier(.2, .72, .26, 1),
        color .18s cubic-bezier(.2, .72, .26, 1),
        box-shadow .18s cubic-bezier(.2, .72, .26, 1);
}

.cx-filter-disclosure-toggle:hover:not(:disabled) {
    background: #f7f9fb;
}

.cx-filter-disclosure-toggle:focus-visible {
    outline: 0;
    box-shadow: inset var(--cx-r82-focus-ring);
}

.cx-filter-disclosure-toggle:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.cx-filter-disclosure-heading {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cx-filter-disclosure-icon {
    width: 31px;
    height: 31px;
    min-width: 31px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbe5ed;
    border-radius: 9px;
    background: #eef4f8;
    color: #416b91;
    font-size: 12px;
}

.cx-filter-disclosure-title {
    min-width: 0;
    overflow: hidden;
    color: #2d4963;
    font-size: 13px;
    font-weight: 780;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cx-filter-disclosure-badge {
    min-width: 28px;
    height: 26px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d7e2eb;
    border-radius: 999px;
    background: #f7fafc;
    color: #315879;
    font-size: 11.5px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cx-filter-disclosure-chevron {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: #526f89;
    font-size: 12px;
    transition:
        background-color .18s cubic-bezier(.2, .72, .26, 1),
        color .18s cubic-bezier(.2, .72, .26, 1);
}

.cx-filter-disclosure-toggle:hover:not(:disabled)
.cx-filter-disclosure-chevron {
    background: #edf3f7;
    color: #315879;
}

.cx-filter-disclosure-chevron i {
    transition: transform .2s cubic-bezier(.2, .72, .26, 1);
}

.cx-filter-disclosure[data-expanded="true"]
.cx-filter-disclosure-toggle {
    border-radius: 11px 11px 0 0;
    background: #fbfcfd;
    box-shadow: inset 0 -1px 0 #e3eaf0;
}

.cx-filter-disclosure[data-expanded="true"]
.cx-filter-disclosure-chevron {
    background: #eaf2f7;
    color: #315879;
}

.cx-filter-disclosure[data-expanded="true"]
.cx-filter-disclosure-chevron i {
    transform: rotate(180deg);
}

.cx-filter-disclosure-region {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition:
        grid-template-rows .22s cubic-bezier(.2, .72, .26, 1),
        opacity .16s ease,
        visibility 0s linear .22s;
}

.cx-filter-disclosure[data-expanded="true"]
.cx-filter-disclosure-region {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition:
        grid-template-rows .22s cubic-bezier(.2, .72, .26, 1),
        opacity .18s ease .03s,
        visibility 0s;
}

.cx-filter-disclosure-inner {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

/* Device filters: compact and truly adaptive when the shared panel is open. */
.cx-filter-disclosure-inner > .device-filter-panel--professional {
    padding: 11px 12px 13px !important;
    border: 0 !important;
    background: #ffffff !important;
}

.cx-filter-disclosure-inner > .device-filter-panel--professional::before {
    display: none !important;
}

.cx-filter-disclosure-inner .device-filter-toolbar {
    min-height: 0;
    margin: 0 0 9px;
    justify-content: flex-end;
    gap: 10px;
}

.cx-filter-disclosure-inner .device-filter-summary {
    display: none !important;
}

.cx-filter-disclosure-inner .device-filter-reset {
    min-height: 34px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 11.5px;
    box-shadow: none;
}

.cx-filter-disclosure-inner .device-filter-reset:hover:not(:disabled),
.cx-filter-disclosure-inner .device-filter-reset:focus-visible:not(:disabled) {
    border-color: #b2c3d1;
    background: #f6f8fa;
    box-shadow: var(--cx-r82-focus-shadow);
    transform: none;
}

.cx-filter-disclosure-inner .device-filter-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 10px;
}

.cx-filter-disclosure-inner .device-filter-field {
    gap: 5px;
    animation: none !important;
}

.cx-filter-disclosure-inner .device-filter-label {
    min-height: 24px;
    gap: 6px;
    font-size: 11.5px;
}

.cx-filter-disclosure-inner .device-filter-label-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 7px;
    box-shadow: none;
    transform: none !important;
}

.cx-filter-disclosure-inner .device-filter-field:hover
.device-filter-label-icon,
.cx-filter-disclosure-inner .device-filter-field:focus-within
.device-filter-label-icon {
    border-color: #c3d2df;
    background: #eef4f8;
    transform: none !important;
}

.cx-filter-disclosure-inner .device-filter-control
.cx-custom-select-trigger {
    height: 42px;
    min-height: 42px;
    border-radius: 9px;
}

/* Alert filters: no oversized row, responsive chips with clean wrapping. */
.cx-filter-disclosure-inner > .alert-filter-panel {
    margin: 0 !important;
    padding: 11px 12px 13px;
}

.cx-filter-disclosure-inner .alert-filter-inline {
    width: 100%;
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.cx-filter-disclosure-inner .alert-filter-inline > label {
    min-height: 34px;
    margin: 0 !important;
    padding: 5px 9px;
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    transition:
        border-color .18s cubic-bezier(.2, .72, .26, 1),
        background-color .18s cubic-bezier(.2, .72, .26, 1);
}

.cx-filter-disclosure-inner .alert-filter-inline > label:hover {
    border-color: #d8e2ea;
    background: #f7f9fb;
}

/* One softer, consistent focus color across all pages. */
.cx-design-system .cx-custom-select-trigger:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-open,
.cx-design-system .form-control:focus,
.cx-design-system .form-select:focus,
.cx-design-system input:not([type="checkbox"]):not([type="radio"]):focus,
.cx-design-system textarea:focus {
    border-color: var(--cx-r82-focus-border) !important;
    outline: 0 !important;
    box-shadow:
        var(--cx-r82-focus-ring),
        var(--cx-r82-focus-shadow) !important;
}

.cx-design-system button:focus-visible,
.cx-design-system a:focus-visible,
.cx-design-system [role="button"]:focus-visible {
    outline: 0;
}

.cx-design-system .cx-paged-list
.conexgo-pagedlist-pagination
.page-item:not(.disabled):not(.conexgo-pagedlist-page-status)
.page-link:focus-visible {
    border-color: var(--cx-r82-focus-border) !important;
    box-shadow: var(--cx-r82-focus-ring) !important;
}

/* PagedList itself remains compact on every list page. */
.cx-design-system .cx-paged-list .conexgo-pagedlist-toolbar {
    gap: 10px 14px !important;
    margin-bottom: 10px !important;
}

.cx-design-system .cx-paged-list .conexgo-pagedlist-filters {
    gap: 10px !important;
}

.cx-design-system .cx-paged-list
.conexgo-pagedlist-pagination .pagination {
    gap: 5px !important;
}

@media (max-width: 1499.98px) {
    .cx-filter-disclosure-inner .device-filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .cx-filter-disclosure {
        margin-bottom: 10px;
    }

    .cx-filter-disclosure-toggle {
        min-height: 48px;
        padding: 8px 10px;
    }

    .cx-filter-disclosure-inner .device-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-design-system .cx-paged-list .conexgo-pagedlist-toolbar {
        align-items: stretch !important;
    }

    .cx-design-system .cx-paged-list
    .conexgo-pagedlist-pagination {
        justify-self: stretch !important;
    }
}

@media (max-width: 639.98px) {
    .cx-filter-disclosure-title {
        font-size: 12.5px;
    }

    .cx-filter-disclosure-inner > .device-filter-panel--professional,
    .cx-filter-disclosure-inner > .alert-filter-panel {
        padding: 10px !important;
    }

    .cx-filter-disclosure-inner .device-filter-toolbar {
        align-items: stretch;
        margin-bottom: 8px;
    }

    .cx-filter-disclosure-inner .device-filter-reset {
        width: 100%;
        min-height: 38px;
    }

    .cx-filter-disclosure-inner .device-filter-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .cx-filter-disclosure-inner .alert-filter-inline {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    .cx-filter-disclosure-inner .alert-filter-inline > label {
        min-width: 0;
    }

    .cx-design-system .cx-paged-list
    .conexgo-pagedlist-filters {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

@media (max-width: 399.98px) {
    .cx-filter-disclosure-inner .alert-filter-inline {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-filter-disclosure-heading {
        gap: 8px;
    }

    .cx-filter-disclosure-icon {
        width: 29px;
        height: 29px;
        min-width: 29px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-filter-disclosure-region,
    .cx-filter-disclosure-chevron i,
    .cx-filter-disclosure-toggle,
    .cx-filter-disclosure-inner * {
        transition-duration: .01ms !important;
        animation: none !important;
    }
}
/* ==========================================================================
   CONEXGO MODAL CUSTOM SELECT OVERLAY R8.3
   MudPopover content is portalled outside the modal content tree. These rules
   are intentionally global so the dropdown remains styled and above MudDialog.
   ========================================================================== */

.mud-popover.cx-custom-select-popover,
.mud-popover.cx-custom-select-popover--overlay,
.cx-custom-select-popover,
.cx-custom-select-popover--overlay {
    z-index: 3200 !important;
    margin-top: 6px;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

.mud-popover.cx-custom-select-popover .cx-custom-select-menu,
.mud-popover.cx-custom-select-popover--overlay .cx-custom-select-menu,
.cx-custom-select-popover .cx-custom-select-menu,
.cx-custom-select-popover--overlay .cx-custom-select-menu {
    width: 100%;
    min-width: 100%;
    max-width: min(560px, calc(100vw - 24px));
    max-height: min(320px, calc(100vh - 32px)) !important;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: 1px solid #d8e2ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow:
        0 14px 30px rgba(36, 66, 95, .12),
        0 3px 9px rgba(36, 66, 95, .05);
    scrollbar-width: thin;
    scrollbar-color: #a8b8c7 transparent;
}

.mud-popover.cx-custom-select-popover .cx-custom-select-option,
.mud-popover.cx-custom-select-popover--overlay .cx-custom-select-option,
.cx-custom-select-popover .cx-custom-select-option,
.cx-custom-select-popover--overlay .cx-custom-select-option {
    width: 100%;
    min-width: 0;
}

.cx-design-system .cx-custom-select-trigger:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-open {
    border-color: #7894ad !important;
    outline: 0 !important;
    background: #ffffff;
    box-shadow:
        0 0 0 2px rgba(62, 106, 153, .065),
        0 3px 9px rgba(36, 66, 95, .04) !important;
    transform: none !important;
}

.cx-design-system .cx-custom-select-trigger.is-open
.cx-custom-select-chevron {
    background: #edf3f7;
    color: #315879;
}

@media (max-width: 575.98px) {
    .mud-popover.cx-custom-select-popover .cx-custom-select-menu,
    .mud-popover.cx-custom-select-popover--overlay .cx-custom-select-menu,
    .cx-custom-select-popover .cx-custom-select-menu,
    .cx-custom-select-popover--overlay .cx-custom-select-menu {
        max-width: calc(100vw - 16px);
        max-height: min(280px, calc(100vh - 24px)) !important;
        border-radius: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mud-popover.cx-custom-select-popover .cx-custom-select-menu,
    .mud-popover.cx-custom-select-popover--overlay .cx-custom-select-menu,
    .cx-custom-select-popover .cx-custom-select-menu,
    .cx-custom-select-popover--overlay .cx-custom-select-menu {
        animation: none !important;
    }
}

/* ==========================================================================
   CONEXGO MODAL SELECT VISIBILITY R8.4 CORRECTED
   Keeps the same custom selects everywhere. Only the portalled dropdown layer
   is raised and styled globally so it remains visible above modal dialogs.
   ========================================================================== */

.mud-popover-provider.cx-popover-provider--select-visible,
.mud-popover-provider:has(
    .cx-custom-select-popover--overlay.mud-popover-open
) {
    z-index: 5200 !important;
}

.mud-popover.cx-custom-select-popover,
.mud-popover.cx-custom-select-popover--overlay,
.mud-popover.cx-custom-select-popover--elevated {
    z-index: 5200 !important;
    overflow: visible !important;
    background: transparent !important;
    box-shadow: none !important;
    pointer-events: auto !important;
}

.mud-popover.cx-custom-select-popover.mud-popover-open,
.mud-popover.cx-custom-select-popover--overlay.mud-popover-open,
.mud-popover.cx-custom-select-popover--elevated.mud-popover-open {
    visibility: visible !important;
    pointer-events: auto !important;
}

.cx-custom-select-menu[data-cx-select-owner] {
    width: 100%;
    min-width: 100%;
    max-width: min(560px, calc(100vw - 24px));
    max-height: min(320px, calc(100vh - 32px)) !important;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: 1px solid #d8e2ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow:
        0 14px 30px rgba(36, 66, 95, .12),
        0 3px 9px rgba(36, 66, 95, .05);
    scrollbar-width: thin;
    scrollbar-color: #a8b8c7 transparent;
}

.cx-custom-select-menu[data-cx-select-owner]
.cx-custom-select-option {
    width: 100%;
    min-width: 0;
}

.cx-design-system .cx-custom-select-trigger:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-open {
    border-color: #7894ad !important;
    outline: 0 !important;
    background: #ffffff;
    box-shadow:
        0 0 0 2px rgba(62, 106, 153, .065),
        0 3px 9px rgba(36, 66, 95, .04) !important;
    transform: none !important;
}

@media (max-width: 575.98px) {
    .cx-custom-select-menu[data-cx-select-owner] {
        max-width: calc(100vw - 16px);
        max-height: min(280px, calc(100vh - 24px)) !important;
        border-radius: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-custom-select-menu[data-cx-select-owner] {
        animation: none !important;
    }
}

/* ==========================================================================
   CONEXGO TOP-LAYER CUSTOM SELECT R8.5
   The same custom select is used on normal pages and in dialogs. The dropdown
   uses the browser top layer, so modal overflow and z-index cannot hide it.
   ========================================================================== */

.cx-custom-select-menu--top-layer[popover] {
    position: fixed;
    inset: auto;
    margin: 0;
    padding: 7px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    border: 1px solid #d8e2ea;
    border-radius: 12px;
    background: #ffffff;
    color: #29435d;
    box-shadow:
        0 16px 34px rgba(36, 66, 95, .14),
        0 4px 10px rgba(36, 66, 95, .055);
    scrollbar-width: thin;
    scrollbar-color: #a8b8c7 transparent;
    z-index: 2147483000;
}

.cx-custom-select-menu--top-layer[popover]::backdrop {
    background: transparent;
    pointer-events: none;
}

.cx-custom-select-menu--top-layer[popover]:popover-open {
    display: block;
    visibility: visible;
    animation: cx-r85-select-open
        .16s cubic-bezier(.2, .72, .26, 1)
        both;
}

.cx-custom-select-menu--top-layer
.cx-custom-select-option {
    width: 100%;
    min-width: 0;
}

.cx-custom-select-menu--fallback-open {
    display: block !important;
    z-index: 2147483000 !important;
}

.cx-custom-select-value,
.cx-custom-select-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cx-custom-select-value > i,
.cx-custom-select-option-label > i {
    width: 17px;
    min-width: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #416b91;
    font-size: 13px;
    line-height: 1;
}

.cx-custom-select-option.is-selected
.cx-custom-select-option-label > i {
    color: #2f5f88;
}

.cx-design-system .cx-custom-select-trigger:focus-visible,
.cx-design-system .cx-custom-select-trigger.is-open {
    border-color: #7894ad !important;
    outline: 0 !important;
    background: #ffffff;
    box-shadow:
        0 0 0 2px rgba(62, 106, 153, .065),
        0 3px 9px rgba(36, 66, 95, .04) !important;
    transform: none !important;
}

@keyframes cx-r85-select-open {
    from {
        opacity: 0;
        transform: translateY(-3px) scale(.995);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 575.98px) {
    .cx-custom-select-menu--top-layer[popover] {
        padding: 6px;
        border-radius: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-custom-select-menu--top-layer[popover] {
        animation: none !important;
    }
}

/* ==========================================================================
   CONEXGO PHASE 11 R2 DEVICE FORM ERGONOMICS
   Compact modal forms, aligned read-only values and responsive sizing.
   ========================================================================== */

:root {
    --cx-form-dialog-max-width: 1280px;
    --cx-form-inner-max-width: 1120px;
}

.mud-dialog:has(.form-horizontal),
.mud-dialog:has(.conexgo-device-addedit-form) {
    width: min(
        calc(100vw - 40px),
        var(--cx-form-dialog-max-width)
    ) !important;
    max-width: var(--cx-form-dialog-max-width) !important;
    max-height: min(90vh, 900px) !important;
    border-radius: 15px !important;
}

.mud-dialog:has(.form-horizontal) .mud-dialog-content,
.mud-dialog .conexgo-device-addedit-content {
    padding: 18px 22px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

.mud-dialog:has(.form-horizontal) .form-horizontal,
.conexgo-device-addedit-form {
    width: 100%;
    max-width: var(--cx-form-inner-max-width);
    margin-inline: auto;
}

.mud-dialog:has(.form-horizontal) .form-horizontal > .row,
.conexgo-device-addedit-form > .row {
    margin-right: 0;
    margin-bottom: 10px;
    margin-left: 0;
    align-items: center;
}

.mud-dialog:has(.form-horizontal) .form-horizontal > .row > [class*="col-"],
.conexgo-device-addedit-form > .row > [class*="col-"] {
    min-width: 0;
}

.mud-dialog:has(.form-horizontal) .form-label,
.conexgo-device-addedit-form .form-label {
    min-height: 42px;
    margin: 0;
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: #3c5268;
    font-size: 12px;
    font-weight: 780;
    line-height: 1.25;
    text-align: right !important;
}

.conexgo-readonly-value,
.mud-dialog .form-horizontal > .row >
.col-md-9:not(:has(
    input,
    textarea,
    select,
    button,
    .cx-control,
    .mud-input-control,
    .custom-switch
)) {
    min-height: 42px;
    margin-top: 0 !important;
    padding: 0 13px !important;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-wrap: anywhere;
    border: 1px solid #dbe4ec;
    border-radius: 9px;
    background: #f4f7f9;
    color: #304a62;
    font-size: 13px;
    line-height: 1.35;
}

.mud-dialog .form-control[readonly],
.mud-dialog .form-control:disabled,
.mud-dialog input[readonly],
.mud-dialog input:disabled,
.mud-dialog textarea[readonly],
.mud-dialog textarea:disabled {
    min-height: 42px;
    padding-right: 13px !important;
    padding-left: 13px !important;
    border-color: #dbe4ec !important;
    background: #f4f7f9 !important;
    color: #304a62 !important;
    opacity: 1 !important;
}

.conexgo-device-addedit-form .form-control,
.conexgo-device-addedit-form .form-select,
.conexgo-device-addedit-form .cx-custom-select-trigger {
    min-height: 42px;
}

.conexgo-device-addedit-form textarea.form-control {
    min-height: 110px !important;
    height: 156px;
    max-height: none !important;
    resize: both !important;
    overflow: auto !important;
    overscroll-behavior: contain;
}

.mud-dialog .conexgo-device-addedit-actions {
    padding: 12px 18px !important;
}

@media (max-width: 991.98px) {
    :root {
        --cx-form-dialog-max-width: 900px;
        --cx-form-inner-max-width: 820px;
    }
}

@media (max-width: 767.98px) {
    .mud-dialog:has(.form-horizontal),
    .mud-dialog:has(.conexgo-device-addedit-form) {
        width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
        max-height: calc(100vh - 12px) !important;
        border-radius: 12px !important;
    }

    .mud-dialog:has(.form-horizontal) .mud-dialog-content,
    .mud-dialog .conexgo-device-addedit-content {
        padding: 14px !important;
    }

    .mud-dialog:has(.form-horizontal) .form-label,
    .conexgo-device-addedit-form .form-label {
        min-height: auto;
        margin-bottom: 6px;
        justify-content: flex-start;
        text-align: left !important;
    }

    .conexgo-readonly-value,
    .mud-dialog .form-horizontal > .row >
    .col-md-9:not(:has(
        input,
        textarea,
        select,
        button,
        .cx-control,
        .mud-input-control,
        .custom-switch
    )) {
        width: 100%;
        min-height: 42px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mud-dialog:has(.form-horizontal) *,
    .conexgo-device-addedit-form * {
        transition-duration: .01ms !important;
        animation: none !important;
    }
}

/* Responsive alignment for tablets, wide screens and header overlays. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .main-content.app-content .main-container.container-fluid {
        padding-inline: clamp(14px, 2vw, 24px) !important;
    }
    .page-title { font-size: clamp(1.35rem, 1.15rem + .55vw, 1.7rem) !important; }
    .btn:not(.btn-sm):not(.btn-icon),
    .mud-button-root:not(.mud-icon-button) {
        min-height: 40px;
        font-size: .88rem;
    }
    .conexgo-header-dropdown-menu {
        max-width: min(440px, calc(100vw - 24px)) !important;
    }
    .responsive-filter-panel,
    .conexgo-filter-panel,
    .device-filter-panel {
        width: 100% !important;
    }
}

@media (min-width: 1600px) {
    .main-content.app-content .main-container.container-fluid {
        max-width: 1780px;
        margin-inline: auto !important;
        padding-inline: clamp(24px, 2.3vw, 46px) !important;
    }
    .page-title { font-size: clamp(1.55rem, 1.3rem + .4vw, 1.95rem) !important; }
    .card-header h2,
    .card-header h3 { font-size: clamp(1.12rem, 1rem + .25vw, 1.35rem); }
    .form-control,
    .cx-select-control,
    .mud-input-control { font-size: .95rem; }
}

@media (max-width: 767.98px) {
    .conexgo-header-dropdown-menu,
    .conexgo-servers-dropdown,
    .conexgo-language-dropdown,
    .conexgo-alert-dropdown,
    .conexgo-notification-dropdown {
        position: fixed !important;
        top: 70px !important;
        left: 8px !important;
        right: 8px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: calc(100dvh - 154px) !important;
        overflow-y: auto !important;
        transform: none !important;
        border-radius: 12px !important;
    }
    .conexgo-alert-dropdown { top: 54px !important; }
    .responsive-filter-panel,
    .conexgo-filter-panel,
    .device-filter-panel,
    .conexgo-list-filter-panel {
        width: 100% !important;
        max-width: none !important;
        padding: 12px !important;
    }
    .responsive-filter-panel .row,
    .conexgo-filter-panel .row,
    .device-filter-panel .row {
        margin-inline: 0 !important;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 10px !important;
    }
    .responsive-filter-panel [class*="col-"],
    .conexgo-filter-panel [class*="col-"],
    .device-filter-panel [class*="col-"] {
        width: 100% !important;
        max-width: none !important;
        padding-inline: 0 !important;
    }
    .responsive-filter-panel .form-control,
    .responsive-filter-panel select,
    .conexgo-filter-panel .form-control,
    .device-filter-panel .form-control,
    .device-filter-panel select {
        width: 100% !important;
        max-width: none !important;
    }
    .side-app { min-height: auto !important; }
    .main-content.app-content { min-height: auto !important; }
    .conexgo-page-content { padding-bottom: 6px; }
}

/* Underline useful links inside table data cells only. Dropdowns, buttons and navigation remain clean. */
.table tbody td a:not(.dropdown-item):not(.btn),
.table tbody td a:not(.dropdown-item):not(.btn):hover,
.table tbody td a:not(.dropdown-item):not(.btn):focus-visible {
    text-decoration: underline;
    text-underline-offset: 2px;
}
.table tbody td a:not(.dropdown-item):not(.btn):hover,
.table tbody td a:not(.dropdown-item):not(.btn):focus-visible {
    color: #1f4f78 !important;
}
.table .dropdown-menu a,
.table .dropdown-menu a:hover,
.table .dropdown-menu a:focus-visible {
    text-decoration: none !important;
}

.cx-map-empty-state {
    min-height: 360px;
    display: grid;
    place-items: center;
    padding: 24px;
    color: #6e7f91;
    font-size: .95rem;
    text-align: center;
    background: #f8fafc;
}
@media (max-width: 767.98px) {
    .cx-map-empty-state { min-height: 260px; }
}


/* CONEXGO MOBILE PAGE HEADER ALIGNMENT R4 */
@media (max-width: 767.98px) {
    .page-header.cx-page-header-with-mobile-back,
    .cx-settings-page-header.cx-page-header-with-mobile-back,
    .cx-page-header-with-mobile-back {
        display: grid !important;
        grid-template-columns: 44px minmax(0, 1fr) !important;
        grid-template-rows: auto !important;
        column-gap: 10px !important;
        row-gap: 0 !important;
        align-items: start !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 0 12px !important;
        padding: 8px 0 10px !important;
    }

    .cx-page-header-with-mobile-back > .cx-page-header-mobile-back {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: start !important;
        justify-self: start !important;
        margin: 0 !important;
    }

    .cx-page-header-with-mobile-back > .cx-page-header-copy {
        grid-column: 2 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 4px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cx-page-header-with-mobile-back .cx-page-header-copy > .page-title,
    .cx-page-header-with-mobile-back .page-title {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 1.05rem !important;
        line-height: 1.25 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .cx-page-header-with-mobile-back .cx-page-header-copy > .breadcrumb,
    .cx-page-header-with-mobile-back .breadcrumb {
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 0 !important;
        font-size: .75rem !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }

    .cx-page-header-with-mobile-back .breadcrumb-item,
    .cx-page-header-with-mobile-back .breadcrumb-item a {
        font-size: inherit !important;
        line-height: inherit !important;
    }
}

/* CONEXGO R6 MOBILE BACK HEADER STANDARD */
@media (max-width: 767.98px) {
    .page-header.cx-page-header-with-mobile-back, .cx-page-header-with-mobile-back {
        width: 100% !important; min-width: 0 !important; min-height: 0 !important;
        margin: 0 0 14px !important; padding: 10px 0 12px !important;
        display: flex !important; align-items: flex-start !important; justify-content: flex-start !important;
        flex-wrap: nowrap !important; gap: 11px !important; background: transparent !important;
    }
    .cx-page-header-with-mobile-back .cx-page-header-mobile-back {
        width: 42px !important; min-width: 42px !important; height: 42px !important; min-height: 42px !important;
        flex: 0 0 42px !important; margin: 0 !important; padding: 0 !important;
        display: inline-grid !important; place-items: center !important; align-self: flex-start !important;
        border-radius: 999px !important;
    }
    .cx-page-header-with-mobile-back .cx-page-header-mobile-back > a,
    .cx-page-header-with-mobile-back .cx-page-header-mobile-back > button,
    .cx-page-header-with-mobile-back a.cx-page-header-mobile-back,
    .cx-page-header-with-mobile-back button.cx-page-header-mobile-back {
        width: 42px !important; min-width: 42px !important; height: 42px !important; min-height: 42px !important;
        padding: 0 !important; display: inline-grid !important; place-items: center !important; border-radius: 999px !important;
    }
    .cx-page-header-with-mobile-back .cx-page-header-copy {
        min-width: 0 !important; width: calc(100% - 53px) !important; margin: 0 !important; padding: 0 !important;
        display: grid !important; grid-template-columns: minmax(0,1fr) !important; grid-auto-flow: row !important;
        align-items: start !important; justify-items: start !important; gap: 5px !important;
    }
    .cx-page-header-with-mobile-back .cx-page-header-copy > .page-title,
    .cx-page-header-with-mobile-back .page-title {
        width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
        display: block !important; color: #15233b !important; font-size: 1.05rem !important; font-weight: 800 !important;
        line-height: 1.25 !important; text-align: left !important; white-space: normal !important;
    }
    .cx-page-header-with-mobile-back .cx-page-header-copy > .breadcrumb,
    .cx-page-header-with-mobile-back .breadcrumb {
        width: 100% !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
        display: flex !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-start !important;
        gap: 0 !important; font-size: .76rem !important; line-height: 1.35 !important; text-align: left !important;
    }
}

/* ==========================================================================
   CONEXGO R18-48.1 - GLOBAL SELECT / DROPDOWN REFINEMENT
   Final cascade layer for the shared CxSelect control. Keep the trigger quiet
   and compact, while the top-layer menu remains readable and viewport-safe.
   ========================================================================== */

html body .cx-custom-select-trigger {
    min-height: 42px !important;
    height: 42px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 0 5px 0 12px !important;
    border: 1px solid #c9d7e3 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #173b62 !important;
    box-shadow: 0 1px 2px rgba(22, 55, 87, .035) !important;
    transform: none !important;
    transition: border-color .14s ease, box-shadow .14s ease, background-color .14s ease !important;
}

html body .cx-custom-select-trigger:has(.cx-custom-select-leading-icon) {
    grid-template-columns: 26px minmax(0, 1fr) 30px !important;
    padding-left: 8px !important;
}

html body .cx-custom-select-trigger:hover:not(:disabled) {
    border-color: #91a9bd !important;
    background: #ffffff !important;
    box-shadow: 0 2px 5px rgba(22, 55, 87, .06) !important;
    transform: none !important;
}

html body .cx-custom-select-trigger:focus-visible,
html body .cx-custom-select-trigger[data-cx-open="True"],
html body .cx-custom-select-trigger[data-cx-open="true"] {
    border-color: #6f8faa !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .12) !important;
}

html body .cx-custom-select-value,
html body .cx-custom-select-option-label {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

html body .cx-custom-select-leading-icon {
    width: 26px !important;
    height: 30px !important;
    display: inline-grid !important;
    place-items: center !important;
    color: #557898 !important;
}

html body .cx-custom-select-chevron {
    width: 30px !important;
    min-width: 30px !important;
    height: 30px !important;
    display: inline-grid !important;
    place-items: center !important;
    align-self: center !important;
    justify-self: end !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: #f3f7fa !important;
    color: #3e6386 !important;
}

html body .cx-custom-select-trigger:hover:not(:disabled) .cx-custom-select-chevron {
    background: #eaf1f6 !important;
}

html body .cx-custom-select-menu--top-layer[popover],
html body .cx-custom-select-menu[data-cx-select-owner] {
    padding: 5px !important;
    border: 1px solid #cbd8e3 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 12px 30px rgba(18, 49, 78, .15), 0 2px 8px rgba(18, 49, 78, .07) !important;
    overflow-x: hidden !important;
    scrollbar-width: thin !important;
    scrollbar-color: #a9bac8 transparent !important;
}

html body .cx-custom-select-menu--top-layer[popover] .cx-custom-select-option,
html body .cx-custom-select-menu[data-cx-select-owner] .cx-custom-select-option {
    width: 100% !important;
    min-height: 38px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 24px !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 7px 8px 7px 10px !important;
    border: 0 !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #214467 !important;
    font-size: 13.5px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    text-align: left !important;
    transform: none !important;
}

html body .cx-custom-select-menu--top-layer[popover] .cx-custom-select-option:hover:not(:disabled),
html body .cx-custom-select-menu[data-cx-select-owner] .cx-custom-select-option:hover:not(:disabled),
html body .cx-custom-select-menu--top-layer[popover] .cx-custom-select-option.is-active,
html body .cx-custom-select-menu[data-cx-select-owner] .cx-custom-select-option.is-active {
    background: #f1f6f9 !important;
    color: #173b62 !important;
    transform: none !important;
}

html body .cx-custom-select-menu--top-layer[popover] .cx-custom-select-option[aria-selected="true"],
html body .cx-custom-select-menu[data-cx-select-owner] .cx-custom-select-option[aria-selected="true"] {
    background: #e8f1f7 !important;
    color: #173b62 !important;
    box-shadow: inset 3px 0 0 #3e6a99 !important;
}

html body .cx-custom-select-menu--top-layer[popover] .cx-custom-select-option[aria-selected="true"]:hover,
html body .cx-custom-select-menu[data-cx-select-owner] .cx-custom-select-option[aria-selected="true"]:hover {
    background: #dfebf4 !important;
}

html body .cx-custom-select-option-check {
    width: 24px !important;
    height: 24px !important;
    display: inline-grid !important;
    place-items: center !important;
    color: #3e6a99 !important;
}

@media (max-width: 767.98px) {
    html body .cx-custom-select-trigger {
        min-height: 44px !important;
        height: 44px !important;
    }
}

/* R18-48.1 CONTROL SYSTEM END */


/* ==========================================================================
   CONEXGO R18-55 - GLOBAL TOOLTIP SURFACE
   data-cx-tooltip already carries rich business text. This layer makes the
   shared tooltip visible, readable and usable above Dashboard cards/modals.
   ========================================================================== */

html body.cx-design-system .cx-tooltip-surface {
    position: fixed !important;
    z-index: 2147483000 !important;
    width: max-content !important;
    max-width: min(360px, calc(100vw - 24px)) !important;
    padding: 8px 10px !important;
    border: 1px solid rgba(208, 224, 235, .20) !important;
    border-radius: 8px !important;
    background: #203f5a !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(15, 40, 62, .24) !important;
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif !important;
    font-size: 12px !important;
    font-weight: 560 !important;
    line-height: 1.4 !important;
    letter-spacing: .002em !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(2px) scale(.985) !important;
    transform-origin: center bottom !important;
    transition:
        opacity .12s ease,
        transform .12s ease,
        visibility 0s linear .12s !important;
}

html body.cx-design-system .cx-tooltip-surface.is-visible {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    transition:
        opacity .12s ease,
        transform .12s ease,
        visibility 0s linear 0s !important;
}

@media (prefers-reduced-motion: reduce) {
    html body.cx-design-system .cx-tooltip-surface,
    html body.cx-design-system .cx-tooltip-surface.is-visible {
        transition: none !important;
        transform: none !important;
    }
}

/* CONEXGO R18-55 GLOBAL TOOLTIP SURFACE END */


/* CONEXGO R18-77.4.3 - canonical Conexgo tooltip surface */
html body.cx-design-system .cx-tooltip-surface {
    border-color: rgba(255,255,255,.16) !important;
    background: #2c5575 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(31, 66, 94, .22) !important;
}
/* CONEXGO R18-77.4.3 TOOLTIP END */

/* ==========================================================================
   SOURCE: wwwroot\css\conexgo-enterprise-polish.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/* Shared Conexgo interface refinements. */
.cx-design-system {
    --cx-blue-900: #243f5c;
    --cx-blue-800: #2c4c6c;
    --cx-blue-700: #3e6a99;
    --cx-blue-100: #eaf2f8;
    --cx-surface: #ffffff;
    --cx-surface-soft: #f6f9fc;
    --cx-border: #d7e2ec;
    --cx-text: #2b4058;
    --cx-muted: #66798d;
    --cx-radius-lg: 16px;
    --cx-shadow: 0 14px 34px rgba(35, 65, 94, .10);
}

.cx-design-system #conexgo-page-content .custom-card,
.cx-design-system #conexgo-page-content .card.custom-card {
    border-color: var(--cx-border);
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(35, 65, 94, .07);
}

.cx-design-system .cx-r1-section,
.cx-design-system .conexgo-simple-modal,
.cx-design-system .cx-password-dialog,
.cx-design-system .cx-modal-group-v21 {
    border-color: var(--cx-border);
}

.cx-design-system .cx-r1-section-title,
.cx-design-system .conexgo-simple-title,
.cx-design-system .cx-modal-group-v21 legend {
    color: var(--cx-blue-800);
}

.cx-design-system .cx-recipient-add,
.cx-design-system .cx-icon-add-button {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border-radius: 50% !important;
    display: inline-grid !important;
    place-items: center !important;
}

.cx-design-system .cx-dialog-textarea,
.cx-design-system textarea.cx-direct-large-textarea {
    width: 100%;
    max-width: 100%;
    min-height: 130px;
    max-height: none;
    resize: both !important;
    overflow: auto !important;
}

.cx-design-system .cx-rich-popover-surface,
.cx-design-system .cx-data-log-popover-surface {
    max-width: min(680px, calc(100vw - 24px));
    max-height: min(72vh, 720px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #cbd9e6;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(28, 55, 82, .20);
}

.cx-design-system .conexgo-not-found {
    width: min(820px, calc(100% - 32px));
    min-height: 0;
    margin: clamp(24px, 7vh, 64px) auto;
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    align-items: center;
    gap: clamp(24px, 5vw, 52px);
    text-align: left;
    border: 1px solid var(--cx-border);
    border-radius: 22px;
    background:
        radial-gradient(circle at 84% 18%, rgba(62, 106, 153, .11), transparent 34%),
        #ffffff;
    box-shadow: 0 16px 38px rgba(35, 65, 94, .10);
}

.cx-design-system .conexgo-not-found__copy {
    min-width: 0;
}

.cx-design-system .conexgo-not-found__visual {
    position: relative;
    width: 190px;
    min-height: 170px;
    display: grid;
    place-items: center;
    color: var(--cx-blue-800);
}

.cx-design-system .conexgo-not-found__visual span {
    font-size: clamp(5.4rem, 12vw, 8rem);
    font-weight: 850;
    line-height: .8;
    letter-spacing: -.08em;
    opacity: .10;
}

.cx-design-system .conexgo-not-found__visual i {
    position: absolute;
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    border: 1px solid #ccdae6;
    border-radius: 17px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(44, 76, 108, .15);
    font-size: 1.4rem;
}

.cx-design-system .conexgo-not-found__eyebrow {
    margin: 0 0 9px;
    color: var(--cx-blue-700);
    font-size: .75rem;
    font-weight: 820;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cx-design-system .conexgo-not-found h1 {
    margin: 0 0 12px;
    color: var(--cx-blue-900);
    font-size: clamp(2rem, 5vw, 3.15rem);
    line-height: 1.05;
}

.cx-design-system .conexgo-not-found p {
    max-width: 540px;
    margin: 0;
    color: var(--cx-muted);
    line-height: 1.58;
}

.cx-design-system .conexgo-not-found__lead {
    font-size: 1rem;
}

.cx-design-system .conexgo-not-found__secondary {
    margin-top: 5px !important;
    font-size: .88rem;
}

.cx-design-system .conexgo-not-found__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cx-design-system .conexgo-not-found__actions .btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 9px 17px;
    border-radius: 11px;
    font-weight: 750;
}

.cx-design-system .conexgo-not-found__primary {
    border-color: var(--cx-blue-700);
    background: var(--cx-blue-700);
    color: #ffffff;
}

.cx-design-system .conexgo-not-found__primary:hover,
.cx-design-system .conexgo-not-found__primary:focus-visible {
    border-color: var(--cx-blue-800);
    background: var(--cx-blue-800);
    color: #ffffff;
}

.cx-design-system .conexgo-not-found__secondary-action {
    border: 1px solid #cbd8e4;
    background: #ffffff;
    color: var(--cx-blue-800);
}

.cx-design-system .conexgo-not-found__secondary-action:hover,
.cx-design-system .conexgo-not-found__secondary-action:focus-visible {
    border-color: #aebfd0;
    background: #f6f9fc;
    color: var(--cx-blue-900);
}

@media (max-width: 767.98px) {
    .cx-design-system .conexgo-not-found {
        width: calc(100% - 20px);
        margin: 14px auto;
        padding: 28px 20px;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        text-align: center;
        border-radius: 18px;
    }

    .cx-design-system .conexgo-not-found__visual {
        width: 100%;
        min-height: 110px;
        grid-row: 1;
    }

    .cx-design-system .conexgo-not-found__copy {
        grid-row: 2;
    }

    .cx-design-system .conexgo-not-found p {
        margin-inline: auto;
    }

    .cx-design-system .conexgo-not-found__actions {
        justify-content: center;
    }
}

@media (max-width: 479.98px) {
    .cx-design-system .conexgo-not-found__actions,
    .cx-design-system .conexgo-not-found__actions .btn {
        width: 100%;
    }
}

.cx-design-system .conexgo-enterprise-footer {
    background:
        linear-gradient(180deg, rgba(255,255,255,.62), rgba(241,246,250,.92)),
        #f4f8fb !important;
}

.cx-design-system .conexgo-enterprise-footer__inner {
    max-width: 1680px;
    margin-inline: auto;
}

.cx-design-system .conexgo-enterprise-footer__brand-text {
    display: grid;
    gap: 1px;
}

.cx-design-system .conexgo-enterprise-footer__brand-subtitle {
    color: #7a8b9d;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .04em;
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system *,
    .cx-design-system *::before,
    .cx-design-system *::after {
        scroll-behavior: auto !important;
    }
}

/* ======================================================================
   R18-27 — runtime-safe forms and shared status pages
   ====================================================================== */

.cx-design-system .cx-safe-editform-loading {
    width: 100%;
    min-height: 150px;
    display: grid;
    place-items: center;
    padding: 28px;
    border: 1px solid var(--cx-border);
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(234, 242, 248, .72), rgba(255, 255, 255, .96)),
        #ffffff;
}

.cx-design-system .cx-safe-editform-loading__spinner {
    width: 34px;
    height: 34px;
    border: 3px solid #d9e5ef;
    border-top-color: var(--cx-blue-700);
    border-radius: 50%;
    animation: cxSafeEditFormSpin .72s linear infinite;
}

@keyframes cxSafeEditFormSpin {
    to { transform: rotate(360deg); }
}

.cx-design-system .cx-status-page {
    width: min(820px, calc(100% - 32px));
    min-height: 300px;
    margin: clamp(24px, 7vh, 70px) auto;
    padding: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: start;
    gap: clamp(20px, 4vw, 34px);
    border: 1px solid var(--cx-border);
    border-radius: 20px;
    background:
        radial-gradient(circle at 86% 14%, rgba(62, 106, 153, .10), transparent 34%),
        #ffffff;
    box-shadow: var(--cx-shadow);
}

.cx-design-system .cx-status-page__visual {
    width: 84px;
    min-height: 84px;
    display: grid;
    place-items: start center;
}

.cx-design-system .cx-status-page__icon {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 1px solid #cad9e6;
    border-radius: 18px;
    background: var(--cx-blue-100);
    color: var(--cx-blue-800);
    box-shadow: 0 10px 24px rgba(44, 76, 108, .10);
    font-size: 1.45rem;
}

.cx-design-system .cx-status-page--error .cx-status-page__icon {
    border-color: #e7c8c4;
    background: #fff4f2;
    color: #a34840;
}

.cx-design-system .cx-status-page__icon--loading i {
    animation: cxStatusPulse 1.2s ease-in-out infinite;
}

@keyframes cxStatusPulse {
    0%, 100% { opacity: .45; transform: scale(.96); }
    50% { opacity: 1; transform: scale(1.05); }
}

.cx-design-system .cx-status-page__content {
    min-width: 0;
}

.cx-design-system .cx-status-page__eyebrow {
    margin: 2px 0 8px;
    color: var(--cx-blue-700);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.cx-design-system .cx-status-page h1 {
    margin: 0 0 12px;
    color: var(--cx-blue-900);
    font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
    line-height: 1.08;
}

.cx-design-system .cx-status-page__lead {
    max-width: 62ch;
    margin: 0;
    color: var(--cx-muted);
    font-size: .96rem;
    line-height: 1.62;
}

.cx-design-system .cx-status-page__context {
    max-width: 100%;
    margin: 18px 0 0;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #f7fafc;
    color: #61778b;
    font-size: .82rem;
}

.cx-design-system .cx-status-page__context code {
    max-width: 100%;
    overflow-wrap: anywhere;
    color: var(--cx-blue-800);
}

.cx-design-system .cx-status-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.cx-design-system .cx-status-page__actions .btn {
    min-height: 44px;
    padding: 9px 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border-radius: 10px;
    font-weight: 750;
}

.cx-design-system .cx-status-page__primary {
    border: 1px solid var(--cx-blue-700);
    background: var(--cx-blue-700);
    color: #ffffff;
}

.cx-design-system .cx-status-page__primary:hover,
.cx-design-system .cx-status-page__primary:focus-visible {
    border-color: var(--cx-blue-800);
    background: var(--cx-blue-800);
    color: #ffffff;
}

.cx-design-system .cx-status-page__secondary {
    border: 1px solid #c8d6e2;
    background: #ffffff;
    color: var(--cx-blue-800);
}

.cx-design-system .cx-status-page__secondary:hover,
.cx-design-system .cx-status-page__secondary:focus-visible {
    border-color: #aebfd0;
    background: #f5f8fb;
    color: var(--cx-blue-900);
}

/* Header panels must remain above page content and only one is kept open by
   conexgo-private-scripts.js. These constraints protect very narrow layouts. */
.cx-design-system .app-header-modern .conexgo-header-dropdown-menu.show {
    z-index: 1095 !important;
}

@media (max-width: 767.98px) {
    .cx-design-system .cx-status-page {
        width: calc(100% - 20px);
        min-height: 0;
        margin: 14px auto;
        padding: 26px 20px;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        text-align: center;
        border-radius: 17px;
    }

    .cx-design-system .cx-status-page__visual {
        width: 100%;
        min-height: 64px;
        place-items: center;
    }

    .cx-design-system .cx-status-page__icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
        font-size: 1.25rem;
    }

    .cx-design-system .cx-status-page__lead {
        margin-inline: auto;
    }

    .cx-design-system .cx-status-page__context {
        justify-content: center;
        text-align: left;
    }

    .cx-design-system .cx-status-page__actions {
        justify-content: center;
    }
}

@media (max-width: 479.98px) {
    .cx-design-system .cx-status-page__actions,
    .cx-design-system .cx-status-page__actions .btn {
        width: 100%;
    }

    .cx-design-system .cx-safe-editform-loading {
        min-height: 120px;
        padding: 20px;
        border-radius: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system .cx-safe-editform-loading__spinner,
    .cx-design-system .cx-status-page__icon--loading i {
        animation: none !important;
    }
}

/* ==========================================================================
   SOURCE: wwwroot\css\conexgo-phase-17-8-time-controls.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/*
 * CONEXGO R16.1 — custom Conexgo calendar.
 * The date control uses MudBlazor's inline popover calendar, never the browser's
 * native date picker. The visible value remains the real MudBlazor input value.
 */

.cx-design-system .cx-control-field.cx-date-picker-v16-1,
.cx-design-system .cx-control-field.cx-time-picker-v16,
.cx-design-system .cx-control-field.cx-datetime-picker-v16 {
    width: 100%;
    min-width: 0;
    display: grid;
    gap: 6px;
}

.cx-design-system .cx-control-label {
    margin: 0;
    color: #52677a;
    font-size: .78rem;
    font-weight: 750;
    line-height: 1.25;
}

/* ------------------------------------------------------------------
   Conexgo date field
   ------------------------------------------------------------------ */

.cx-design-system .cx-date-picker-v16-1,
.cx-design-system .cx-date-picker-v16-1 .cx-date-picker-shell,
.cx-design-system .cx-date-picker-v16-1 .mud-picker,
.cx-design-system .cx-date-picker-v16-1 .mud-input-control,
.cx-design-system .cx-date-picker-v16-1 .mud-input-control-input-container {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.cx-design-system .cx-date-picker-v16-1 .cx-date-picker-shell {
    position: relative;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #223b56 !important;
    box-sizing: border-box !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input-outlined-border {
    border-color: #cbd8e4 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: 0 1px 2px rgba(44, 76, 108, .035) !important;
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input:hover:not(.mud-disabled) {
    background: #fbfdff !important;
    color: #223b56 !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input:hover:not(.mud-disabled) .mud-input-outlined-border {
    border-color: #9fb6ca !important;
    background: transparent !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input:focus-within,
.cx-design-system .cx-date-picker-v16-1 .mud-input.mud-input-focused {
    background: #ffffff !important;
    color: #223b56 !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input:focus-within .mud-input-outlined-border,
.cx-design-system .cx-date-picker-v16-1 .mud-input.mud-input-focused .mud-input-outlined-border {
    border-color: #3e6a99 !important;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .12) !important;
}

/* Keep the real date visible in every interactive state. */
.cx-design-system .cx-date-picker-v16-1 input.mud-input-root,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-slot,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-root:hover,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-slot:hover,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-root:focus,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-slot:focus,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-root:active,
.cx-design-system .cx-date-picker-v16-1 input.mud-input-slot:active,
.cx-design-system .cx-date-picker-v16-1 .mud-input:hover input,
.cx-design-system .cx-date-picker-v16-1 .mud-input:focus-within input,
.cx-design-system .cx-date-picker-v16-1 .mud-input.mud-input-focused input {
    flex: 1 1 auto !important;
    width: 1% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 12px 0 16px !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    white-space: nowrap !important;
    color: #223b56 !important;
    -webkit-text-fill-color: #223b56 !important;
    caret-color: #223b56 !important;
    background: transparent !important;
    opacity: 1 !important;
    visibility: visible !important;
    direction: ltr !important;
    text-align: left !important;
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: 0 !important;
    line-height: 42px !important;
    box-sizing: border-box !important;
}

.cx-design-system .cx-date-picker-v16-1 input::placeholder {
    color: #8a99a8 !important;
    -webkit-text-fill-color: #8a99a8 !important;
    opacity: 1 !important;
    font-weight: 500 !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input.mud-disabled input,
.cx-design-system .cx-date-picker-v16-1 .mud-input.mud-readonly input {
    color: #66788a !important;
    -webkit-text-fill-color: #66788a !important;
    opacity: 1 !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input-adornment-end {
    position: static !important;
    inset: auto !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    max-width: 44px !important;
    height: 38px !important;
    min-height: 38px !important;
    margin: 0 3px 0 0 !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transform: none !important;
    border: 0 !important;
    border-left: 1px solid #e2eaf1 !important;
    border-radius: 8px !important;
    background: #edf4f8 !important;
    color: #315f88 !important;
    box-sizing: border-box !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input-adornment-end .mud-icon-button,
.cx-design-system .cx-date-picker-v16-1 .mud-input-adornment-end .mud-button-root {
    width: 38px !important;
    min-width: 38px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-grid !important;
    place-items: center !important;
    border-radius: 7px !important;
    background: transparent !important;
    color: #315f88 !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input-adornment-end:hover,
.cx-design-system .cx-date-picker-v16-1 .mud-input-adornment-end:focus-within {
    background: #e2edf5 !important;
    color: #24435f !important;
}

.cx-design-system .cx-date-picker-v16-1 .mud-input-underline::before,
.cx-design-system .cx-date-picker-v16-1 .mud-input-underline::after {
    display: none !important;
}

/* ------------------------------------------------------------------
   Conexgo custom calendar popover
   ------------------------------------------------------------------ */

.mud-popover.mud-picker-popover {
    width: auto !important;
    min-width: 310px !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 20px) !important;
    overflow: hidden !important;
    overscroll-behavior: contain;
    border: 1px solid #d5e1eb !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 42px rgba(36, 66, 95, .20) !important;
    box-sizing: border-box !important;
    z-index: 1900 !important;
}

.mud-picker-popover .mud-picker {
    width: 310px !important;
    min-width: 310px !important;
    max-width: calc(100vw - 20px) !important;
    color: #243f5a !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.mud-picker-popover .mud-picker-calendar-container {
    max-width: 100% !important;
    padding: 10px 12px 13px !important;
    background: #ffffff !important;
    box-sizing: border-box !important;
}

.mud-picker-popover .mud-picker-calendar-header {
    min-height: 44px !important;
    padding: 4px 2px 8px !important;
    color: #223b55 !important;
    font-weight: 800 !important;
}

.mud-picker-popover .mud-picker-calendar-header-transition {
    overflow: visible !important;
    color: #223b55 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

.mud-picker-popover .mud-picker-calendar-header .mud-icon-button {
    color: #315f88 !important;
    border-radius: 8px !important;
}

.mud-picker-popover .mud-picker-calendar-header .mud-icon-button:hover {
    background: #edf4f8 !important;
    color: #24435f !important;
}

.mud-picker-popover .mud-picker-calendar-weekday {
    color: #718296 !important;
    font-size: .76rem !important;
    font-weight: 750 !important;
}

.mud-picker-popover .mud-day {
    border-radius: 9px !important;
    color: #315879 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.mud-picker-popover .mud-day:hover:not(.mud-disabled) {
    background: #edf4f8 !important;
    color: #24435f !important;
}

.mud-picker-popover .mud-day.mud-selected {
    background: #3e6a99 !important;
    color: #ffffff !important;
    box-shadow: 0 5px 13px rgba(62, 106, 153, .22) !important;
}

.mud-picker-popover .mud-day.mud-current {
    border-color: #6f94b5 !important;
}

/* ------------------------------------------------------------------
   Existing Conexgo time control
   ------------------------------------------------------------------ */

.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell {
    position: relative;
    width: 100%;
    min-width: 0;
    height: 44px;
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #cbd8e4;
    border-radius: 10px;
    background: #ffffff;
    color: #223b56;
    box-shadow: 0 1px 2px rgba(44, 76, 108, .035);
    transition:
        border-color .16s ease,
        box-shadow .16s ease,
        background-color .16s ease;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell:hover {
    border-color: #aebfd0;
    background: #ffffff;
    color: #223b56;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell:focus-within {
    border-color: #3e6a99;
    background: #ffffff;
    color: #223b56;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .12);
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell.is-disabled,
.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell.is-readonly {
    border-color: #dce4eb;
    background: #f4f7fa;
    color: #7b8b9b;
    box-shadow: none;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-display {
    position: relative;
    z-index: 1;
    width: 100%;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 48px;
    display: flex;
    align-items: center;
    border: 0;
    outline: 0;
    overflow: hidden;
    background: transparent !important;
    color: #223b56 !important;
    -webkit-text-fill-color: #223b56 !important;
    opacity: 1 !important;
    font: inherit;
    font-size: .92rem;
    font-weight: 650;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
    pointer-events: none;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-display.is-placeholder {
    color: #8a99a8 !important;
    -webkit-text-fill-color: #8a99a8 !important;
    font-weight: 500;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell:hover .cx-native-picker-display,
.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell:focus-within .cx-native-picker-display,
.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell:active .cx-native-picker-display {
    color: #223b56 !important;
    -webkit-text-fill-color: #223b56 !important;
    opacity: 1 !important;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-input {
    position: absolute;
    inset: 0;
    z-index: 3;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    color: transparent;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: auto;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-input:disabled {
    cursor: not-allowed;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-chevron,
.cx-design-system .cx-time-picker-v16 .cx-native-picker-leading-icon {
    position: absolute;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #315f88;
    pointer-events: none;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-leading-icon {
    left: 7px;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #edf4f8;
    font-size: .95rem;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-chevron {
    right: 7px;
    width: 30px;
    height: 30px;
    font-size: .78rem;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-clear {
    position: absolute;
    top: 7px;
    right: 42px;
    z-index: 4;
    width: 30px;
    height: 30px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #718296;
    cursor: pointer;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-clear:hover,
.cx-design-system .cx-time-picker-v16 .cx-native-picker-clear:focus-visible {
    background: #e8eef4;
    color: #2c4c6c;
    outline: 0;
}

.cx-design-system .cx-time-picker-v16 .cx-native-picker-shell.is-clearable .cx-native-picker-display {
    padding-right: 82px;
}

.cx-design-system .cx-control-help {
    color: #718092;
    font-size: .76rem;
    line-height: 1.35;
}

/* ------------------------------------------------------------------
   DateTime and shared custom ranges
   ------------------------------------------------------------------ */

.cx-design-system .cx-control-datetime-grid {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(160px, 1.2fr) minmax(130px, .8fr);
    gap: 10px;
}

.cx-design-system .cx-control-datetime-grid > * {
    min-width: 0;
}

.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 {
    width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    padding: 12px;
    overflow: visible;
    border: 1px solid #d7e2eb;
    border-radius: 12px;
    background: #f8fbfd;
    box-shadow: 0 4px 14px rgba(44, 76, 108, .045);
}

.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-custom-fields {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(170px, 1fr)
        minmax(128px, .66fr)
        34px
        minmax(170px, 1fr)
        minmax(128px, .66fr)
        minmax(118px, auto);
    align-items: end;
    gap: 10px;
}

.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-custom-group {
    display: contents;
}

.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-custom-separator {
    width: 34px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: end;
    border: 1px solid #d5e0e9;
    border-radius: 50%;
    background: #ffffff;
    color: #55718b;
}

.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-apply {
    min-width: 118px;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #2c4c6c;
    border-radius: 10px;
    background: #2c4c6c;
    color: #ffffff;
    font-size: .9rem;
    font-weight: 700;
    white-space: nowrap;
}

.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-apply:hover,
.cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-apply:focus-visible {
    border-color: #243f5a;
    background: #243f5a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(44, 76, 108, .14);
}

.cx-design-system .conexgo-history-custom-range-v16 {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns:
        minmax(170px, 1fr)
        minmax(128px, .7fr)
        minmax(170px, 1fr)
        minmax(128px, .7fr)
        minmax(110px, auto);
    align-items: end;
    gap: 10px;
}

@media (max-width: 1100px) {
    .cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-custom-fields,
    .cx-design-system .conexgo-history-custom-range-v16 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-custom-separator {
        display: none;
    }

    .cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-apply,
    .cx-design-system .conexgo-history-custom-range-v16 .conexgo-history-apply {
        width: 100%;
        grid-column: 1 / -1;
    }
}

@media (max-width: 575.98px) {
    .cx-design-system .cx-control-datetime-grid,
    .cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 .conexgo-pagedlist-custom-fields,
    .cx-design-system .conexgo-history-custom-range-v16 {
        grid-template-columns: minmax(0, 1fr);
    }

    .cx-design-system .cx-paged-list .cx-pagedlist-date-range-v16 {
        padding: 10px;
    }

    .cx-design-system .cx-date-picker-v16-1 input.mud-input-root,
    .cx-design-system .cx-date-picker-v16-1 input.mud-input-slot {
        height: 40px !important;
        min-height: 40px !important;
        padding-left: 12px !important;
        padding-right: 7px !important;
        font-size: 13.5px !important;
        line-height: 40px !important;
    }

    .cx-design-system .cx-date-picker-v16-1 .mud-input-adornment-end {
        flex-basis: 40px !important;
        width: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
    }

    .mud-popover.mud-picker-popover,
    .mud-picker-popover .mud-picker {
        width: min(310px, calc(100vw - 14px)) !important;
        min-width: min(310px, calc(100vw - 14px)) !important;
        max-width: calc(100vw - 14px) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system .cx-date-picker-v16-1 *,
    .cx-design-system .cx-time-picker-v16 *,
    .mud-picker-popover * {
        transition: none !important;
        animation: none !important;
    }
}

/* ------------------------------------------------------------------
   CONEXGO Phase 17-9 - reliable select-backed time control
   No native time input and no radial clock. The value is selected from a
   keyboard/mobile friendly list generated by CxTimePicker.
   ------------------------------------------------------------------ */
.cx-design-system .cx-control-field.cx-time-picker-v17-9,
.cx-design-system .cx-time-picker-v17-9,
.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.cx-design-system .cx-control-field.cx-time-picker-v17-9 {
    display: grid !important;
    gap: 6px !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell {
    position: relative !important;
    min-height: 44px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0, 1fr) 38px !important;
    align-items: center !important;
    overflow: hidden !important;
    border: 1px solid #cbd8e4 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #223b56 !important;
    box-shadow: 0 1px 2px rgba(44, 76, 108, .035) !important;
    transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell:hover:not(.is-disabled) {
    border-color: #9fb6ca !important;
    background: #fbfdff !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell:focus-within {
    border-color: #3e6a99 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(62, 106, 153, .12) !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-leading,
.cx-design-system .cx-time-picker-v17-9 .cx-time-select-chevron {
    height: 100% !important;
    min-height: 42px !important;
    display: inline-grid !important;
    place-items: center !important;
    color: #315f88 !important;
    pointer-events: none !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-leading {
    border-right: 1px solid #e2eaf1 !important;
    background: #f5f9fc !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-chevron {
    border-left: 1px solid #e2eaf1 !important;
    background: #edf4f8 !important;
    font-size: .75rem !important;
}

.cx-design-system .cx-time-picker-v17-9 select.cx-conexgo-time-select {
    grid-column: 2 / 4 !important;
    grid-row: 1 !important;
    z-index: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 0 46px 0 14px !important;
    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    color: #223b56 !important;
    font-family: inherit !important;
    font-size: .92rem !important;
    font-weight: 700 !important;
    font-variant-numeric: tabular-nums !important;
    line-height: 1.25 !important;
    cursor: pointer !important;
    box-shadow: none !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-chevron {
    grid-column: 3 !important;
    grid-row: 1 !important;
    z-index: 2 !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-leading {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

.cx-design-system .cx-time-picker-v17-9 select.cx-conexgo-time-select:disabled {
    cursor: not-allowed !important;
    color: #687b8d !important;
    opacity: 1 !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell.is-disabled,
.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell.is-readonly {
    border-color: #dbe3ea !important;
    background: #f4f7f9 !important;
    color: #687b8d !important;
    box-shadow: none !important;
}

.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell.is-disabled .cx-time-select-leading,
.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell.is-disabled .cx-time-select-chevron,
.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell.is-readonly .cx-time-select-leading,
.cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell.is-readonly .cx-time-select-chevron {
    background: #eef2f5 !important;
    color: #8190a0 !important;
}

.cx-design-system .cx-time-picker-v17-9 select.cx-conexgo-time-select option {
    color: #223b56 !important;
    background: #ffffff !important;
    font-weight: 600 !important;
}

@media (max-width: 575.98px) {
    .cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell {
        grid-template-columns: 40px minmax(0, 1fr) 36px !important;
    }

    .cx-design-system .cx-time-picker-v17-9 select.cx-conexgo-time-select {
        padding-right: 42px !important;
        font-size: .9rem !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-design-system .cx-time-picker-v17-9 *,
    .cx-design-system .cx-time-picker-v17-9 .cx-time-select-shell {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   SOURCE: wwwroot\css\public_site.css
   Preserved in source/cascade order by R18-206.6.
   ========================================================================== */
/* #region PublicMainLayout.razor */
/**************************************** PublicMainLayout.razor ************************************************************************/
<!-- CONEXGO BACK-TO-TOP HARMONIZED START -->
a#back-to-top.conexgo-back-to-top {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 1200 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    background: #2c4c6c !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 7px rgba(44, 76, 108, 0.22) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

a#back-to-top.conexgo-back-to-top[style*="display: inline"],
a#back-to-top.conexgo-back-to-top[style*="display: block"],
a#back-to-top.conexgo-back-to-top[style*="display: inline-block"] {
    display: inline-flex !important;
}

a#back-to-top.conexgo-back-to-top i {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

a#back-to-top.conexgo-back-to-top:hover {
    color: #ffffff !important;
    background: #3d6287 !important;
    border-color: #3d6287 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 9px rgba(44, 76, 108, 0.26) !important;
}

a#back-to-top.conexgo-back-to-top:focus-visible {
    outline: 3px solid rgba(61, 98, 135, 0.25) !important;
    outline-offset: 3px !important;
}

a#back-to-top.conexgo-back-to-top:active {
    transform: translateY(0) !important;
}

@media (max-width: 576px) {
    a#back-to-top.conexgo-back-to-top {
        right: 14px !important;
        bottom: 14px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

        a#back-to-top.conexgo-back-to-top i {
            font-size: 15px !important;
        }
}
<!-- CONEXGO BACK-TO-TOP HARMONIZED END -->
/* #endregion */

/* #region AccessDeniedPage.razor */
/**************************************** AccessDeniedPage.razor ************************************************************************/
.cx-access-denied {
    width: min(100%, 760px);
    min-height: 330px;
    margin: clamp(28px, 8vh, 90px) auto;
    padding: clamp(24px, 4vw, 44px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 22px;
    border: 1px solid #d7e1ea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(35, 60, 85, .1);
}

.cx-access-denied__icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #edf4f9;
    color: #315879;
    font-size: 1.55rem;
}

.cx-access-denied__eyebrow {
    margin: 0 0 5px;
    color: #6d8194;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.cx-access-denied h1 {
    margin: 0 0 12px;
    color: #253f5c;
    font-size: clamp(1.55rem, 1.2rem + 1vw, 2.15rem);
    line-height: 1.15;
}

.cx-access-denied p:not(.cx-access-denied__eyebrow) {
    max-width: 58ch;
    margin: 0;
    color: #627487;
    line-height: 1.65;
}

.cx-access-denied__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

    .cx-access-denied__actions .btn {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border-radius: 9px;
        font-weight: 750;
    }

@media (max-width: 575.98px) {
    .cx-access-denied {
        min-height: 0;
        grid-template-columns: 1fr;
        margin: 20px auto;
        padding: 22px 18px;
    }

    .cx-access-denied__icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }

    .cx-access-denied__actions {
        flex-direction: column;
    }

        .cx-access-denied__actions .btn {
            width: 100%;
            justify-content: center;
        }
}
/* #endregion */

/* #region Account_BlockNotice.razor */
/**************************************** Account_BlockNotice.razor ************************************************************************/
/* CONEXGO-MODAL-DEVICE-CONFIG-REBUILD-R1: local to this component */
.cx-r1-account-blocknotice .cx-modal-layout-v21 {
    width: 100%;
    display: grid;
    gap: 22px;
}

.cx-r1-account-blocknotice .cx-r1-section {
    min-width: 0;
    margin: 0;
    padding: .85rem .95rem .95rem;
    border: 1px solid #d7e1ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(35, 60, 85, .045);
}

.cx-r1-account-blocknotice .cx-r1-section-title {
    max-width: calc(100% - 1rem);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .15rem;
    padding: 0 .45rem;
    color: #2c4c6c;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35;
}

.cx-r1-account-blocknotice .cx-r1-section-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf3f8;
    color: #3d6287;
    font-size: .78rem;
}

.cx-r1-account-blocknotice .cx-r1-section-description {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin: .1rem 0 .75rem;
    color: #687787;
    font-size: .82rem;
    line-height: 1.5;
}

    .cx-r1-account-blocknotice .cx-r1-section-description > i {
        margin-top: .22rem;
        color: #6d88a2;
        font-size: .72rem;
    }

.cx-r1-account-blocknotice .cx-r1-form-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(175px, 225px) minmax(0, 1fr);
    align-items: start;
    gap: .45rem .9rem;
    margin: 0 0 .75rem;
}

    .cx-r1-account-blocknotice .cx-r1-form-row:last-child {
        margin-bottom: 0;
    }

    .cx-r1-account-blocknotice .cx-r1-form-row > [class*="col-"] {
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .cx-r1-account-blocknotice .cx-r1-form-row > .form-label {
        padding-top: .62rem;
        text-align: right !important;
    }

.cx-r1-account-blocknotice .form-label > label:not(.custom-switch),
.cx-r1-account-blocknotice label[aspfor] {
    color: #52677a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.35;
    text-transform: uppercase;
}

    .cx-r1-account-blocknotice .form-label > label:not(.custom-switch)::after,
    .cx-r1-account-blocknotice label[aspfor]::after {
        content: ":";
    }

.cx-r1-account-blocknotice input.form-control,
.cx-r1-account-blocknotice select.form-control,
.cx-r1-account-blocknotice textarea.form-control {
    width: 100%;
    min-width: 0;
    border-color: #cfd9e3;
    border-radius: 8px;
    box-shadow: none;
}

.cx-r1-account-blocknotice textarea.form-control,
.cx-r1-account-blocknotice .cx-dialog-textarea {
    width: 100% !important;
    height: 132px;
    min-height: 84px !important;
    max-height: none !important;
    resize: vertical !important;
    overflow: auto !important;
}

.cx-r1-account-blocknotice input:disabled,
.cx-r1-account-blocknotice select:disabled,
.cx-r1-account-blocknotice textarea:disabled {
    background: #f3f6f8;
    color: #526170;
    opacity: 1;
}

.cx-r1-account-blocknotice .cx-r1-form-row--with-help {
    grid-template-columns: minmax(175px, 225px) minmax(220px, 320px) minmax(0, 1fr);
}

    .cx-r1-account-blocknotice .cx-r1-form-row--with-help .cx-field-help {
        min-width: 0;
        padding-top: .55rem;
        color: #657485;
        font-size: .8rem;
        line-height: 1.45;
    }

.cx-r1-account-blocknotice .cx-r1-recipient-card {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border: 1px solid #d7e1ea;
    border-radius: 9px;
    background: #f8fafc;
    color: #2c4c6c;
    font-weight: 750;
}

    .cx-r1-account-blocknotice .cx-r1-recipient-card i {
        color: #3d6287;
    }

.cx-r1-account-blocknotice .cx-r1-preview-card {
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #d7e1ea;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(44, 76, 108, .05);
}

@media (max-width: 767.98px) {
    .cx-r1-account-blocknotice .cx-r1-section {
        padding: .85rem;
    }

    .cx-r1-account-blocknotice .cx-r1-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: .35rem;
        margin-bottom: .85rem;
    }

        .cx-r1-account-blocknotice .cx-r1-form-row > .form-label {
            padding-top: 0;
            text-align: left !important;
        }

    .cx-r1-account-blocknotice .cx-r1-form-row--with-help {
        grid-template-columns: minmax(0, 1fr);
    }

        .cx-r1-account-blocknotice .cx-r1-form-row--with-help .cx-field-help {
            padding-top: 0;
        }

    .cx-r1-account-blocknotice .cx-r1-section-description {
        margin-bottom: .8rem;
    }
}

.account-blocknotice-dialog {
    width: min(980px, calc(100vw - 28px)) !important;
    max-width: min(980px, calc(100vw - 28px)) !important;
}

.account-blocknotice-history-section {
    width: 100%;
    margin-top: 22px;
}

.account-blocknotice-history-heading {
    margin-bottom: 10px;
}

.account-blocknotice-history-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2c4c6c;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 800;
}

    .account-blocknotice-history-title > i {
        color: #3d6287;
    }

.account-blocknotice-history-count {
    min-width: 25px;
    height: 25px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #e8eef5;
    color: #2c4c6c;
    font-size: 12.5px;
    font-weight: 800;
}

.account-blocknotice-history-table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #d7e0e9;
    border-radius: 10px;
    background: #ffffff;
}

.account-blocknotice-history-table {
    width: 100% !important;
    min-width: 760px;
    background: #ffffff !important;
}

    .account-blocknotice-history-table .mud-table-container {
        width: 100% !important;
        overflow: visible !important;
        border: 0 !important;
        border-radius: 0 !important;
    }

    .account-blocknotice-history-table .mud-table-root {
        width: 100% !important;
        table-layout: fixed;
    }

    .account-blocknotice-history-table .mud-table-head .mud-table-cell {
        padding: 11px 13px !important;
        border-bottom: 1px solid #cbd7e2 !important;
        background: #eef3f7 !important;
        color: #2c4c6c !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        font-weight: 800 !important;
        white-space: normal !important;
        vertical-align: middle !important;
    }

    .account-blocknotice-history-table .mud-table-body .mud-table-cell {
        padding: 12px 13px !important;
        border-bottom: 1px solid #e5ebf0 !important;
        color: #344054 !important;
        font-size: 13.5px !important;
        line-height: 1.45 !important;
        vertical-align: middle !important;
        overflow-wrap: anywhere;
    }

    .account-blocknotice-history-table .mud-table-body .mud-table-row:hover .mud-table-cell {
        background: #edf3f8 !important;
    }

.account-blocknotice-reason {
    color: #253858;
    font-weight: 650;
}

.account-blocknotice-date {
    color: #445164;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.account-blocknotice-status {
    min-height: 28px;
    padding: 5px 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12.5px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.account-blocknotice-status-draft {
    border-color: #cfd7e0;
    background: #f3f5f7;
    color: #596574;
}

.account-blocknotice-status-sent {
    border-color: #aebfd2;
    background: #eef4f9;
    color: #345675;
}

.account-blocknotice-status-acknowledged {
    border-color: #9ec3a5;
    background: #eef7ef;
    color: #4f7155;
}

.account-blocknotice-status-cancelled,
.account-blocknotice-status-expired {
    border-color: #d9b8bc;
    background: #fff4f5;
    color: #9a4650;
}

.account-blocknotice-status-applied {
    border-color: #9fc0a5;
    background: #ebf5ed;
    color: #456b4c;
}

@media (max-width: 767.98px) {
    .account-blocknotice-dialog {
        width: calc(100vw - 12px) !important;
        max-width: calc(100vw - 12px) !important;
    }

    .account-blocknotice-form > .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
        row-gap: 5px;
    }

        .account-blocknotice-form > .row + .row {
            margin-top: 12px !important;
        }

        .account-blocknotice-form > .row > [class*="col-md-"] {
            width: 100%;
            max-width: 100%;
            padding-left: 0 !important;
            padding-right: 0 !important;
            text-align: left !important;
        }

            .account-blocknotice-form > .row > [class*="col-md-"]:empty {
                display: none;
            }

    .account-blocknotice-form .form-label {
        min-height: 0;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        text-align: left !important;
        color: #2c4c6c;
        font-weight: 750;
    }

    .account-blocknotice-form
    :is(.form-control, .form-select, input, select, textarea) {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 42px;
        font-size: 16px !important;
    }

    .account-blocknotice-form textarea.form-control {
        min-height: 130px;
        height: 132px;
        resize: vertical;
    }

    .account-blocknotice-form .custom-switch {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
    }

    .account-blocknotice-history-section {
        margin-top: 18px;
    }

    .account-blocknotice-history-table-wrapper {
        overflow: visible;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .account-blocknotice-history-table {
        min-width: 0;
        background: transparent !important;
    }

        .account-blocknotice-history-table .mud-table-container {
            overflow: visible !important;
            background: transparent !important;
        }

        .account-blocknotice-history-table .mud-table-root,
        .account-blocknotice-history-table .mud-table-body {
            width: 100% !important;
            display: block;
        }

        .account-blocknotice-history-table .mud-table-head {
            display: none;
        }

        .account-blocknotice-history-table .mud-table-body .mud-table-row {
            width: 100%;
            margin-bottom: 10px;
            display: grid;
            grid-template-columns: minmax(0, 1fr);
            overflow: hidden;
            border: 1px solid #d7e0e9;
            border-radius: 10px;
            background: #ffffff;
            box-shadow: 0 2px 8px rgba(44, 76, 108, .06);
        }

        .account-blocknotice-history-table .mud-table-body .mud-table-cell,
        .account-blocknotice-history-table .mud-table-body .mud-table-cell:last-child {
            border-bottom: 0 !important;
        }

            .account-blocknotice-history-table .mud-table-body .mud-table-cell::before {
                content: attr(data-label);
                color: #2c4c6c;
                font-size: 12px;
                line-height: 1.35;
                font-weight: 800;
                overflow-wrap: anywhere;
            }

    .account-blocknotice-date {
        white-space: normal;
    }
}

@media (max-width: 575.98px) {
    .account-blocknotice-history-table .mud-table-body .mud-table-cell {
        grid-template-columns: minmax(0, 1fr);
        gap: 4px;
    }
}

/* CX-MODAL-TITLE-ICON:BEGIN */
/* CX-MODAL-TITLE-ICON:END */
/* CONEXGO-R2-MANUAL-FIELDSET-SPACING */
.cx-r1-account-blocknotice .cx-modal-layout-v21,
.cx-r1-account-blocknotice form.cx-dialog-v17-form {
    display: grid;
    gap: 22px;
}

.cx-r1-account-blocknotice .cx-r1-section + .cx-r1-section,
.cx-r1-account-blocknotice fieldset + fieldset {
    margin-top: 0;
}

@media (max-width: 767.98px) {
    .cx-r1-account-blocknotice .cx-modal-layout-v21,
    .cx-r1-account-blocknotice form.cx-dialog-v17-form {
        gap: 16px;
    }
}

.mud-dialog.cx-r1-account-blocknotice,
.cx-r1-account-blocknotice {
    width: min(980px, calc(100vw - 28px)) !important;
    max-width: min(980px, calc(100vw - 28px)) !important;
    max-height: calc(100vh - 28px) !important;
    overflow: hidden !important;
}

    .cx-r1-account-blocknotice .cx-dialog-v17-content {
        min-height: 0 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-gutter: stable !important;
    }

    .cx-r1-account-blocknotice .cx-dialog-v17-actions {
        position: relative !important;
        z-index: 3 !important;
        border-top: 1px solid #d8e2ec !important;
        background: #f8fafc !important;
    }

@media (max-width: 767.98px) {
    .mud-dialog.cx-r1-account-blocknotice,
    .cx-r1-account-blocknotice {
        width: calc(100vw - 14px) !important;
        max-width: calc(100vw - 14px) !important;
        max-height: calc(100vh - 14px) !important;
    }

        .cx-r1-account-blocknotice .cx-dialog-v17-content {
            padding: 10px !important;
        }
}
/* #endregion */

/* #region CheckBox.razor */
/**************************************** CheckBox.razor ************************************************************************/
.cx-shared-form-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.cx-shared-form-label {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #2f3d4f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cx-shared-form-control-zone {
    min-width: 0;
    width: 100%;
}

.cx-shared-checkbox-card {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #d7e0e9;
    border-radius: 7px;
    background: #ffffff;
    box-shadow: none;
}

.cx-shared-checkbox {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 0;
    cursor: pointer;
    border-color: #bcc9d6;
}

    .cx-shared-checkbox:checked {
        background-color: #2c4c6c;
        border-color: #2c4c6c;
    }

    .cx-shared-checkbox:focus {
        box-shadow: 0 0 0 3px rgba(61, 98, 135, .11);
    }

.cx-shared-checkbox-text {
    min-width: 0;
    color: #2f3d4f;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0;
    cursor: pointer;
    overflow-wrap: anywhere;
}

@media (max-width: 767.98px) {
    .cx-shared-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 14px;
    }

    .cx-shared-form-label {
        min-height: auto;
        font-size: 13.5px;
    }

    .cx-shared-checkbox-card {
        min-height: 44px;
    }

    .cx-shared-checkbox-text {
        font-size: 14px;
    }
}
/* #endregion */

/* #region ColumnHeader.razor */
/**************************************** ColumnHeader.razor ************************************************************************/
.cx-column-not-sortable::before,
.cx-column-not-sortable::after {
    display: none !important;
    content: none !important;
}
/* #endregion */

/* #region Component.razor */
/**************************************** Component.razor ************************************************************************/
/* CONEXGO-MODAL-DEVICE-CONFIG-REBUILD-R1: local to this component */
.cx-r1-document-addedit .cx-modal-layout-v21 {
    width: 100%;
    display: grid;
    gap: 22px;
}

.cx-r1-document-addedit .cx-r1-section {
    min-width: 0;
    margin: 0;
    padding: .85rem .95rem .95rem;
    border: 1px solid #d7e1ea;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(35, 60, 85, .045);
}

.cx-r1-document-addedit .cx-r1-section-title {
    max-width: calc(100% - 1rem);
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .15rem;
    padding: 0 .45rem;
    color: #2c4c6c;
    font-size: .92rem;
    font-weight: 800;
    line-height: 1.35;
}

.cx-r1-document-addedit .cx-r1-section-icon {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf3f8;
    color: #3d6287;
    font-size: .78rem;
}

.cx-r1-document-addedit .cx-r1-section-description {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
    margin: .1rem 0 .75rem;
    color: #687787;
    font-size: .82rem;
    line-height: 1.5;
}

    .cx-r1-document-addedit .cx-r1-section-description > i {
        margin-top: .22rem;
        color: #6d88a2;
        font-size: .72rem;
    }

.cx-r1-document-addedit .cx-r1-form-row {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(175px, 225px) minmax(0, 1fr);
    align-items: start;
    gap: .45rem .9rem;
    margin: 0 0 .75rem;
}

    .cx-r1-document-addedit .cx-r1-form-row:last-child {
        margin-bottom: 0;
    }

    .cx-r1-document-addedit .cx-r1-form-row > [class*="col-"] {
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0;
        padding: 0;
    }

    .cx-r1-document-addedit .cx-r1-form-row > .form-label {
        padding-top: .62rem;
        text-align: right !important;
    }

.cx-r1-document-addedit .form-label > label:not(.custom-switch),
.cx-r1-document-addedit label[aspfor] {
    color: #52677a;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .045em;
    line-height: 1.35;
    text-transform: uppercase;
}

    .cx-r1-document-addedit .form-label > label:not(.custom-switch)::after,
    .cx-r1-document-addedit label[aspfor]::after {
        content: ":";
    }

.cx-r1-document-addedit input.form-control,
.cx-r1-document-addedit select.form-control,
.cx-r1-document-addedit textarea.form-control {
    width: 100%;
    min-width: 0;
    border-color: #cfd9e3;
    border-radius: 8px;
    box-shadow: none;
}

.cx-r1-document-addedit textarea.form-control,
.cx-r1-document-addedit .cx-dialog-textarea {
    width: 100% !important;
    height: 132px;
    min-height: 84px !important;
    max-height: none !important;
    resize: vertical !important;
    overflow: auto !important;
}

.cx-r1-document-addedit input:disabled,
.cx-r1-document-addedit select:disabled,
.cx-r1-document-addedit textarea:disabled {
    background: #f3f6f8;
    color: #526170;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .cx-r1-document-addedit .cx-r1-section {
        padding: .85rem;
    }

    .cx-r1-document-addedit .cx-r1-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: .35rem;
        margin-bottom: .85rem;
    }

        .cx-r1-document-addedit .cx-r1-form-row > .form-label {
            padding-top: 0;
            text-align: left !important;
        }

    .cx-r1-document-addedit .cx-r1-section-description {
        margin-bottom: .8rem;
    }
}
/* #endregion */

/* #region NumberTextBox.razor */
/**************************************** NumberTextBox.razor ************************************************************************/
.cx-shared-form-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.cx-shared-form-label {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #2f3d4f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cx-shared-form-control-zone {
    min-width: 0;
    width: 100%;
}

.cx-shared-form-control {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #d7e0e9;
    border-radius: 7px;
    background: #ffffff;
    color: #2f3d4f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    padding: 9px 12px;
    box-shadow: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}

    .cx-shared-form-control::placeholder {
        color: #8794a4;
        font-weight: 500;
    }

    .cx-shared-form-control:hover {
        border-color: #bcc9d6;
        background: #ffffff;
    }

    .cx-shared-form-control:focus {
        border-color: #3d6287;
        box-shadow: 0 0 0 3px rgba(61, 98, 135, .11);
        background: #ffffff;
        outline: none;
    }

.cx-shared-field-helper {
    margin-top: 5px;
    color: #7b8794;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 767.98px) {
    .cx-shared-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 14px;
    }

    .cx-shared-form-label {
        min-height: auto;
        font-size: 13.5px;
    }

    .cx-shared-form-control {
        min-height: 44px;
        font-size: 16px;
        padding: 10px 12px;
    }
}
/* #endregion */

/* #region PasswordTextBox.razor */
/**************************************** PasswordTextBox.razor ************************************************************************/
.cx-shared-form-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.cx-shared-form-label {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #2f3d4f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cx-shared-form-control-zone {
    min-width: 0;
    width: 100%;
}

.cx-shared-form-control {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #d7e0e9;
    border-radius: 7px;
    background: #ffffff;
    color: #2f3d4f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    padding: 9px 12px;
    box-shadow: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}

    .cx-shared-form-control::placeholder {
        color: #8794a4;
        font-weight: 500;
    }

    .cx-shared-form-control:hover {
        border-color: #bcc9d6;
        background: #ffffff;
    }

    .cx-shared-form-control:focus {
        border-color: #3d6287;
        box-shadow: 0 0 0 3px rgba(61, 98, 135, .11);
        background: #ffffff;
        outline: none;
    }

.cx-shared-field-helper {
    margin-top: 5px;
    color: #7b8794;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 767.98px) {
    .cx-shared-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 14px;
    }

    .cx-shared-form-label {
        min-height: auto;
        font-size: 13.5px;
    }

    .cx-shared-form-control {
        min-height: 44px;
        font-size: 16px;
        padding: 10px 12px;
    }
}
/* #endregion */

/* #region PhoneNumberTextBox.razor */
/**************************************** PhoneNumberTextBox.razor ************************************************************************/
.cx-shared-form-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.cx-shared-form-label {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #2f3d4f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cx-shared-form-control-zone {
    min-width: 0;
    width: 100%;
}

.cx-shared-form-control {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #d7e0e9;
    border-radius: 7px;
    background: #ffffff;
    color: #2f3d4f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    padding: 9px 12px;
    box-shadow: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}

    .cx-shared-form-control::placeholder {
        color: #8794a4;
        font-weight: 500;
    }

    .cx-shared-form-control:hover {
        border-color: #bcc9d6;
        background: #ffffff;
    }

    .cx-shared-form-control:focus {
        border-color: #3d6287;
        box-shadow: 0 0 0 3px rgba(61, 98, 135, .11);
        background: #ffffff;
        outline: none;
    }

.cx-shared-field-helper {
    margin-top: 5px;
    color: #7b8794;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 767.98px) {
    .cx-shared-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 14px;
    }

    .cx-shared-form-label {
        min-height: auto;
        font-size: 13.5px;
    }

    .cx-shared-form-control {
        min-height: 44px;
        font-size: 16px;
        padding: 10px 12px;
    }
}
/* #endregion */

/* #region StringTextBox.razor */
/**************************************** StringTextBox.razor ************************************************************************/
.cx-shared-form-row {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    align-items: start;
    gap: 8px 16px;
    margin-bottom: 16px;
}

.cx-shared-form-label {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #2f3d4f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.cx-shared-form-control-zone {
    min-width: 0;
    width: 100%;
}

.cx-shared-form-control {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    border: 1px solid #d7e0e9;
    border-radius: 7px;
    background: #ffffff;
    color: #2f3d4f;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    padding: 9px 12px;
    box-shadow: none;
    transition: border-color .12s ease, box-shadow .12s ease;
}

    .cx-shared-form-control::placeholder {
        color: #8794a4;
        font-weight: 500;
    }

    .cx-shared-form-control:hover {
        border-color: #bcc9d6;
        background: #ffffff;
    }

    .cx-shared-form-control:focus {
        border-color: #3d6287;
        box-shadow: 0 0 0 3px rgba(61, 98, 135, .11);
        background: #ffffff;
        outline: none;
    }

.cx-shared-field-helper {
    margin-top: 5px;
    color: #7b8794;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: right;
}

@media (max-width: 767.98px) {
    .cx-shared-form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        margin-bottom: 14px;
    }

    .cx-shared-form-label {
        min-height: auto;
        font-size: 13.5px;
    }

    .cx-shared-form-control {
        min-height: 44px;
        font-size: 16px;
        padding: 10px 12px;
    }
}
/* #endregion */

/* #region Terms.razor */
/**************************************** Terms.razor ************************************************************************/
.conexgo-simple-modal {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
}

.conexgo-simple-header {
    padding: 14px 18px;
    background: #2c4c6c;
    color: #ffffff;
}

.conexgo-simple-title-zone {
    display: flex;
    align-items: center;
    gap: 10px;
}

.conexgo-simple-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    color: #ffffff;
}

.conexgo-simple-title {
    margin: 0;
    color: #ffffff;
    font-size: 12pt;
    font-weight: 700;
    line-height: 1.2;
}

.conexgo-simple-subtitle {
    margin-top: 2px;
    color: rgba(255, 255, 255, .78);
    font-size: 9pt;
    line-height: 1.35;
}

.conexgo-simple-body {
    padding: 0;
    background: #ffffff;
}

.conexgo-terms-document {
    max-height: 56vh;
    overflow-y: auto;
    padding: 20px 22px;
    color: #1f2937;
    font-size: 9.5pt;
    line-height: 1.6;
}

    .conexgo-terms-document p {
        margin-bottom: .85rem;
    }

    .conexgo-terms-document h1,
    .conexgo-terms-document h2,
    .conexgo-terms-document h3,
    .conexgo-terms-document h4 {
        color: #263b59;
        font-weight: 700;
    }

.conexgo-simple-loading {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #6c757d;
}

.conexgo-simple-loading-text {
    font-size: 9.5pt;
    font-weight: 600;
}

.conexgo-simple-actions {
    padding: 12px 18px 14px 18px;
    background: #f8fafc;
    border-top: 1px solid #edf0f2;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.conexgo-blue-button.mud-button-root {
    background-color: #2c4c6c !important;
    border: 1px solid #2c4c6c !important;
    color: #ffffff !important;
    min-height: 38px;
    min-width: 120px;
    padding: 0 16px;
    border-radius: 4px;
    font-size: 9.5pt;
    font-weight: 600;
    box-shadow: none !important;
    text-transform: none !important;
}

    .conexgo-blue-button.mud-button-root:hover {
        background-color: #2c4c6c !important;
        border-color: #2c4c6c !important;
        color: #ffffff !important;
        box-shadow: none !important;
        transform: none !important;
    }

.conexgo-outline-blue-button.mud-button-root {
    background-color: #ffffff !important;
    border: 1px solid #c8d3df !important;
    color: #2c4c6c !important;
    min-height: 38px;
    min-width: 110px;
    padding: 0 16px;
    border-radius: 4px;
    font-size: 9.5pt;
    font-weight: 600;
    box-shadow: none !important;
    text-transform: none !important;
}

    .conexgo-outline-blue-button.mud-button-root:hover {
        background-color: #ffffff !important;
        border-color: #c8d3df !important;
        color: #2c4c6c !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .conexgo-blue-button.mud-button-root:disabled,
    .conexgo-outline-blue-button.mud-button-root:disabled {
        opacity: .65;
        cursor: wait;
    }

@media (max-width: 576px) {
    .conexgo-simple-actions {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

        .conexgo-simple-actions .mud-button-root {
            width: auto;
            min-width: 38px;
        }

    .conexgo-terms-document {
        max-height: 54vh;
        padding: 18px;
    }
}
/* #endregion */

/* #region WaitIndicator.razor */
/**************************************** WaitIndicator.razor ************************************************************************/
@keyframes conexgo-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* #endregion */

/* #region PublicFooter.razor */
/**************************************** PublicFooter.razor ************************************************************************/
a#back-to-top.conexgo-back-to-top {
    position: fixed !important;
    right: 20px !important;
    bottom: 20px !important;
    z-index: 1200 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #ffffff !important;
    background: #2c4c6c !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    text-align: center !important;
    text-decoration: none !important;
    box-shadow: 0 2px 7px rgba(44, 76, 108, 0.22) !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease !important;
}

    a#back-to-top.conexgo-back-to-top[style*="display: inline"],
    a#back-to-top.conexgo-back-to-top[style*="display: block"],
    a#back-to-top.conexgo-back-to-top[style*="display: inline-block"] {
        display: inline-flex !important;
    }

    a#back-to-top.conexgo-back-to-top i {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        color: #ffffff !important;
        font-size: 16px !important;
        line-height: 1 !important;
    }

    a#back-to-top.conexgo-back-to-top:hover {
        color: #ffffff !important;
        background: #3d6287 !important;
        border-color: #3d6287 !important;
        transform: translateY(-1px) !important;
        box-shadow: 0 3px 9px rgba(44, 76, 108, 0.26) !important;
    }

    a#back-to-top.conexgo-back-to-top:focus-visible {
        outline: 3px solid rgba(61, 98, 135, 0.25) !important;
        outline-offset: 3px !important;
    }

    a#back-to-top.conexgo-back-to-top:active {
        transform: translateY(0) !important;
    }

@media (max-width: 576px) {
    a#back-to-top.conexgo-back-to-top {
        right: 14px !important;
        bottom: 14px !important;
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

        a#back-to-top.conexgo-back-to-top i {
            font-size: 15px !important;
        }
}

/* #endregion */

/* #region Wsap.razor */
/**************************************** Wsap.razor ************************************************************************/
.cx-wsap-page {
    min-height: 100vh;
    padding: 34px 20px 48px;
    background:
        radial-gradient(circle at top left, rgba(61, 98, 135, .09), transparent 34rem),
        #f4f7fa;
    color: #203f5c;
}

.cx-wsap-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.cx-wsap-topbar {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 4px 20px;
}

.cx-wsap-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #244a6b;
    font-size: 18px;
    font-weight: 800;
    text-decoration: none;
}

.cx-wsap-brand:hover,
.cx-wsap-brand:focus-visible {
    color: #244a6b;
    text-decoration: none;
}

.cx-wsap-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.cx-wsap-language-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border: 1px solid #ccdbe6;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 4px 14px rgba(39, 72, 99, .06);
}

.cx-wsap-language-button {
    min-width: 42px;
    min-height: 34px;
    padding: 6px 10px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #526d84;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.cx-wsap-language-button:hover,
.cx-wsap-language-button:focus-visible {
    background: #edf4f8;
    color: #294f70;
}

.cx-wsap-language-button.is-active {
    background: #315f82;
    color: #ffffff;
    box-shadow: 0 2px 7px rgba(49, 95, 130, .18);
}

.cx-wsap-hero {
    display: grid;
    grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(30px, 5vw, 72px);
    padding: clamp(30px, 5vw, 58px);
    border: 1px solid #d7e2eb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(35, 68, 94, .08);
}

.cx-wsap-hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cx-wsap-hero-visual img {
    width: min(230px, 100%);
    height: auto;
    object-fit: contain;
}

.cx-wsap-hero-copy {
    min-width: 0;
}

.cx-wsap-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 14px;
    padding: 5px 10px;
    border: 1px solid #c7dbe9;
    border-radius: 999px;
    background: #eef6fa;
    color: #315f82;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.cx-wsap-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #203f5c;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.cx-wsap-hero-copy > p {
    max-width: 760px;
    margin: 18px 0 0;
    color: #5c7184;
    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.65;
}

.cx-wsap-release-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
    color: #6a7f92;
    font-size: 13px;
}

.cx-wsap-release-meta strong {
    color: #315f82;
    font-weight: 800;
}

.cx-wsap-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 20px;
}

.cx-wsap-platform-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 4vw, 40px);
    border: 1px solid #d7e2eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(35, 68, 94, .055);
    transition: background-color .20s ease, border-color .20s ease, box-shadow .20s ease;
}

.cx-wsap-platform-card:hover,
.cx-wsap-platform-card:focus-within {
    border-color: #c7d9e6;
    background: #fdfefe;
    box-shadow: 0 14px 32px rgba(35, 68, 94, .075);
}

.cx-wsap-platform-heading {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cx-wsap-platform-heading h2 {
    margin: 0;
    color: #244a6b;
    font-size: 22px;
    font-weight: 800;
}

.cx-wsap-platform-heading p {
    margin: 5px 0 0;
    color: #62788b;
    font-size: 14px;
    line-height: 1.45;
}

.cx-wsap-platform-icon {
    width: 56px;
    min-width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6e5ee;
    border-radius: 15px;
    background: #f2f8fb;
}

.cx-wsap-platform-icon img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.cx-wsap-platform-icon--apple img {
    width: 29px;
    height: 29px;
}

.cx-wsap-platform-description {
    margin: 22px 0 24px;
    color: #60768a;
    font-size: 15px;
    line-height: 1.55;
}

.cx-wsap-store-link {
    width: auto !important;
    max-width: 100%;
    margin-top: auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    border-radius: 11px;
    background: transparent !important;
    outline: none;
    box-shadow: none;
    transition: opacity .18s ease, box-shadow .18s ease;
}

.cx-wsap-store-link img {
    width: min(210px, 100%);
    height: auto;
    display: block;
}

.cx-wsap-store-link:hover {
    opacity: .94;
    transform: none;
    box-shadow: 0 4px 12px rgba(32, 63, 92, .08);
}

.cx-wsap-store-link:focus-visible {
    box-shadow: 0 0 0 4px rgba(61, 98, 135, .16);
}

.cx-wsap-install-note {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #d3e2ec;
    border-radius: 14px;
    background: #edf5f9;
    color: #49667e;
}

.cx-wsap-install-note-icon {
    width: 34px;
    min-width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
    color: #315f82;
    box-shadow: 0 2px 7px rgba(39, 72, 99, .07);
}

.cx-wsap-install-note p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 820px) {
    .cx-wsap-page {
        padding: 20px 14px 34px;
    }

    .cx-wsap-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        text-align: center;
    }

    .cx-wsap-hero-visual img {
        width: 170px;
    }

    .cx-wsap-eyebrow {
        margin-inline: auto;
    }

    .cx-wsap-hero h1,
    .cx-wsap-hero-copy > p {
        margin-inline: auto;
    }

    .cx-wsap-release-meta {
        justify-content: center;
    }

    .cx-wsap-platform-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .cx-wsap-topbar {
        align-items: center;
        padding-bottom: 14px;
    }

    .cx-wsap-brand img {
        width: 36px;
        height: 36px;
    }

    .cx-wsap-hero {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .cx-wsap-platform-card {
        padding: 24px 22px;
    }

    .cx-wsap-platform-heading {
        align-items: flex-start;
    }

    .cx-wsap-platform-icon {
        width: 50px;
        min-width: 50px;
        height: 50px;
    }

    .cx-wsap-install-note {
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cx-wsap-language-button,
    .cx-wsap-store-link {
        transition: none;
    }

    .cx-wsap-store-link:hover {
        transform: none;
    }
}
/* #endregion */
