/* WasteWhere Customer Portal auth-shell brand variables. Layout and form primitives live in Core.Portal.Chrome. */

.transform-logo-link {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
    min-width: 0;
}

.ww-portal-brand-mark {
    display: block;
    flex: 0 0 auto;
    height: 1.75rem;
    width: 1.75rem;
}

.core-appbar-brand-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#blazor-error-ui {
    background: #fff3cd;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.ww-auth-body {
    font-family: var(--portal-font-family);
    min-height: 100vh;
}

.portal-public-panel {
    position: relative;
}

.visually-hidden {
    clip: rect(0 0 0 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

.portal-auth-language-dock {
    position: absolute;
    right: 32px;
    top: 32px;
}

.portal-auth-language-select {
    background: var(--portal-public-surface);
    border: 1px solid var(--portal-border);
    border-radius: 6px;
    color: var(--portal-muted);
    cursor: pointer;
    font: inherit;
    font-size: 0.8rem;
    max-width: 190px;
    min-width: 0;
    padding: 6px 28px 6px 8px;
}

.portal-auth-language-form {
    min-width: 0;
}

.portal-auth-footer {
    align-items: center;
    color: var(--portal-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.72rem;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 24px;
    text-align: right;
}

.portal-auth-footer a {
    color: inherit;
    text-decoration: none;
}

.portal-auth-footer a:hover {
    color: var(--portal-primary-strong);
    text-decoration: underline;
}

.login-muted {
    color: var(--portal-muted);
    margin: 0;
}

.login-identity-context {
    border: 1px solid var(--portal-border);
    border-radius: 6px;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
}

.login-identity-context span {
    color: var(--portal-muted);
    font-size: 0.75rem;
    line-height: 1.2;
}

.login-identity-context strong {
    color: var(--portal-ink);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.login-identity-context a {
    color: var(--portal-muted);
    font-size: 0.82rem;
    justify-self: start;
    text-decoration: none;
}

.login-identity-context a:hover {
    color: var(--portal-primary-strong);
    text-decoration: underline;
}

.auth-privacy-page h2 {
    color: var(--portal-ink);
    font-size: 0.95rem;
    margin: 0 0 6px;
}

.auth-privacy-sections {
    display: grid;
    gap: 14px;
    margin-top: 24px;
}

.auth-privacy-sections section {
    border-top: 1px solid var(--portal-border);
    padding-top: 14px;
}

@media (max-width: 720px) {
    .portal-auth-language-dock {
        margin: -8px 0 24px;
        position: static;
    }

    .portal-auth-preferences {
        width: 100%;
    }

    .portal-auth-language-form {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
    }

    .portal-auth-language-select {
        max-width: none;
        width: 100%;
    }

    .portal-auth-footer {
        justify-content: flex-start;
        text-align: left;
    }
}

.ww-sample-badge {
    background: var(--portal-warning-surface, #fff9e9);
    border: 1px solid var(--portal-warning, #d5b35f);
    border-radius: 4px;
    color: var(--portal-warning-strong, #5f4600);
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    margin-left: 0.35rem;
    padding: 0.15rem 0.35rem;
    vertical-align: middle;
}
