:root {
    --sidebar-width: 256px;
    --brand-50: #eff6ff;
    --brand-100: #dbeafe;
    --brand-500: #3b82f6;
    --brand-600: #2563eb;
    --brand-700: #1d4ed8;
    --brand-900: #1e3a8a;
}

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

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: "Segoe UI", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Roboto", "Helvetica Neue", Arial, sans-serif;
    background-color: #f8fafc;
    color: #0f172a;
}

body {
    overflow: hidden;
}

#moduleFrame {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: var(--sidebar-width);
    border: none;
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    background-color: #fff;
}

.nav-link {
    transition: background-color 120ms ease, color 120ms ease;
    border-radius: 0.75rem;
}

.nav-link svg {
    flex-shrink: 0;
}

.nav-link.active {
    background-color: var(--brand-50) !important;
    color: var(--brand-700) !important;
}

.nav-link.active svg {
    color: var(--brand-600);
}

.brand-initial {
    background-color: var(--brand-600);
    color: #fff;
    font-weight: 600;
}

@media (max-width: 1024px) {
    #moduleFrame {
        left: 0;
        width: 100%;
    }
}
