﻿.rr-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin-left: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

    .rr-logo-link:hover {
        background: rgba(0, 0, 0, 0.08);
        text-decoration: none;
    }

.rr-logo-image {
    height: 28px !important;
    width: 28px !important;
    max-height: 28px !important;
    max-width: 28px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0;
}

.rr-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: rgba(0, 0, 0, 0.87);
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.notification-trigger {
    display: inline-block;
    margin-right: 8px;
}

.non-theme-error {
    color: red !important;
}

.non-theme-error-badge .mud-badge {
    background-color: red !important;
    color: white !important;
}

.non-theme-warning {
    color: orange !important;
}

.non-theme-success {
    color: forestgreen !important;
}

/* Phone: shrink the brand so the logo + profile/menu icons fit one row. */
@media (max-width: 599.98px) {
    .rr-logo-link {
        flex-shrink: 1;
        min-width: 0;
        margin-left: 0;
    }

    .rr-logo-text {
        font-size: 1.05rem;
    }
}