.customer-mode-item {
    margin-left: 14px;
}

.customer-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid rgba(239, 68, 68, .28);
    border-radius: 6px;
    background: rgba(239, 68, 68, .09);
    color: #dc2626;
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .055em;
}

.customer-mode-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef3434;
    box-shadow: none;
}

@media (max-width: 767px) {
    .customer-mode-item {
        margin-left: 8px;
    }

    .customer-mode-badge {
        padding: 6px 9px;
        font-size: 10.5px;
    }
}

@media (max-width: 420px) {
    .customer-mode-dot {
        display: none;
    }
}
/* Live customer messages and file-status notifications */
body.portal-customer-page .header-container .portal-header-dropdown {
    width: min(390px, calc(100vw - 24px)) !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 9px !important;
}

body.portal-customer-page .header-container .portal-dropdown-title {
    display: flex;
    min-height: 46px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-bottom: 1px solid #e9edf2;
    color: #202b41;
    background: #fff;
}

body.portal-customer-page .header-container .portal-dropdown-title strong {
    font-size: 13px;
    font-weight: 600;
}

body.portal-customer-page .header-container .portal-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #26a269;
}

body.portal-customer-page .header-container #portal-notification-read-all {
    display: inline-grid;
    width: 30px;
    height: 30px;
    padding: 0;
    place-items: center;
    border: 1px solid #d8dee8;
    border-radius: 6px;
    color: #667085;
    background: #fff;
    cursor: pointer;
}

body.portal-customer-page .header-container #portal-notification-read-all:hover {
    border-color: #efb7b7;
    color: #b42318;
    background: #fff3f3;
}

body.portal-customer-page .header-container .portal-dropdown-list {
    max-height: 330px;
    padding: 5px;
    overflow-y: auto;
    scrollbar-width: thin;
}

body.portal-customer-page .header-container .portal-dropdown-list .dropdown-item {
    display: grid;
    min-height: 60px;
    padding: 8px !important;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border-radius: 7px !important;
}

body.portal-customer-page .header-container .portal-dropdown-list .dropdown-item + .dropdown-item {
    margin-top: 1px;
}

body.portal-customer-page .header-container .portal-dropdown-icon {
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 7px;
    color: #b42318;
    background: #fff1f1;
    font-size: 15px;
}

body.portal-customer-page .header-container .portal-dropdown-icon.is-file {
    color: #157a55;
    background: #ecf8f3;
}

body.portal-customer-page .header-container .portal-dropdown-copy {
    display: block;
    min-width: 0;
}

body.portal-customer-page .header-container .portal-dropdown-copy strong,
body.portal-customer-page .header-container .portal-dropdown-copy small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.portal-customer-page .header-container .portal-dropdown-copy strong {
    color: #202b41;
    font-size: 12.5px;
    font-weight: 600;
}

body.portal-customer-page .header-container .portal-dropdown-copy small,
body.portal-customer-page .header-container .portal-dropdown-list time {
    color: #667085;
    font-size: 11px;
    font-weight: 400;
}

body.portal-customer-page .header-container .portal-dropdown-list time {
    align-self: start;
    padding-top: 2px;
    white-space: nowrap;
}

body.portal-customer-page .header-container .portal-dropdown-arrow {
    color: #98a2b3;
    font-size: 11px;
}

body.portal-customer-page .header-container .portal-dropdown-footer {
    display: flex;
    min-height: 42px;
    padding: 0 14px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e9edf2;
    color: #b42318;
    background: #fafbfc;
    font-size: 12px;
    font-weight: 600;
}

body.portal-customer-page .header-container .portal-dropdown-footer:hover {
    color: #8f1d16;
    background: #fff3f3;
}

body.portal-customer-page .chat-send-feedback {
    min-height: 0;
    padding: 0 14px;
    color: #667085;
    font-size: 12px;
}

body.portal-customer-page .chat-send-feedback.is-error {
    padding-top: 8px;
    color: #b42318;
}

.portal-mobile-nav a {
    position: relative;
}

.portal-mobile-nav .portal-mobile-count {
    position: absolute;
    top: 2px;
    right: calc(50% - 21px);
    display: inline-grid;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    color: #fff;
    background: #d92d2d;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
}
