.layout {
  min-height: 100vh;

  .logo {
    padding: 20px 20px 0;

    img {
      width: 100%;
    }
  }
}

.layout-menu {
  color: #ffffff;
  font-size: 16px;
  background: var(--theme-color);

  .ant-menu-item,
  .ant-menu-submenu {
    margin: 0;
    margin-inline: 10px;
    margin-block: 10px;
    width: calc(100% - 20px);
    min-height: 50px;
    line-height: 50px;

    &-icon {
      font-size: 20px !important;
    }
  }
  .ant-menu-item {
    &-selected {
      color: #ffffff !important;
      background: var(--primary-color) !important;

      .ant-menu-title-content {
        color: inherit !important;
      }
    }
    &-active .ant-menu-title-content {
      color: var(--primary-color);
    }
  }
  .ant-menu-submenu {
    .ant-menu-sub {
      border-radius: 8px;

      .ant-menu-item {
        margin-inline: 0;
        margin-block: 0;
        width: 100%;
      }
    }
    &-selected {
      > .ant-menu-submenu-title {
        color: var(--primary-color) !important;
      }

      .ant-menu-item-selected {
        color: #ffffff !important;
        background: var(--primary-color) !important;
      }
    }
    &-title {
      color: inherit !important;
      height: inherit !important;
      line-height: inherit !important;
    }
  }
}
