/* =========================================================
   NexPanel - BASE
   Reset și stiluri implicite pentru elementele HTML.
   ========================================================= */
@layer base {

    * {
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }

    html {
        min-height: 100%;
    }

    body {
        min-width: 320px;
        min-height: 100vh;
        background: var(--bg-main);
        color: var(--text-main);
        font-family: var(--font);
        font-size: var(--fs-lg);
        line-height: 1.5;
        -webkit-font-smoothing: antialiased;
    }

    button,
    input,
    select,
    textarea {
        font-family: inherit;
    }

    button {
        cursor: pointer;
    }

    a {
        color: inherit;
    }

    code,
    .mono {
        font-family: var(--font-mono);
    }
}

/* atributul hidden ascunde întotdeauna elementul, indiferent de display-ul din alte reguli */
[hidden] {
    display: none !important;
}
