.company-inline-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.company-inline-brand img {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    padding: 2px;
    border-radius: 5px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.96);
}

.company-identity-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 8px 11px;
    border: 1px solid rgba(123, 205, 255, 0.13);
    border-radius: 13px;
    background: rgba(8, 26, 47, 0.42);
}

.company-identity-chip > img {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    padding: 4px;
    border-radius: 9px;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.97);
}

.company-identity-chip > span {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.company-identity-chip strong,
.company-identity-chip small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-identity-chip strong {
    color: inherit;
    font-size: 0.72rem;
}

.company-identity-chip small {
    color: inherit;
    opacity: 0.72;
    font-size: 0.56rem;
}


/* =========================================================
   IDENTIDAD INSTITUCIONAL - WHITE LABEL
   ========================================================= */

.company-login-mark-inner {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
}

.company-login-logo {
    width: 88%;
    height: 88%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.company-login-initial {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    color: #17345b;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.company-identity-chip--name-only {
    padding: 8px 13px;
}

.company-identity-chip--name-only strong {
    max-width: 260px;
    font-size: 0.78rem;
}

.login-card-top--end {
    justify-content: flex-end;
}

.brand-copy--company {
    min-width: 0;
}

.brand-copy--company strong {
    display: block;
    max-width: 138px;
    overflow: hidden;
    color: #f8fbff;
    font-size: 0.86rem;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-public-brand {
    justify-content: flex-start;
}

.company-public-logo {
    width: 52px;
    height: 52px;
    display: grid !important;
    flex: 0 0 52px;
    place-items: center;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(137, 185, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
}

.company-public-logo img {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: contain;
    object-position: center;
}

.company-public-copy {
    min-width: 0;
}

.company-public-copy strong {
    display: block;
    overflow: hidden;
    color: inherit;
    font-size: 1rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-public-copy small {
    display: block;
    margin-top: 3px;
    color: inherit;
    opacity: 0.72;
    font-size: 0.72rem;
    line-height: 1.25;
}

@media (max-width: 760px) {
    .company-public-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 12px;
    }

    .company-public-copy strong {
        max-width: 210px;
        font-size: 0.92rem;
    }

    .company-identity-chip--name-only strong {
        max-width: 210px;
    }
}

.company-login-mark {
    width: 96px;
    height: 96px;
    transform: translateZ(40px);
}

.patient-access-brand > .company-public-logo {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    padding: 5px;
    border: 1px solid rgba(137, 185, 255, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.98);
}

@media (max-width: 760px) {
    .company-login-mark {
        width: 76px;
        height: 76px;
    }

    .patient-access-brand > .company-public-logo {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        border-radius: 12px;
    }
}
