/* Product identity logos (#72). Platform and uploaded artwork share slot bounds and a light plate on dark
   backgrounds. The platform uses the eduadmin.space main wordmark and compact student/campus symbol. */
img.brand-logo {
    object-fit: contain;
}

.logo-lg img.brand-logo-main {
    height: auto;
    max-height: 56px;
    max-width: 100%;
}

.logo-sm img.brand-logo-small {
    height: auto;
    max-height: 48px;
    max-width: 48px;
}

.auth-fluid-right__logo img.brand-logo-guest {
    max-height: 160px;
    max-width: 80%;
}

.leftside-menu img.brand-logo,
[data-bs-theme="dark"] img.brand-logo,
.auth-brand .logo-light img.brand-logo,
.auth-fluid-right img.brand-logo,
.brand-preview-dark img.brand-logo {
    background-color: rgba(255, 255, 255, 0.94);
    border-radius: 0.375rem;
    padding: 4px 6px;
}

/* Settings previews */
.brand-preview {
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 92px;
    padding: 12px;
}

.brand-preview-dark {
    background-color: #313a46;
}

.brand-preview-light {
    background-color: #ffffff;
    border: 1px solid var(--bs-border-color);
}

.brand-preview-expanded {
    width: 260px;
    max-width: 100%;
}

.brand-preview-compact {
    width: 72px;
}

.brand-preview img.brand-logo-main {
    max-height: 56px;
    max-width: 100%;
}

.brand-preview img.brand-logo-small {
    max-height: 48px;
    max-width: 48px;
}

/* #113: sign-in page content. In the side panel the frame fills the panel and scrolls on its own; below the form
   (phones and tablets, where the panel is hidden) it has a bounded height. */
.auth-fluid-right__prelogin {
    position: absolute;
    inset: 2rem;
}

.auth-fluid-right__prelogin iframe,
.prelogin-frame-inline iframe {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
}

.auth-fluid-right__prelogin iframe {
    height: 100%;
}

.prelogin-frame-inline iframe {
    height: 50vh;
    min-height: 240px;
    max-height: 420px;
    border-radius: 0.5rem;
}
