/* Miranda Sans — fuente oficial del sistema. Colocar archivos en public/fonts/ */
@font-face {
    font-family: 'Miranda Sans';
    src: url('../public/fonts/miranda-sans.woff2') format('woff2'),
         url('../public/fonts/miranda-sans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Variables globales del sistema */
:root {
    --font-primary: 'Miranda Sans', sans-serif;

    --color-bg: #f4f6f9;
    --color-text: #2d3748;

    --color-sidebar-bg: #1e2a38;
    --color-sidebar-text: #c8d6e5;
    --color-sidebar-active: #ffffff;
    --color-sidebar-hover: rgba(255, 255, 255, 0.08);
    --color-sidebar-border: rgba(255, 255, 255, 0.06);

    --color-topbar-bg: #ffffff;
    --color-topbar-border: #e0e6ed;

    --color-accent: #3b82f6;

    --sidebar-width: 240px;
    --topbar-height: 56px;

    --radius: 6px;
    --transition-speed: 0.2s;
}

/* Reset base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    font-size: 15px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    font-family: var(--font-primary);
    cursor: pointer;
}

/* Estructura raíz del layout */
#app {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

#main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
}

#content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}
