#frmPortalLogout {
    display: none;
}

.portal-empty-state {
    display: grid;
    min-height: 18rem;
    place-items: center;
    align-content: center;
    gap: 1rem;
    padding: 2rem;
    border: 1px solid #e4e8ef;
    border-radius: .75rem;
    background: #fff;
    text-align: center;
}

.portal-empty-state__icon {
    font-size: 2rem;
}

.support-auth-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem 1rem;
    background: #f5f7fa;
}

.support-auth-shell__inner {
    width: min(100%, 28rem);
}

.support-auth {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.5rem, 5vw, 2.5rem);
    border: 1px solid #e4e8ef;
    background: #fff;
}

.support-auth__brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    letter-spacing: .08em;
}

.support-auth__title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.support-auth__description {
    margin: .5rem 0 0;
    line-height: 1.5;
}

.support-auth__brand-name {
    font-weight: 600;
}

.support-auth__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem;
}

.support-message {
    padding: .75rem 1rem;
    border: 1px solid;
}

.support-message > div {
    margin: 0;
}

.support-message > div + div {
    margin-top: .5rem;
}

.support-message--error {
    border-color: #d13438;
    background: #fde7e9;
    color: #a4262c;
}

.support-form {
    display: grid;
    gap: 1rem;
}

.support-card {
    min-width: 0;
    padding: 1rem;
}

.support-page-title {
    margin: 0;
    color: #172033;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.25;
}

.support-list-panel {
    min-width: 0;
    padding: 1rem;
    border: 1px solid #e4e8ef;
    border-radius: .75rem;
    background: #fff;
}

.support-section-title {
    margin: 0 0 1rem;
    color: rgba(0, 0, 0, .62);
    font-size: .875rem;
    font-weight: 600;
    letter-spacing: .03em;
    line-height: 1.4;
    text-transform: uppercase;
}

.support-environments {
    display: grid;
    gap: 1rem;
}

.dx-datagrid .dx-command-edit {
    text-align: center;
}

.page__command,
.page__command .dx-icon,
.page__command .fal {
    font-size: 14px !important;
}

.page__command:hover,
.page__command:focus-visible,
.page__command:hover .dx-icon,
.page__command:focus-visible .dx-icon,
.page__command:hover .fal,
.page__command:focus-visible .fal {
    color: #344054;
}

.page__command--menu .dx-button {
    width: auto;
    min-width: 0;
    height: auto;
}

.page__command--menu .dx-button-content {
    padding: 2px;
}

.page__command--menu .dx-button,
.page__command--menu .dx-button.dx-state-hover,
.page__command--menu .dx-button.dx-state-focused,
.page__command--menu .dx-button.dx-state-active {
    border-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
}

.page__command-popup .dx-list-item-icon,
.page__command-popup .dx-list-item .dx-icon,
.page__command-popup .dx-list-item .fal {
    font-size: 14px !important;
}

.support-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
}

.support-action-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.support-action-row form {
    margin: 0;
}

.support-post-save-actions,
.support-endpoint-list {
    display: grid;
    gap: 1rem;
}

.support-secret {
    display: grid;
    gap: .75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid #f0c36a;
    background: #fffaf0;
}

.support-secret__value-row {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.support-secret__value-row .support-code {
    min-width: 0;
    flex: 1 1 auto;
}

.support-status-panel {
    display: grid;
    justify-items: start;
    gap: .75rem;
}

.support-status-panel form {
    margin: 0;
}

.support-status-panel__description {
    max-width: 52rem;
    color: rgba(0, 0, 0, .62);
    line-height: 1.5;
}

.support-asset-preview {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.support-asset-preview--logo {
    width: min(100%, 20rem);
    aspect-ratio: 4 / 1;
}

.support-asset-preview--login {
    aspect-ratio: 4 / 3;
}

.support-asset-preview--icon {
    width: 8rem;
    max-width: 100%;
    aspect-ratio: 1 / 1;
}

.support-asset-preview .dx-button-content,
.support-asset-preview [id$="-preview"] {
    width: 100%;
    height: 100%;
    padding: 0;
}

.support-asset-preview [id$="-preview"] {
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-asset-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-asset-original {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.support-asset-original img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.support-asset-placeholder {
    padding: .75rem;
    color: rgba(0, 0, 0, .48);
    font-size: .75rem;
    text-align: center;
}

.support-role-option {
    display: grid;
    gap: .125rem;
    padding-block: .25rem;
}

.support-role-option__title {
    font-weight: 500;
}

.support-role-option__title-row {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.support-role-option__included {
    flex: 0 0 auto;
    font-size: .7rem;
}

.support-role-option__code,
.support-role-option__description {
    color: rgba(0, 0, 0, .62);
    font-size: .75rem;
}

.support-code {
    overflow-wrap: anywhere;
    font-family: monospace;
}

.support-public-key-preview {
    max-width: 42rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.portal-enum-badge--success {
    border-color: #9fd5b1;
    background: #edf8f1;
    color: #18733b;
}

.portal-enum-badge--warning {
    border-color: #f0c36a;
    background: #fffaf0;
    color: #8a5700;
}

.portal-enum-badge--danger {
    border-color: #efb0ad;
    background: #fff1f0;
    color: #b42318;
}

.support-callout {
    padding: .875rem 1rem;
    border: 1px solid;
    line-height: 1.5;
}

.support-callout--warning {
    border-color: #f0c36a;
    background: #fffaf0;
}

.support-callout--info {
    margin-bottom: 1rem;
    border-color: #b8c9e8;
    background: #f4f7fc;
    color: #344054;
}

.portal-badge,
.portal-enum-badge {
    display: inline-flex;
    min-width: 75px;
    min-height: 1.5rem;
    max-width: 100%;
    align-items: center;
    justify-content: center;
    padding-inline: .5rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 999px;
    box-sizing: border-box;
    gap: .25rem;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    vertical-align: middle;
    white-space: nowrap;
}

.portal-enum-badge {
    border-color: color-mix(in srgb, var(--portal-primary, #556ee6) 24%, #dfe5ec);
    background: color-mix(in srgb, var(--portal-primary, #556ee6) 10%, #fff);
    color: #344054;
}

.portal-enum-badge--neutral {
    border-color: #d0d5dd;
    background: #f8fafc;
    color: #475467;
}

.portal-phone-editor {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: 8.75rem minmax(0, 1fr);
    gap: .5rem;
}

.portal-phone-editor__country,
.portal-phone-editor__number {
    min-width: 0;
}

.portal-phone-country-item {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.portal-phone-flag {
    display: inline-block;
    flex: 0 0 auto;
}

@media (max-width: 800px) {
    .support-list-panel {
        padding: .5rem;
    }
}

@media (max-width: 30rem) {
    .portal-phone-editor {
        grid-template-columns: 7.75rem minmax(0, 1fr);
    }
}
