/* Common variables and theme tokens for Auth pages */
:root {
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --green: #16a34a;
    --green-dark: #15803d;
    --gray-bg: #f1f5f9;
    --border: #e2e8f0;
    --text: #1e293b;
    --muted: #64748b;
    --accent: #4f7dff;
    --surface: #161b24;
    --surface2: #1c2333;
    --danger: #ff5a6a;
    --success: #3ecf8e;
}

/* Base Body Styles */
body {
    background: url('/images/bg-img.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
    pointer-events: none;
}

/* Toast payload styling */
#__toastPayload {
    display: none;
}

/* Loader and Spinner styling */
#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(13,17,23,0.65);
    backdrop-filter: blur(6px);
    z-index: 999999;
    align-items: center;
    justify-content: center;
}

#loader.active {
    display: flex;
}

.modern-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255,255,255,0.15);
    border-top: 3px solid #4f7dff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Shared Logo Image Styling */
.logo-img {
    width: 42%;
    height: 74%;
}
