/* ═══════════════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--color-container-bg);
    transition: background 300ms ease, color 300ms ease;
}

/* Auth pages — standalone fixed gradient background */
.gradient-bg-auth {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg,
            var(--gradient-start) 0%,
            var(--gradient-mid) 50%,
            var(--gradient-end) 100%);
}

/* For backwards compat with any page still using these: */
button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    line-height: 1;
}

a {
    text-decoration: none;
    color: inherit;
}
