/* Nexora brand marks */
.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    line-height: 1.2;
}

a.brand-mark:hover {
    opacity: 0.92;
}

.brand-mark__icon {
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 0.5rem;
}

.brand-mark__logo {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.brand-mark__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-mark__text strong {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-mark__text small {
    font-size: 0.7rem;
    opacity: 0.75;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 12rem;
}

.brand-mark--sidebar .brand-mark__text strong,
.brand-mark--sidebar .brand-mark__text small {
    color: #fff;
}

.brand-mark--sidebar .brand-mark__text small {
    color: #94a3b8;
    opacity: 1;
}

.brand-mark--guest {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.brand-mark--guest .brand-mark__logo {
    max-width: 220px;
}

.brand-mark--guest .brand-mark__tagline {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.brand-mark--topbar-mobile .brand-mark__text strong,
.brand-mark--compact.brand-mark--topbar-mobile .brand-mark__text strong {
    color: #fff;
    font-size: 0.95rem;
}

.brand-mark--topbar-mobile .brand-mark__icon,
.brand-mark--compact.brand-mark--topbar-mobile .brand-mark__icon {
    width: 1.75rem;
    height: 1.75rem;
}

.sidebar-brand-block {
    margin-bottom: 1.25rem;
    padding-bottom: 0.25rem;
}

.guest-auth-card-wrap {
    max-width: 420px;
}

.password-field-wrap {
    position: relative;
}

.password-field-wrap .form-control {
    padding-right: 2.75rem;
}

.password-field-toggle {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #64748b;
    padding: 0.35rem 0.45rem;
    line-height: 1;
    border-radius: 0.25rem;
    cursor: pointer;
}

.password-field-toggle:hover,
.password-field-toggle:focus-visible {
    color: #334155;
    outline: none;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
