:root {
    --bg-main: #ffffff;
    --background: #ffffff;
    --background-soft: #f2f0f9;

    --spacing-sm: 0.75rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 3rem;

    --max-width: 80rem;

    --purple-soft: #e3d7ff;
    --purple-verySoft: #aa82ff;
    --purple-main: #936bf0;

    --text-main: #1f2933;
    --text-muted: #6b7280;

    --border-soft: rgba(0, 0, 0, 0.06);

    --header-height: 4rem;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;

    font-family: 'Montserrat', sans-serif;
    color: var(--text-main);

    /*background-image: url("../images/bluebook.8da6a1daaa7b.png");*/
    background-color: #c6c6c6;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.main {
    flex: 1;
    padding-top: var(--header-height);
    max-width: var(--max-width);
    align-self: center;
    width: 100%;
    display: flex;           /* add this */
    flex-direction: column;  /* add this */
}


/* ── Toast notification ── */
.lawx-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(1.5rem);
    opacity: 0;
    pointer-events: none;

    background-color: #1f2933;
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    z-index: 9999;

    transition:
        opacity 0.3s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lawx-toast.toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
