:root {
    --font-size: 16px;
    --font-family: Segoe UI, -apple-system, BlinkMacSystemFont, Roboto, Oxygen, Ubuntu, Cantarell, Helvetica Neue, trebuchet MS, Arial, sans-serif;
    --page-background: #fff;
    --mobile-width: 450px;
  }
  
  * {
    box-sizing: border-box;
  }
  .material-symbols-outlined {
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  }
  html {
    font-size: var(--font-size);
    height: 100%;
  }
  
  body {
    --theme-color: #396; 

    --background-mix: 20%;
    --text-color: color-mix(in oklab, var(--theme-color) 50%, black 70%);
    --text-color: color-mix(in srgb, var(--theme-color) 20%, rgba(0,0,0,0.9));
    --text-color: color-mix(in oklab, var(--theme-color) 30%, rgba(0,0,0,0.9));
    --body-bg-start-color: color-mix(in oklab, var(--theme-color)  var(--background-mix), white);
    --body-bg-start-color: color-mix(in lab, var(--theme-color)  var(--background-mix), white);

    --body-bg-end-color: rgb(255, 255, 255, 0);
    --input-background:  color-mix(in oklab,var(--theme-color) 5%, black 1%);
    margin: 0;
    padding: 0;
    color: var(--text-color);
    background: #fff no-repeat fixed;
    background-image: linear-gradient(-130deg, var(--body-bg-start-color), var(--body-bg-end-color));
    font-family: var(--font-family);
    line-height: 1.69;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-numeric: tabular-nums;
  }
  
  h1,
  h2,
  h3,
  h4,
  h5 {
    margin: 0;
    padding: 0.5rem 0 0;
    font-weight: 500;
    font-family: Libre Baskerville, Merriweather, Georgia, serif;
  }

  strong {
    font-weight: 500;
  }
  
  input:disabled {
    background-color: #fff;
    color: #999;
    border: none;
  }
  
  .padding-top {
    padding-top: 1rem;
  }
  
  .padding-bottom {
    padding-bottom: 1rem;
  }
  
  .padding {
    padding: 1rem;
  }
  
  .app {
    min-height: calc(100vh - 100px);
  }

  .app-header .header,
  .app-footer .footer,
  .app-content .content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
  }

  .app-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);;
  }

  .app-footer {
    background-image: linear-gradient(43deg, #4158D0 0%, #C850C0 46%, #FFCC70 100%);
    color:rgba(255, 255, 255,0.8);
  }

  .app-footer a {
    color: inherit;
    text-decoration: none;
  }
  
  .grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
  }
  
  .grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
  }
  
  .grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .grid-cols-2-1 {
    display: grid;
    grid-template-columns: 2fr 1fr;
  }
  
  .grid-gap {
    grid-gap: 1rem;
  }
  
  .grid-no-gap {
    grid-gap: 0;
  }

  @media (width < 450px) {
    .grid-2,
    .grid-3,
    .grid-4 {
      grid-template-columns: 1fr;
      gap: 0;
    }
  }
  
  small, 
  .small {
    font-size: 0.75rem;
  }
  
  
  label {
    display: block;
    padding: 0.5rem 0;
  }
  
  label select,
  label input {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: none;
    border-bottom: 0.5px solid color-mix(in srgb, var(--theme-color) 12%, black 12%);
    font-size: inherit;
    font-family: inherit;
    background: var(--input-background);
  }

  label textarea {
    display: block;
    width: 100%;
    padding: 0.5rem;
    border: none;
    min-height: 8rem;
    border-bottom: 0.5px solid color-mix(in srgb, var(--theme-color) 12%, black 12%);
    font-size: inherit;
    font-family: inherit;
    background: var(--input-background);
  }
  
  .checkbox-label input {
    display: inline-block !important;
    width: auto;
  }
  
  .button,
  button {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 0px solid #ccc;
    border-radius: 4rem;
    font-size: inherit;
    cursor: pointer;
    background-image: linear-gradient(to right, rgba(255, 255, 255,0.3) 0%, rgba(0,0,0,0.1) 51%, rgba(255,255,255,0.3) 100%), linear-gradient(45deg, var(--theme-color), var(--theme-color));
    color: white;
    
    border-radius: 5rem;
    transition: 0.5s;
    background-size: 200% auto;
    text-decoration: none;
    line-height: inherit;
  }
  
  .button:hover,
  button:hover {
    background-position: center center;
    text-decoration: none;
  }

  .button:active,
  button:active {
    transform: scale(0.95);
  }
  