/* Sidebar institution logos — shared panels */
.px-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0 8px;
}

.px-sidebar-brand-multi {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.px-sidebar-brand-logo {
    flex-shrink: 0;
}

.px-sidebar-brand-text {
    min-width: 0;
}

.px-sidebar-brand-title {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}

.px-sidebar-brand-sub {
    display: block;
    margin-top: 4px;
    color: #a8b4c8;
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
}

.panel-dark .px-sidebar-brand-sub,
.panel-dark .px-inst-logo-fallback i,
.panel-dark .px-child-institution-debt span,
.panel-dark .px-password-hint {
    color: #a8b4c8;
}

.px-inst-logo-img,
.px-inst-logo-fallback {
    display: block;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .04);
}

.px-inst-logo-img.is-lg,
.px-inst-logo-fallback.is-lg {
    width: 52px;
    height: 52px;
}

.px-inst-logo-img.is-md,
.px-inst-logo-fallback.is-md {
    width: 40px;
    height: 40px;
}

.px-inst-logo-img.is-sm,
.px-inst-logo-fallback.is-sm {
    width: 34px;
    height: 34px;
    border-radius: 10px;
}

.px-inst-logo-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 12px;
}

.px-inst-logo-fallback.is-lg {
    font-size: 16px;
}

.px-inst-logo-fallback i {
    font-size: 18px;
    color: #8a94a6;
}

.px-inst-logo-switcher {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.px-inst-logo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    transition: border-color .15s, background .15s, transform .15s;
}

.px-inst-logo-btn:hover {
    border-color: rgba(255, 90, 95, .35);
    background: rgba(255, 90, 95, .08);
    transform: translateY(-1px);
}

.px-inst-logo-btn.active {
    border-color: rgba(255, 90, 95, .65);
    background: rgba(255, 90, 95, .16);
    box-shadow: 0 0 0 1px rgba(255, 90, 95, .2);
}

.px-inst-logo-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.sidebar-header .px-sidebar-brand {
    margin-bottom: 2px;
}

.px-child-institution-debt {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
}

.px-child-institution-debt strong {
    color: #fff;
}

.px-child-institution-debt span {
    color: #8a94a6;
    font-size: 13px;
}

.px-child-institution-debt .debt-amount {
    color: #ffb4b7;
    font-weight: 700;
}

.px-child-institution-debt .debt-amount.is-clear {
    color: #8ef0c8;
}

body:not(.panel-dark) .px-sidebar-brand-title {
    color: #1f2937;
}

body:not(.panel-dark) .px-sidebar-brand-sub {
    color: #6b7280;
}

body:not(.panel-dark) .px-inst-logo-fallback {
    color: #374151;
    background: #f3f4f6;
    border-color: #e5e7eb;
}

body:not(.panel-dark) .px-inst-logo-btn {
    border-color: #e5e7eb;
    background: #f9fafb;
}

body:not(.panel-dark) .px-inst-logo-btn.active {
    border-color: rgba(255, 90, 95, .45);
    background: rgba(255, 90, 95, .08);
}

.userPasswordIsPhoneDefault .px-password-note or add to parent-portal.css - move to sidebar-brand.css

.px-password-settings .form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

.px-password-settings .form-group input {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.04);
    color: #fff;
}

body:not(.panel-dark) .px-password-settings .form-group input {
    border-color: #e5e7eb;
    background: #fff;
    color: #1f2937;
}

.px-password-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 194, 75, .12);
    color: #ffd88a;
    margin-bottom: 16px;
    font-size: 13px;
}

body:not(.panel-dark) .px-password-note {
    background: #fffbeb;
    color: #92400e;
}

.px-password-hint {
    color: #8a94a6;
    margin-bottom: 16px;
}

body:not(.panel-dark) .px-password-hint {
    color: #6b7280;
}