/* Marca del software (Cifrum, producto de PySystems), separada de la identidad del negocio. */
.cifrum-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: .65rem;
}

.cifrum-brand:focus-visible {
    outline: 2px solid #8cc8ff;
    outline-offset: 4px;
}

.login-business-logo {
    display: block;
    height: 52px;
    width: auto;
    max-width: min(180px, 65vw);
    object-fit: contain;
    margin: 0 auto .65rem;
}

.login-business-name {
    overflow-wrap: anywhere;
}

.login-brand-header,
.login-main-card {
    flex-shrink: 0;
}

.cifrum-login-subtitle {
    margin-top: .45rem;
    color: #cbd5e1;
    font-size: .85rem;
    font-weight: 400;
    letter-spacing: .025em;
}

.cifrum-sidebar-footer {
    flex: 0 0 auto;
    align-self: stretch;
    margin-top: auto;
    padding-top: .5rem;
    border-top: 1px solid rgba(148, 163, 184, .16);
    text-align: center;
}

/* Último escalón de sidebar_height_fit.js: si ni compactado entra, la firma
   no le roba lugar a los accesos (queda la del pie del dashboard). */
.app-shell-sidebar.is-height-no-signature .cifrum-sidebar-footer {
    display: none;
}

.cifrum-brand--sidebar {
    width: 100%;
    min-height: 44px;
    gap: .65rem;
    color: #cbd5e1;
    text-align: left;
}

.cifrum-brand--sidebar:hover {
    color: #fff;
    background: rgba(255, 255, 255, .045);
}

.cifrum-brand__icon {
    display: block;
    flex: 0 0 26px;
}

.cifrum-brand__signature {
    display: none;
    line-height: 1.25;
}

.cifrum-brand__signature > span {
    display: block;
    font-size: .65rem;
    color: #94a3b8;
}

.cifrum-brand__signature > strong {
    font-size: .85rem;
    font-weight: 600;
}

.app-shell-sidebar.is-expanded .cifrum-brand--sidebar {
    justify-content: flex-start;
    padding-inline: .85rem;
}

.app-shell-sidebar.is-expanded .cifrum-brand__signature {
    display: block;
}

.cifrum-brand--login-footer {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
    align-self: center;
    gap: .45rem;
    margin-top: .85rem;
    padding: .35rem .6rem;
    min-height: 36px;
    color: #cbd5e1;
}

.cifrum-brand--login-footer:hover {
    background: rgba(255, 255, 255, .045);
}

.cifrum-brand--login-footer .cifrum-brand__icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
}

.cifrum-brand--login-footer .cifrum-brand__signature {
    display: flex;
    align-items: baseline;
    gap: .3rem;
}

.cifrum-brand--login-footer .cifrum-brand__signature > span,
.cifrum-brand--login-footer .cifrum-brand__signature > strong {
    font-size: .7rem;
}

.cifrum-brand--page-footer {
    gap: .35rem;
    margin-left: .5rem;
    padding: .15rem .4rem;
    vertical-align: middle;
    color: inherit;
}

.cifrum-brand--page-footer:hover {
    color: #1E63B5;
}

.cifrum-brand--page-footer .cifrum-brand__icon {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
}

.cifrum-brand--page-footer .cifrum-brand__signature {
    display: inline-flex;
    align-items: baseline;
    gap: .25rem;
}

.cifrum-brand--page-footer .cifrum-brand__signature > span,
.cifrum-brand--page-footer .cifrum-brand__signature > strong {
    font-size: inherit;
    color: inherit;
}
