/* SmartPunch brand mark — shared across install, login, and portals */
.nex-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nex-brand-logo {
    width: 48px;
    height: 48px;
    min-width: 0;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.nex-brand-icon-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.nex-brand-image {
    display: block;
    max-width: 100%;
    height: auto;
}

.nex-brand-image--horizontal {
    max-width: 320px;
}

.nex-brand--full {
    display: block;
}

.nex-brand-name {
    font-size: 24px;
    font-weight: 800;
    color: #505458;
    letter-spacing: -0.4px;
    line-height: 1.15;
}

.nex-brand-tagline {
    font-size: 13px;
    line-height: 1.5;
    color: #596670;
    margin-top: 4px;
    max-width: 280px;
}

/* Hero panel (install left side) */
.nex-brand--hero {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
}

.nex-brand--hero .nex-brand-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 0;
}

.nex-brand--hero .nex-brand-name {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.6px;
}

.nex-brand--hero .nex-brand-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 280px;
    margin-top: 6px;
}

.nex-brand--compact .nex-brand-name {
    font-size: 20px;
}

.nex-brand--compact .nex-brand-tagline {
    font-size: 12px;
}

.nex-brand--compact .nex-brand-logo {
    width: 40px;
    height: 40px;
}

.login-header .nex-brand--full {
    margin-bottom: 8px;
}

.login-header .nex-brand-image--horizontal {
    max-width: 400px;
    width: 100%;
}

.login-left .brand-logo-img {
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    display: block;
    margin-bottom: 32px;
    position: relative;
    z-index: 1;
}

.sidebar-brand-icon-img {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    display: block;
}
