@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');/* Import Nimbus Design System Theme */
/**
 * Nimbus Design System - CSS Theme
 * Auto-generated from Figma Design Tokens
 *
 * This file contains all design tokens as CSS custom properties.
 * The theme automatically adapts to light/dark mode using prefers-color-scheme.
 */
:root {
  color-scheme: light dark;
}
/* Light Theme (Default) */
:root {
  /* Backgrounds - Surface */
  --bg-surface-primary: #FFFFFF;
  --bg-surface-secondary: #EDEFF2;
  --bg-surface-invert: #FFFFFF;
  --bg-surface-invert-2: #EDEFF2;
  --bg-surface-brand: #403456;

  /* Backgrounds - Buttons */
  --bg-button-primary: #403456;
  --bg-button-secondary: #EDEFF2;
  --bg-button-ghost: #FFFFFF;
  --bg-button-border: #D7DAE0;
  --bg-button-disable: #EDEFF2;

  /* Backgrounds - Chips */
  --bg-chip-filled: #EDEFF2;
  --bg-chip-border: #EDEFF2;

  /* Backgrounds - Content Switcher */
  --bg-cs-bg: #EDEFF2;
  --bg-cs-highlight: #FFFFFF;

  /* Backgrounds - Footer */
  --bg-footer-surface-primary: #F6F7F9;
  --bg-footer-border-selected: #232933;

  /* Borders */
  --border-20: #D7DAE0;
  --border-40: #D7DAE0;
  --border-60: #BDC4D1;
  --border-100: #232933;
  --border-brand: #2D1B3F;

  /* Text Colors */
  --text-title: #232933;
  --text-paragraph: #5C6575;
  --text-disable: #BDC4D1;
  --text-invert: #FFFFFF;
  --text-brand: #2D1B3F;

  /* Icon Colors */
  --icon-hero: #171B27;
  --icon-secondary: #5C6575;
  --icon-disable: #828B99;
  --icon-brand: #675D78;
}
/* Dark Theme */
@media (prefers-color-scheme: dark) {
  :root {
    /* Backgrounds - Surface */
    --bg-surface-primary: #232933;
    --bg-surface-secondary: #303640;
    --bg-surface-invert: #464E5C;
    --bg-surface-invert-2: #5C6575;
    --bg-surface-brand: #D8D6DD;

    /* Backgrounds - Buttons */
    --bg-button-primary: #D8D6DD;
    --bg-button-secondary: #303640;
    --bg-button-ghost: #232933;
    --bg-button-border: #464E5C;
    --bg-button-disable: #303640;

    /* Backgrounds - Chips */
    --bg-chip-filled: #303640;
    --bg-chip-border: #303640;

    /* Backgrounds - Content Switcher */
    --bg-cs-bg: #464E5C;
    --bg-cs-highlight: #303640;

    /* Backgrounds - Footer */
    --bg-footer-surface-primary: #303640;
    --bg-footer-border-selected: #BDC4D1;

    /* Borders */
    --border-20: #5C6575;
    --border-40: #464E5C;
    --border-60: #5C6575;
    --border-100: #F6F7F9;
    --border-brand: #675D78;

    /* Text Colors */
    --text-title: #FFFFFF;
    --text-paragraph: #D7DAE0;
    --text-disable: #5C6575;
    --text-invert: #232933;
    --text-brand: #2D1B3F;

    /* Icon Colors */
    --icon-hero: #FFFFFF;
    --icon-secondary: #D7DAE0;
    --icon-disable: #BDC4D1;
    --icon-brand: #675D78;
  }
}
/* Force Light Theme */
[data-theme="light"] {
  color-scheme: light;

  /* Backgrounds - Surface */
  --bg-surface-primary: #FFFFFF;
  --bg-surface-secondary: #EDEFF2;
  --bg-surface-invert: #FFFFFF;
  --bg-surface-invert-2: #EDEFF2;
  --bg-surface-brand: #403456;

  /* Backgrounds - Buttons */
  --bg-button-primary: #403456;
  --bg-button-secondary: #EDEFF2;
  --bg-button-ghost: #FFFFFF;
  --bg-button-border: #D7DAE0;
  --bg-button-disable: #EDEFF2;

  /* Backgrounds - Chips */
  --bg-chip-filled: #EDEFF2;
  --bg-chip-border: #EDEFF2;

  /* Backgrounds - Content Switcher */
  --bg-cs-bg: #EDEFF2;
  --bg-cs-highlight: #FFFFFF;

  /* Backgrounds - Footer */
  --bg-footer-surface-primary: #F6F7F9;
  --bg-footer-border-selected: #232933;

  /* Borders */
  --border-20: #D7DAE0;
  --border-40: #D7DAE0;
  --border-60: #BDC4D1;
  --border-100: #232933;
  --border-brand: #2D1B3F;

  /* Text Colors */
  --text-title: #232933;
  --text-paragraph: #5C6575;
  --text-disable: #BDC4D1;
  --text-invert: #FFFFFF;
  --text-brand: #2D1B3F;

  /* Icon Colors */
  --icon-hero: #171B27;
  --icon-secondary: #5C6575;
  --icon-disable: #828B99;
  --icon-brand: #675D78;
}
/* Force Dark Theme */
[data-theme="dark"] {
  color-scheme: dark;

  /* Backgrounds - Surface */
  --bg-surface-primary: #232933;
  --bg-surface-secondary: #303640;
  --bg-surface-invert: #464E5C;
  --bg-surface-invert-2: #5C6575;
  --bg-surface-brand: #D8D6DD;

  /* Backgrounds - Buttons */
  --bg-button-primary: #D8D6DD;
  --bg-button-secondary: #303640;
  --bg-button-ghost: #232933;
  --bg-button-border: #464E5C;
  --bg-button-disable: #303640;

  /* Backgrounds - Chips */
  --bg-chip-filled: #303640;
  --bg-chip-border: #303640;

  /* Backgrounds - Content Switcher */
  --bg-cs-bg: #464E5C;
  --bg-cs-highlight: #303640;

  /* Backgrounds - Footer */
  --bg-footer-surface-primary: #303640;
  --bg-footer-border-selected: #BDC4D1;

  /* Borders */
  --border-20: #5C6575;
  --border-40: #464E5C;
  --border-60: #5C6575;
  --border-100: #F6F7F9;
  --border-brand: #675D78;

  /* Text Colors */
  --text-title: #FFFFFF;
  --text-paragraph: #D7DAE0;
  --text-disable: #5C6575;
  --text-invert: #232933;
  --text-brand: #2D1B3F;

  /* Icon Colors */
  --icon-hero: #FFFFFF;
  --icon-secondary: #D7DAE0;
  --icon-disable: #BDC4D1;
  --icon-brand: #675D78;
}
:root {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;

  color: var(--text-paragraph);
  background-color: var(--bg-surface-primary);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior-y: none;
}
html {
  overscroll-behavior-y: none;
  height: 100%;
}
a {
  font-weight: 500;
  color: var(--text-brand);
  text-decoration: inherit;
}
a:hover {
  color: var(--text-brand);
  opacity: 0.8;
}
body {
  margin: 0;
  display: flex;
  min-width: 320px;
  height: 100vh;
  overflow-y: auto;
  overscroll-behavior-y: none;
}
h1 {
  font-size: 3.2em;
  line-height: 1.1;
  color: var(--text-title);
}
button {
  border-radius: 8px;
  border: 1px solid var(--bg-button-border);
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: var(--bg-button-primary);
  color: var(--text-invert);
  cursor: pointer;
  transition: opacity 0.25s, border-color 0.25s;
}
button:hover {
  opacity: 0.9;
}
button:focus,
button:focus-visible {
  outline: 2px solid var(--border-brand);
  outline-offset: 2px;
}
button:disabled {
  background-color: var(--bg-button-disable);
  color: var(--text-disable);
  cursor: not-allowed;
  opacity: 0.6;
}
/* Theme variables are automatically applied via @media queries in theme.css */

body, .sidebar, .sidebar * {
    font-family: 'Montserrat', Arial, Helvetica, sans-serif !important;
}
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 298px;
    height: 100vh;
    background: url('/BackgroundImage.png') no-repeat center center/cover !important;
    color: #fff;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    z-index: 1000;
}
.sidebar.collapsed {
    width: 110px;
}
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    min-height: 60px;
}
.sidebar-logo {
    transition: opacity 0.2s;
}
.sidebar-logo img {
    max-height: 40px;
    max-width: 100px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
.sidebar-toggle {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 4px;
    transition: background 0.2s, opacity 0.2s;
    min-width: 36px;
    min-height: 36px;
    flex-shrink: 0;
    outline: none;
}
.sidebar-toggle:focus {
    outline: none;
}
.sidebar-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}
.sidebar.collapsed .sidebar-toggle {
    opacity: 0;
    pointer-events: none;
}
.sidebar.collapsed:hover .sidebar-toggle {
    opacity: 1;
    pointer-events: auto;
}
.sidebar-content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 30px;
}
.sidebar-bottom {
    margin-top: auto;
}
.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar nav ul li {
    margin: 0.5rem 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar-menu-icon {
    min-width: 24px;
    font-size: 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sidebar-menu-text {
    opacity: 1;
    max-width: 200px;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), max-width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-left: 12px;
    font-size: 13px;
    line-height: 140%;
    vertical-align: middle;
}
.sidebar.collapsed .sidebar-menu-text {
    opacity: 0;
    max-width: 0;
    margin-left: 0;
}
.sidebar nav ul li a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease, justify-content 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: transparent;
    text-align: left;
}
.sidebar.collapsed nav ul li a {
    justify-content: center;
    padding: 0.5rem;
}
.sidebar nav ul li a:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
    text-decoration: none;
}
.module-nav {
  position: fixed;
  left: 298px;
  top: 0;
  width: 200px;
  height: 100vh;
  background-color: #f5f5f5;
  border-right: 1px solid #e0e0e0;
  padding-top: 20px;
  overflow-y: auto;
  z-index: 999;
  transition: left 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.module-nav nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.module-nav nav ul li {
  margin: 0;
}

.module-nav nav ul li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s;
  font-size: 14px;
}

.module-nav nav ul li a:hover {
  background-color: #e8e8e8;
}

.module-nav nav ul li a.active {
  background-color: #007bff;
  color: white;
}

.module-nav-icon {
  min-width: 20px;
  font-size: 1.1rem;
  margin-right: 12px;
}

.module-nav-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dashboard {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.dashboard-header {
  margin-bottom: 2rem;
  margin-top: 0;
  padding-top: 0;
}

.dashboard-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text-title);
}

.dashboard-header p {
  font-size: 1rem;
  color: var(--text-paragraph);
  margin: 0;
}

.dashboard-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.empty-state {
  text-align: center;
  max-width: 500px;
  padding: 3rem;
  background: var(--bg-surface-secondary);
  border-radius: 12px;
  border: 2px dashed var(--border-20);
}

.empty-state h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-title);
  margin: 0 0 1rem 0;
}

.empty-state p {
  font-size: 1rem;
  color: var(--text-paragraph);
  line-height: 1.6;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: start;
}

.dashboard-widget {
  background: var(--bg-surface-primary);
  border: 1px solid var(--border-20);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  align-self: start;
}

.dashboard-widget:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.dashboard-widget-small {
  grid-column: span 1;
}

.dashboard-widget-medium {
  grid-column: span 1;
}

.dashboard-widget-large {
  grid-column: span 2;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-20);
  background: var(--bg-surface-secondary);
}

.widget-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-title);
  margin: 0;
}

.widget-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-20);
  background: var(--bg-surface-secondary);
}

.widget-badge {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.35rem 0.85rem;
  background: var(--bg-button-primary);
  color: var(--text-invert);
  border: none;
  border-radius: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.widget-badge:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.widget-badge:active {
  transform: translateY(0);
}

.widget-content {
  padding: 1.5rem;
  min-height: 200px;
}

@media (max-width: 1400px) {
  .dashboard-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-widget-small,
  .dashboard-widget-medium,
  .dashboard-widget-large {
    grid-column: span 1;
  }
}
