/**
 * _auth.css
 * Styles for authentication layout (SignIn, SignUp, ForgotPassword)
 * Extracted from AuthLayout.razor inline styles
 */

/* Base HTML/Body styles for auth pages */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    -webkit-print-color-scheme: dark;
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

strong,
b {
    font-weight: 700;
}

body {
    margin: 0;
    color: #fff;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.00938em;
    background-color: #121212;
}

@media print {
    body {
        background-color: #fff;
    }
}

body::backdrop {
    background-color: #121212;
}

/* Inter font family */
body {
    --font-inter: 'Inter', 'Inter Fallback';
    font-family: var(--font-inter);
    font-size: 1rem;
}

/* Scrollbar styles */
body,
body * {
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
    scrollbar-width: thin;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

body::-webkit-scrollbar,
body *::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

body::-webkit-scrollbar-thumb,
body *::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 20px;
}

body:hover::-webkit-scrollbar-thumb {
    background-color: #151515;
}

*:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Touch feedback */
body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* Media elements */
img,
video {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

:fullscreen video,
:-webkit-full-screen video {
    max-height: 100%;
    max-width: 100%;
}

/* Layout */
html {
    height: 100%;
    overflow: hidden;
    position: relative;
}

body {
    height: 100%;
    overflow: auto;
    position: relative;
    overscroll-behavior-y: contain;
}

/* Auth page specific */
html,
body {
    background: #272727;
    max-height: 100vh;
}

/* Auth layout container */
.auth-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hide tracking pixels */
img[src*="trafficjunky.net"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    top: -9999px !important;
    left: -9999px !important;
    display: none !important;
}
