
.layout-container {
  display: block;
}

.navigation-drawer,
.navigation-rail {
  display: none;
}


@media (min-width: 600px) and (max-width: 1199px) {
  .layout-container {
    display: flex;
    min-height: 100vh;
  }

  .navigation-rail {
    position: fixed;
    display: flex;
    flex-direction: column;
    width: 80px;
    height: 100vh;
    padding: var(--size-3);
    background-color: var(--layer-surface);
    color: var(--on-surface);
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    font-kerning: 0.5px;
  }
  .rail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 80px;
    margin-bottom: var(--size-3);
    color: var(--on-surface);
    text-decoration: none;
    .state-layer {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: var(--size-1);
      position: relative;
      height: 32px;
      width: 56px;
      margin-inline: auto;
      border-radius: var(--radius-full);
    }
    span {
      text-align: center;
    }
  }
  .active {
    background: var(--secondary-container);
    color: var(--on-secondary-container);
  }

  .layout-container > main {
    margin-left: 80px;
    flex: 1;
    max-width: calc(100% - 80px);
    padding: var(--size-4);
  }
}

@media (min-width: 1200px) {
  .layout-container {
    display: flex;
    min-height: 100vh;
  }

  .navigation-drawer {
    position: fixed;
    display: flex;
    flex-direction: column;
    font-size: 14px;
    width: 360px;
    height: 100vh;
    padding: var(--size-4) var(--size-2);
    .drawer-header {
      height: 64px;
      padding: var(--size-4);
      display: flex;
      align-items: center;
      border-bottom: 1px solid var(--outline-variant);
    }
    
    .drawer-content {
      flex: 1;
      overflow-y: auto;
      padding: var(--size-4);
    }
    

  }

  .layout-container > main {
    margin-left: 360px;
    flex: 1;
    max-width: calc(100% - 360px);
    padding: var(--size-4);
  }
}
.drawer-item {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 var(--size-4);
  gap: var(--size-3);
  color: var(--on-surface);
  text-decoration: none;
  border-radius: var(--radius-full);
}
.pad-inline-4 {
  padding-inline: var(--size-4);
}
.h-12 {
  height: 48px;
}

.drawer-item:hover {
  background: var(--layer-surface-variant);
}

.drawer-item.active {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

.drawer-icon {
  width: 24px;
  height: 24px;
  color: var(--on-surface-variant);
}