﻿/* Legacy global rules. The account pages no longer use this file: they are
   styled by Components/Auth/AuthShell.razor.css. What remains is loaded on
   every page (index.html) and other pages rely on it, so each rule is kept
   exactly as it was and names its consumers. Move a rule into its consumer
   before deleting it here. */

/* Site-wide: Montserrat, border-box sizing and no text selection. */
*, *::before, *::after {
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    user-select: none;
}

/* Layout/AutoHideSidebar.razor (class "container"). */
.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1200px;
    min-height: auto;
    margin: 0 auto;
    padding: calc(var(--public-header-height, 70px) + var(--spacing-xxl)) 1rem 3rem;
    gap: 28px;
}

@media (max-width: 600px) {
    .container {
        padding: calc(var(--public-header-height, 70px) + var(--spacing-xxl)) 1rem 2rem;
    }

    /* Site-wide on phones: 16px keeps iOS from zooming into form fields. */
    select,
    textarea {
        height: 48px;
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .container {
        padding: calc(var(--public-header-height, 70px) + var(--spacing-xxl)) 1rem 3rem;
    }
}

@media (min-width: 1200px) {
    .container {
        padding: calc(var(--public-header-height, 70px) + var(--spacing-xxl)) 1rem 4rem;
    }
}
