.layout {
  min-height: 100vh;

  .logo {
    padding: 12px 0 0;

    img {
      width: 100%;
    }
  }
}

.layout-menu {
  color: #ffffff;
  font-size: 16px;
  background: #242424;

  .ant-menu-item,
  .ant-menu-submenu {
    margin: 0;
    margin-block: 10px;
    min-height: 40px;
    line-height: 40px;

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

      .ant-menu-title-content {
        color: inherit !important;
      }
      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        bottom: 0;
        width: 3px;
        background: var(--primary-color);
      }
    }
    &-active .ant-menu-title-content {
      color: var(--second-color);
    }
  }
  .ant-menu-submenu {
    .ant-menu-sub {
      background: inherit !important;

      .ant-menu-title-content {
        padding-left: 25px;
      }
      .ant-menu-item {
        margin-inline: 0;
        margin-block: 0;
        width: 100%;
        font-size: 12px;
      }
    }
    &-selected {
      .ant-menu-item-selected {
        border-radius: 0;
        color: #ffffff !important;
        background: rgba(57, 57, 57, 0.5) !important;
      }
    }
    &-title {
      color: inherit !important;
      height: inherit !important;
      line-height: inherit !important;
    }
  }
  .ant-menu-item-icon {
    font-size: 30px !important;
  }
}
