@font-face {
    font-family: 'Switzer';
    src: url('../Switzer-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Switzer', sans-serif;
}

html.dark body {
    background-image: url('../img/auth-backstage-bg-desktop.svg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    background-color: #111827; /* Fallback dark color */
    min-height: 100vh;
    width: 100vw;
}

/* Mobile adjustments */
@media (max-width: 1024px) {
    html.dark body {
        background-position: center top;
        background-attachment: scroll;
    }
}

/* Overlay for better content readability in dark mode */
html.dark body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
}