@font-face {
  font-family: 'Google Sans Code';
  src: url('/static/assets/fonts/GoogleSansCode-VariableFont.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Google Sans Flex';
  src: url('/static/assets/fonts/GoogleSansFlex-VariableFont.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}


:root {
  /* Old Color Palette */
  --color-background: #2c2e2e;
  --color-surface: #262a35;
  --color-accent: #a3c9f7;
  --color-accent-strong: #7ea7d8;
  --color-text: #e4e8ef;
  --color-text-muted: #a0aec0;
  --color-border: #3a4252;
  --color-success: #4caf50;
  --color-failed: #da6868;
  --color-warning: #f0ae58;

  /* Color Palette */
  --color--ghost-white: #f8f8ff;
  --color-old-lace: #fdf5e6;
  --color-alabaster: #fafafa;

  /* Glassmorphism Colors */
  --glass-bg-primary: rgba(40, 40, 40, 0.95);
  --glass-bg-secondary: rgba(30, 30, 30, 0.8);
  --glass-bg-tertiary: rgba(33, 33, 33, 0.8);
  --glass-bg-light: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-border-strong: rgba(255, 255, 255, 0.2);

  /* Text Colors */
  --text-primary: rgba(255, 255, 255, 0.9);
  --text-secondary: rgba(255, 255, 255, 0.8);
  --text-tertiary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-subtle: rgba(255, 255, 255, 0.5);

  /* Brand Colors */
  --brand-primary: #60a5fa;
  --brand-primary-dark: #3b82f6;
  --brand-success: #10b981;
  --brand-success-dark: #059669;
  --brand-warning: #f59e0b;
  --brand-warning-dark: #d97706;
  --brand-error: #ef4444;
  --brand-purple: #8b5cf6;
  --brand-purple-dark: #7c3aed;

  /* Transition Effects */
  --transition-fast: 0.2s ease;
  --transition-standard: 0.3s ease;
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.monospace {
  font-family: "Google Sans Code", monospace !important;
}

.smd-layout_header-branding a {
  font-family: "Google Sans Flex", sans-serif !important;
  font-optical-sizing: auto !important;
  font-weight: 1000 !important;
  font-style: normal !important;
  font-variation-settings:
    "wdth" 103,
    "GRAD" 0,
    "ROND" 100;
  transition: color 0.3s ease, transform 0.3s ease;
}

.smd-component_button-flex {
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings:
      "wdth" 100,
      "GRAD" 0,
      "ROND" 100;
}

.smd-component_button-flex .material-symbols-outlined {
  margin-right: 8px;
}

.smd-component_button-inner {
  display: flex;
  align-items: center;
}

.smd-layout_header-title:hover {
  transform: scale(1.03);
  transition: color 0.3s ease, transform 0.3s ease;
}

.smd-layout_header {
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    margin 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.6s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: transform, box-shadow, border-radius, margin;
}

.smd-layout_header--floating {
  transform: translateY(-8px) scale(0.985) translateZ(0);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.12), 0 10px 35px rgba(0, 0, 0, 0.08),
    0 4px 15px rgba(0, 0, 0, 0.05);
  border-radius: 24px;
  margin: 12px 16px 0 16px;
  backdrop-filter: blur(24px) saturate(1.3) brightness(1.05);
  -webkit-backdrop-filter: blur(24px) saturate(1.3) brightness(1.05);
}

/* Liquid Glass Animation States */
.smd-layout_header--transitioning {
  transform: translateY(-4px) scale(0.9925) scaleX(1.01) translateZ(0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09), 0 5px 15px rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  margin: 7px 10px 0 10px;
  backdrop-filter: blur(18px) saturate(1.25) brightness(1.025);
  -webkit-backdrop-filter: blur(18px) saturate(1.25) brightness(1.025);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    border-radius 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.3s cubic-bezier(0.25, 1, 0.5, 1),
    backdrop-filter 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.smd-layout_header--transitioning-back {
  transform: translateY(-4px) scale(0.9925) scaleX(1.01) translateZ(0);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.09), 0 5px 15px rgba(0, 0, 0, 0.06);
  border-radius: 18px;
  margin: 7px 10px 0 10px;
  backdrop-filter: blur(18px) saturate(1.25) brightness(1.025);
  -webkit-backdrop-filter: blur(18px) saturate(1.25) brightness(1.025);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.smd-layout_header--snap-back {
  transform: translateY(0) scale(1) scaleX(1) translateZ(0);
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-radius 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    margin 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    backdrop-filter 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.smd-layout_header-branding img {
  width: 60px !important;
  transition: transform 0.2s ease, filter 0.3s ease;
}

.smd-layout_header-branding img:hover {
  transform: scale(1.1) rotate(2deg);
  filter: brightness(1.1);
}

.body-gradient {
  background: linear-gradient(45deg, var(--color-background), var(--color-surface), var(--color-background));
  background-size: 200% 200%;
  animation: gradient-animation 25s ease infinite;
  min-height: 80vh;
}

@keyframes gradient-animation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.smd-layout_navbar {
  margin-left: 64px !important;
}

.smd-layout_navbar a {
  margin-bottom: 1px;
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
      "wdth" 100,
      "GRAD" 0,
      "ROND" 100;
}

.smd-layout_navbar-profile-name {
  font-family: "Google Sans Flex", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
  font-variation-settings:
      "wdth" 100,
      "GRAD" 0,
      "ROND" 100;
}



.smd-layout_navbar a span.material-symbols-outlined {
  vertical-align: middle;
  margin-right: 6px;
}

.smd-component_dropdown-content-main p {
  margin-left: 12px;
  margin-top: 1px;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 13px;
  color: var(--text-secondary);
}