/*==================================================
MAGUDALI - RESET CSS
Optimized for Fluent Design
==================================================*/

*,
*::before,
*::after {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

    -webkit-font-smoothing: antialiased;

    -moz-osx-font-smoothing: grayscale;

    text-rendering: optimizeLegibility;

}

body {

    min-height: 100vh;

    font-family: var(--font-family);

    background: var(--fluent-bg-base);

    color: var(--fluent-text-primary);

    overflow-x: hidden;

    font-size: 14px;

    line-height: 1.5;

}

img,

picture {

    display: block;

    max-width: 100%;

}

a {

    text-decoration: none;

    color: inherit;

}

ul {

    list-style: none;

}

button {

    border: none;

    background: none;

    font: inherit;

    color: inherit;

    cursor: pointer;

}

input,

textarea,

select {

    font: inherit;

    outline: none;

    border: none;

    background: none;

}

section {

    position: relative;

}

h1,
h2,
h3,
h4,
h5,
h6 {

    font-weight: 600;

    line-height: 1.2;

}

p {

    line-height: 1.6;

}

::selection {

    background: var(--fluent-accent);

    color: var(--fluent-text-on-accent);

}

::-webkit-scrollbar {

    width: 8px;

}

::-webkit-scrollbar-track {

    background: var(--fluent-bg-base);

}

::-webkit-scrollbar-thumb {

    background: var(--fluent-bg-layer3);

    border-radius: 4px;

}

::-webkit-scrollbar-thumb:hover {

    background: var(--fluent-bg-layer4);

}

/* Remove default focus outline - Fluent uses custom focus */
:focus-visible {

    outline: 2px solid var(--fluent-accent);

    outline-offset: 2px;

}
