﻿/* base.css ───── Reset & global ───── */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
}

html {
    overflow-y: scroll;
    overflow-anchor: none;
}

/* ───── Layout ───── */

.page-container {
    padding: 1.5rem;
    width: 100%;
    max-width: 960px;
}

.main-content-wrapper {
    padding-top: 0.75rem;
    margin-top: 10px;
}

.mud-main-content {
    display: block !important;
    align-items: unset !important;
    justify-content: unset !important;
}

/* ───── Public layout ───── */

.public-layout {
    min-height: 100vh;
}

/* ───── Brand logo (programmatic GoStocktake wordmark) ─────
   Used by <AppLogo>. Mirrors the loader markup so the wordmark looks identical
   between first-paint loader and the rendered app. Scope §11: Manrope 500, tight
   tracking, near-black, with a lime underline under "Go" only. Light background —
   no dark rectangle. */

.brand-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
    user-select: none;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    letter-spacing: -1.5px;
    font-size: 1.15rem;
    color: #111111;
}

    .brand-logo .brand-go {
        border-bottom: 2px solid #D9E021; /* lime accent under "Go" only */
        padding-bottom: 1px;
    }

    .brand-logo .brand-stocktake {
        color: #111111;
    }

    .brand-logo.brand-logo-lg {
        font-size: 1.9rem;
    }

        .brand-logo.brand-logo-lg .brand-go {
            border-bottom-width: 3px;
            padding-bottom: 2px;
        }

/* ───── Section label ───── */

.section-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: block;
    margin-bottom: 0.75rem;
}

/* ───── Empty state ───── */

.empty-state {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
    padding: 1rem 0;
    text-align: center;
}

/* ───── Cursor utility ───── */

.cursor-pointer {
    cursor: pointer;
}

/* ───── Legal links ───── */

.legal-link.legal-link {
    color: #1565c0 !important;
    text-decoration: underline;
}

    .legal-link.legal-link:hover {
        color: #0d47a1 !important;
    }
