.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.brand-logo:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.brand-logo:hover .brand-logo__icon {
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.brand-logo:hover .brand-logo__tantr {
    filter: brightness(1.08);
}

.brand-logo--has-image:hover {
    transform: translateY(-1px);
}

.brand-logo__image {
    display: block;
    max-height: 44px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.brand-logo__image--icon-only {
    max-height: 40px;
    max-width: 40px;
}

.brand-logo--sm .brand-logo__image {
    max-height: 36px;
    max-width: 160px;
}

.brand-logo--lg .brand-logo__image {
    max-height: 56px;
    max-width: 220px;
}

.brand-logo--centered {
    justify-content: center;
}

.brand-logo__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
    transition: box-shadow 0.25s ease;
    flex-shrink: 0;
}

.brand-logo__wordmark {
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.brand-logo__edu {
    color: #14532d;
}

.brand-logo__tantr {
    color: #22c55e;
    background: linear-gradient(135deg, #15803d 0%, #22c55e 50%, #4ade80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-logo--sm {
    gap: 0.5rem;
}

.brand-logo--sm .brand-logo__icon {
    width: 32px;
    height: 32px;
    font-size: 0.95rem;
    border-radius: 10px;
}

.brand-logo--sm .brand-logo__wordmark {
    font-size: 1.35rem;
}

.brand-logo--lg {
    gap: 0.75rem;
}

.brand-logo--lg .brand-logo__icon {
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
    border-radius: 14px;
}

.brand-logo--lg .brand-logo__wordmark {
    font-size: 2rem;
}

.brand-logo--light .brand-logo__edu {
    color: #ffffff;
}

.brand-logo--light .brand-logo__tantr {
    background: linear-gradient(135deg, #bbf7d0 0%, #4ade80 50%, #86efac 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.branding-logo .brand-logo,
.branding-logo-forMobile .brand-logo {
    justify-content: center;
}

.branding-logo-forMobile .brand-logo__wordmark {
    display: none;
}

.closed-sidebar .app-sidebar:hover .branding-logo-forMobile .brand-logo__wordmark {
    display: inline;
}
