/**
 * Site logo + name on Atomware custom login and managed 404
 */
.atomware-site-brand {
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 22rem;
}

.atomware-site-brand__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    outline-offset: 4px;
}

.atomware-site-brand--has-logo .atomware-site-brand__name {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
    opacity: 0.9;
}

.atomware-site-brand--name-only .atomware-site-brand__name {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

.atomware-site-brand__logo {
    max-width: 200px;
    max-height: 64px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* 404: slightly above dark background */
.error404 .atomware-site-brand--404 .atomware-site-brand__name {
    color: #e4e4e7;
}

.error404 .atomware-site-brand--404.atomware-site-brand--name-only .atomware-site-brand__name {
    font-size: 1.5rem;
}

/* Login: inherit from .atomware-custom-login-page (--atomware-text-primary); avoid theme link color washing out the name */
.atomware-custom-login-page .atomware-site-brand--login .atomware-site-brand__link {
    color: var(--atomware-text-primary, #f9fafb);
}

.atomware-site-brand--login .atomware-site-brand__name {
    color: var(--atomware-text-primary, #f9fafb);
}

.atomware-site-brand--login.atomware-site-brand--name-only .atomware-site-brand__name {
    font-size: 1.5rem;
    font-weight: 600;
}

.atomware-already-in .atomware-site-brand {
    margin-bottom: 1.25rem;
}
